projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ab8dbc
)
removed #if 0 code
author
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 21 Jul 2010 17:46:45 +0000
(17:46 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 21 Jul 2010 17:46:45 +0000
(17:46 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7461
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/evoral/src/SMF.cpp
patch
|
blob
|
history
diff --git
a/libs/evoral/src/SMF.cpp
b/libs/evoral/src/SMF.cpp
index 210692f114ff9abca249764a15316fca5a0273d1..f2e12fdeb696c044d0465cdde75a0507e2e0ada9 100644
(file)
--- a/
libs/evoral/src/SMF.cpp
+++ b/
libs/evoral/src/SMF.cpp
@@
-172,22
+172,6
@@
void
SMF::close() THROW_FILE_ERROR
{
if (_smf) {
-#if 0
- /* XXX why would we automatically save-on-close?
- */
-
- PBD::StdioFileDescriptor d (_file_path, "w+");
- FILE* f = d.allocate ();
- if (f == 0) {
- throw FileError ();
- }
-
- cerr << "CLOSE: Save SMF to " << _file_path << endl;
-
- if (smf_save(_smf, f) != 0) {
- throw FileError();
- }
-#endif
smf_delete(_smf);
_smf = 0;
_smf_track = 0;