diff --git a/src/app/ui/keyboard_shortcuts.cpp b/src/app/ui/keyboard_shortcuts.cpp index fff165d96..1ecd93cea 100644 --- a/src/app/ui/keyboard_shortcuts.cpp +++ b/src/app/ui/keyboard_shortcuts.cpp @@ -68,13 +68,6 @@ namespace { return shortcut; } - bool bool_attr_is_true(const TiXmlElement* elem, const char* attribute_name) - { - const char* value = elem->Attribute(attribute_name); - - return (value != NULL) && (strcmp(value, "true") == 0); - } - std::string get_user_friendly_string_for_keyaction(app::KeyAction action) { for (int c=0; actions[c].name; ++c) { diff --git a/src/app/ui/palette_view.cpp b/src/app/ui/palette_view.cpp index aea9936f0..c5be68060 100644 --- a/src/app/ui/palette_view.cpp +++ b/src/app/ui/palette_view.cpp @@ -455,7 +455,6 @@ void PaletteView::onAppPaletteChange() gfx::Rect PaletteView::getPaletteEntryBounds(int index) { gfx::Rect bounds = getClientBounds(); - div_t d = div(Palette::MaxColors, m_columns); int cols = m_columns; int col = index % cols; int row = index / cols; diff --git a/src/app/ui/status_bar.cpp b/src/app/ui/status_bar.cpp index bc5fe3087..cbdbbeb3f 100644 --- a/src/app/ui/status_bar.cpp +++ b/src/app/ui/status_bar.cpp @@ -160,7 +160,6 @@ StatusBar::StatusBar() // Construct the commands box { Box* box1 = new Box(JI_HORIZONTAL); - Box* box2 = new Box(JI_HORIZONTAL | JI_HOMOGENEOUS); Box* box4 = new Box(JI_HORIZONTAL); m_frameLabel = new Label("Frame:");