remove dangling debug output

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10797 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-11-23 17:22:29 +00:00
parent 58a9b0f2de
commit 66873e9f4b
1 changed files with 0 additions and 3 deletions

View File

@ -61,7 +61,6 @@ PBD::file_subst (const string& path, const map<string,string>& dict)
try {
str.reserve (length);
} catch (exception& e) {
cerr << "reserve failed\n";
error << string_compose (_("could not reserve space to read substitution data from %1 (err: %2"),
path, e.what()) << endmsg;
in.close ();
@ -79,7 +78,6 @@ PBD::file_subst (const string& path, const map<string,string>& dict)
}
if (in.fail()) {
cerr << "input file has failed after " << str.size() << "chars\n";
error << string_compose (_("could not read data for substitution from %1 (err: %2)"),
path, strerror (errno)) << endmsg;
in.close ();
@ -108,7 +106,6 @@ PBD::file_subst (const string& path, const map<string,string>& dict)
out << str;
if (!out) {
cerr << "output failed\n";
/* ignore error since we're failing anyway, although
it will leave the file around.
*/