diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-09-30 17:55:14 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-09-30 17:55:14 +0000 |
commit | 0938a42440cc82ce8d0cb064840c258c863714ab (patch) | |
tree | 19f58c31e65226d85c76d96647a6e300f7995c10 /libs/gtkmm2ext/bindings.cc | |
parent | 15e390ebe5611b5443eb1fb57631826389ffd021 (diff) |
fixes for 98% of all the warnings/errors reported by OS X gcc on tiger
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/gtkmm2ext/bindings.cc')
-rw-r--r-- | libs/gtkmm2ext/bindings.cc | 12 |
1 files changed, 6 insertions, 6 deletions
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<Action> what) { - KeybindingMap* kbm; + KeybindingMap* kbm = 0; switch (op) { case Press: @@ -269,7 +269,7 @@ Bindings::add (KeyboardKey kb, Operation op, RefPtr<Action> 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<Action> what) { - MouseButtonBindingMap* bbm; + MouseButtonBindingMap* bbm = 0; switch (op) { case Press: @@ -342,7 +342,7 @@ Bindings::add (MouseButton bb, Operation op, RefPtr<Action> what) void Bindings::remove (MouseButton bb, Operation op) { - MouseButtonBindingMap* bbm; + MouseButtonBindingMap* bbm = 0; switch (op) { case Press: |