Remove unused variables/functions

This commit is contained in:
David Capello 2015-04-09 11:36:09 -03:00
parent 1199c51187
commit 45f4d30450
3 changed files with 0 additions and 9 deletions

View File

@ -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) {

View File

@ -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;

View File

@ -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:");