summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-07-29 07:19:53 +0000
committerJabiertxof <jabier.arraiza@marker.es>2019-07-29 07:20:16 +0000
commit654e3c7382100439b9a5c5d82f12e8826cb31c79 (patch)
tree89e6953c78800a63c169477ba305c9d020fbb17d /src
parentfix a clang marked issue (diff)
downloadinkscape-654e3c7382100439b9a5c5d82f12e8826cb31c79.tar.gz
inkscape-654e3c7382100439b9a5c5d82f12e8826cb31c79.zip
Remove unneded asignaments
Diffstat (limited to 'src')
-rw-r--r--src/ui/desktop/menubar.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ui/desktop/menubar.cpp b/src/ui/desktop/menubar.cpp
index 767d43d41..9340c682a 100644
--- a/src/ui/desktop/menubar.cpp
+++ b/src/ui/desktop/menubar.cpp
@@ -68,7 +68,6 @@ static void item_activate(Gtk::MenuItem *menuitem, SPAction *action)
}
lastverb = action->verb->get_code();
sp_action_perform(action, nullptr);
- lastverb = 0;
}
static void toggle_checkmenu(unsigned int emitting_verb, bool value)
@@ -81,7 +80,6 @@ static void toggle_checkmenu(unsigned int emitting_verb, bool value)
}
lastverb = emitting_verb;
menu.second->property_active() = value;
- lastverb = 0;
}
}
}