1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-09 14:17:10 +01:00

Fix build on Ubuntu. Remove unused var.

This commit is contained in:
v.audacity
2011-11-18 00:34:29 +00:00
parent 59db8d4ad4
commit e93d1124ee

View File

@@ -2260,8 +2260,6 @@ bool AudacityProject::WarnOfLegacyFile( )
msg.Printf(gsLegacyFileWarning, _("1.0 or earlier"));
// Stop icon, and choose 'NO' by default.
int icon_choice = wxICON_STOP | wxNO_DEFAULT;
int action =
wxMessageBox(msg,
_("Warning - Opening Old Project File"),
@@ -2567,7 +2565,7 @@ void AudacityProject::OpenFile(wxString fileName, bool addtohistory)
mFileName = wxT("");
SetProjectTitle();
wxLogError(wxT("Could not parse file \"%s\". \nError: %s"), fileName.c_str(), xmlFile.GetErrorStr());
wxLogError(wxT("Could not parse file \"%s\". \nError: %s"), fileName.c_str(), xmlFile.GetErrorStr().c_str());
wxMessageBox(xmlFile.GetErrorStr(),
_("Error Opening Project"),
wxOK | wxCENTRE, this);