From f45061a05c16cd7480a29f26de34b127c1a155d3 Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 21 Jul 2010 17:46:45 +0000 Subject: [PATCH] removed #if 0 code git-svn-id: svn+ssh://ardour.org/ardour2/branches/3.0@7461 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/evoral/src/SMF.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/libs/evoral/src/SMF.cpp b/libs/evoral/src/SMF.cpp index 210692f1..f2e12fde 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; -- 2.11.4.GIT