projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* radically cleaned up / refactored midi_clock_slave.cc
[ardour.git]
/
libs
/
ardour
/
session_state.cc
diff --git
a/libs/ardour/session_state.cc
b/libs/ardour/session_state.cc
index cb4a9e5813f25b61c7592b24ca4e513b82031797..560143db97293689cf5cac524ced4abad6f4f220 100644
(file)
--- a/
libs/ardour/session_state.cc
+++ b/
libs/ardour/session_state.cc
@@
-768,10
+768,8
@@
Session::restore_state (string snapshot_name)
int
Session::load_state (string snapshot_name)
{
- if (state_tree) {
- delete state_tree;
- state_tree = 0;
- }
+ delete state_tree;
+ state_tree = 0;
state_was_pending = false;