From e8ca1392465b3c3b3b927480b7e42bd3300debdf Mon Sep 17 00:00:00 2001 From: KOLANICH Date: Sat, 10 Jun 2023 22:49:34 +0000 Subject: [PATCH] fix: Remove unused member variable in HexEditor class (#1129) Fixes `error: private field 'm_grayZeroHighlighter' is not used [-Werror,-Wunused-private-field]` --- plugins/builtin/include/ui/hex_editor.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/builtin/include/ui/hex_editor.hpp b/plugins/builtin/include/ui/hex_editor.hpp index 4efc88485..36adceb7f 100644 --- a/plugins/builtin/include/ui/hex_editor.hpp +++ b/plugins/builtin/include/ui/hex_editor.hpp @@ -193,7 +193,6 @@ namespace hex::plugin::builtin::ui { u16 m_bytesPerRow = 16; ContentRegistry::HexEditor::DataVisualizer *m_currDataVisualizer; - u32 m_grayZeroHighlighter = 0; char m_unknownDataCharacter = '?'; bool m_shouldJumpToSelection = false; @@ -232,4 +231,4 @@ namespace hex::plugin::builtin::ui { std::function m_tooltipCallback = defaultTooltipCallback; }; -} \ No newline at end of file +}