diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-26 17:58:20 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-26 17:58:20 +0000 |
commit | 7031e1249512474af94b4765a634b8dcfa9a87d7 (patch) | |
tree | d6adc54472a7feb9d7dcc36e52953fb16260b696 | |
parent | c147f707c1cf0ef6c085b32b6e15bc09dbec986c (diff) |
Fix uninitialised variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@12944 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/route.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index af30a112db..62bb2d0933 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -297,7 +297,7 @@ Route::set_order_key (RouteSortOrderKey key, int32_t n) * monitor because they are considered "external" to * the ordering of other routes. */ - + if ((!is_master() && !is_monitor()) || x->first != MixerSort) { if (x->second != n) { x->second = n; @@ -2130,7 +2130,7 @@ Route::set_state (const XMLNode& node, int version) } else if (keyname == "editor") { sk = EditorSort; } else { - RouteSortOrderKey sk = (RouteSortOrderKey) string_2_enum (remaining.substr (0, equal), sk); + sk = (RouteSortOrderKey) string_2_enum (remaining.substr (0, equal), sk); } set_order_key (sk, n); |