summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorHans Fugal <hans@fugal.net>2006-08-12 21:55:04 +0000
committerHans Fugal <hans@fugal.net>2006-08-12 21:55:04 +0000
commit8e1c9186cbe02481f3cf7986ccd4bbe0fea6af65 (patch)
tree2a365406914dcdcd34fc8a0b41d070b528f8a0fe /libs
parent9ff901b1e78fac78f957f321501acc3b18da76f6 (diff)
r329@gandalf: fugalh | 2006-08-12 15:54:49 -0600
Cleaning up some printf debugging git-svn-id: svn://localhost/ardour2/branches/undo@801 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session_state.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index 181d4c8a67..aa72637af2 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -3340,7 +3340,6 @@ Session::restore_history (string snapshot_name)
/* read xml */
xmlpath = _path + snapshot_name + ".history";
-
info << string_compose(_("Loading history from '%1'."), xmlpath) << endmsg;
if (access (xmlpath.c_str(), F_OK)) {
@@ -3353,8 +3352,6 @@ Session::restore_history (string snapshot_name)
return -1;
}
- info << "root children " << tree.root()->children().size() << endmsg;
-
/* replace history */
history.clear();
for (XMLNodeConstIterator it = tree.root()->children().begin();
@@ -3394,9 +3391,5 @@ Session::restore_history (string snapshot_name)
history.add(ut);
}
- XMLTree tree2;
- tree2.set_root(&history.get_state());
- info << tree2.write_buffer() << endmsg;
-
return 0;
}