From 654e3c7382100439b9a5c5d82f12e8826cb31c79 Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Mon, 29 Jul 2019 09:19:53 +0200 Subject: Remove unneded asignaments --- src/ui/desktop/menubar.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/ui/desktop') 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; } } } -- cgit v1.2.3