X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fgtkmm2ext%2Fbindings.cc;h=92004e4d2707980fdc12d31f89bbda78b183e56a;hb=0938a42440cc82ce8d0cb064840c258c863714ab;hp=6002f16371814dd9d12f07c10ef069bc805196d1;hpb=15e390ebe5611b5443eb1fb57631826389ffd021;p=ardour.git diff --git a/libs/gtkmm2ext/bindings.cc b/libs/gtkmm2ext/bindings.cc index 6002f16371..92004e4d27 100644 --- a/libs/gtkmm2ext/bindings.cc +++ b/libs/gtkmm2ext/bindings.cc @@ -217,7 +217,7 @@ Bindings::set_action_map (ActionMap& am) bool Bindings::activate (KeyboardKey kb, Operation op) { - KeybindingMap* kbm; + KeybindingMap* kbm = 0; switch (op) { case Press: @@ -244,7 +244,7 @@ Bindings::activate (KeyboardKey kb, Operation op) void Bindings::add (KeyboardKey kb, Operation op, RefPtr what) { - KeybindingMap* kbm; + KeybindingMap* kbm = 0; switch (op) { case Press: @@ -269,7 +269,7 @@ Bindings::add (KeyboardKey kb, Operation op, RefPtr what) void Bindings::remove (KeyboardKey kb, Operation op) { - KeybindingMap* kbm; + KeybindingMap* kbm = 0; switch (op) { case Press: @@ -290,7 +290,7 @@ Bindings::remove (KeyboardKey kb, Operation op) bool Bindings::activate (MouseButton bb, Operation op) { - MouseButtonBindingMap* bbm; + MouseButtonBindingMap* bbm = 0; switch (op) { case Press: @@ -317,7 +317,7 @@ Bindings::activate (MouseButton bb, Operation op) void Bindings::add (MouseButton bb, Operation op, RefPtr what) { - MouseButtonBindingMap* bbm; + MouseButtonBindingMap* bbm = 0; switch (op) { case Press: @@ -342,7 +342,7 @@ Bindings::add (MouseButton bb, Operation op, RefPtr what) void Bindings::remove (MouseButton bb, Operation op) { - MouseButtonBindingMap* bbm; + MouseButtonBindingMap* bbm = 0; switch (op) { case Press: