diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-21 17:46:45 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-21 17:46:45 +0000 |
commit | 75fb4557e51c42a9a1d6c4bf589a4c235c276553 (patch) | |
tree | ee33f8113dc4a7d60818954335c04c213f445ef9 /libs/evoral/src/SMF.cpp | |
parent | 7ab8dbc2fe679d75821ca585dd7c2663f640116e (diff) |
removed #if 0 code
git-svn-id: svn://localhost/ardour2/branches/3.0@7461 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/src/SMF.cpp')
-rw-r--r-- | libs/evoral/src/SMF.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libs/evoral/src/SMF.cpp b/libs/evoral/src/SMF.cpp index 210692f114..f2e12fdeb6 100644 --- 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; |