mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-10 08:25:52 +01:00
Add error check comments.
These are places where we don't properly handle error returns.
This commit is contained in:
@@ -535,7 +535,7 @@ bool BatchCommands::ApplySpecialCommand(int WXUNUSED(iCommand), const wxString &
|
||||
|
||||
// We have a command index, but we don't use it!
|
||||
// TODO: Make this special-batch-command code use the menu item code....
|
||||
// FIXME: No error reporting on write file failure in batch mode.
|
||||
// FIXME: TRAP_ERR No error reporting on write file failure in batch mode.
|
||||
if (command == wxT("NoAction")) {
|
||||
return true;
|
||||
} else if (!mFileName.IsEmpty() && command == wxT("Import")) {
|
||||
@@ -594,8 +594,8 @@ bool BatchCommands::ApplyEffectCommand(const PluginID & ID, const wxString & com
|
||||
|
||||
AudacityProject *project = GetActiveProject();
|
||||
|
||||
//FIXME: for later versions may want to not select-all in batch mode.
|
||||
//IF nothing selected, THEN select everything
|
||||
// FIXME: for later versions may want to not select-all in batch mode.
|
||||
// IF nothing selected, THEN select everything
|
||||
// (most effects require that you have something selected).
|
||||
project->SelectAllIfNone();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user