Fix a couple of uninitialised variables (should fix #4059).

git-svn-id: svn://localhost/ardour2/branches/3.0@9582 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-05-25 10:17:16 +00:00
parent b38b5fd59b
commit c07ed4b848
3 changed files with 3 additions and 2 deletions

View File

@ -204,6 +204,8 @@ ARDOUR_UI::ARDOUR_UI (int *argcp, char **argvp[])
ui_config = new UIConfiguration();
theme_manager = new ThemeManager();
key_editor = 0;
editor = 0;
mixer = 0;
editor = 0;
@ -217,6 +219,7 @@ ARDOUR_UI::ARDOUR_UI (int *argcp, char **argvp[])
_will_create_new_session_automatically = false;
add_route_dialog = 0;
route_params = 0;
bundle_manager = 0;
rc_option_editor = 0;
session_option_editor = 0;
location_ui = 0;

View File

@ -364,7 +364,6 @@ Editor::Editor ()
select_new_marker = false;
rhythm_ferret = 0;
layering_order_editor = 0;
_bundle_manager = 0;
no_save_visual = false;
resize_idle_id = -1;

View File

@ -1980,7 +1980,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
void timecode_snap_to_internal (framepos_t& first, int32_t direction = 0, bool for_mark = false);
RhythmFerret* rhythm_ferret;
BundleManager* _bundle_manager;
void fit_tracks (TrackViewList &);
void fit_selected_tracks ();