diff options
author | Robin Gareus <robin@gareus.org> | 2015-09-06 21:54:54 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-09-06 21:54:54 +0200 |
commit | fc079a0ea3e2b8f16b8360a665d7d441fc3675a3 (patch) | |
tree | 92bd831d7ec19a412709b8da43b99bcda93d7fd7 | |
parent | ebe15849d41c6cfa6a2ca889dabd5aef39981bae (diff) |
initialize some uninitialized variables.
really just nitpicking (keep valgrind clean).
-rw-r--r-- | gtk2_ardour/editor.cc | 1 | ||||
-rw-r--r-- | gtk2_ardour/engine_dialog.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 98be85eab7..197103a561 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -380,6 +380,7 @@ Editor::Editor () region_edit_menu_split_item = 0; temp_location = 0; leftmost_frame = 0; + mouse_mode = MouseObject; current_stepping_trackview = 0; entered_track = 0; entered_regionview = 0; diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc index b8a95f176b..4c70823d0f 100644 --- a/gtk2_ardour/engine_dialog.cc +++ b/gtk2_ardour/engine_dialog.cc @@ -100,6 +100,7 @@ EngineControl::EngineControl () , _desired_sample_rate (0) , started_at_least_once (false) , queue_device_changed (false) + , _have_control (true) , block_signals(0) { using namespace Notebook_Helpers; |