1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-17 08:30:06 +02:00

(minor change)

No need to check passed-in value of parameter that's used only for return value.
This commit is contained in:
v.audacity 2010-07-17 00:11:57 +00:00
parent 07806e76a1
commit 003221bb95
2 changed files with 4 additions and 3 deletions

View File

@ -220,9 +220,7 @@ static bool RecoverAllProjects(AudacityProject** pproj)
bool ShowAutoRecoveryDialogIfNeeded(AudacityProject** pproj,
bool *didRecoverAnything)
{
if (didRecoverAnything)
*didRecoverAnything = false;
*didRecoverAnything = false;
if (HaveFilesToRecover())
{
AutoRecoveryDialog dlg(*pproj);

View File

@ -26,6 +26,9 @@
// Returns: True, if the start of Audacity should continue as normal
// False if Audacity should be quit immediately
//
// The didRecoverAnything param is strictly for a return value.
// Any value passed in is ignored.
//
bool ShowAutoRecoveryDialogIfNeeded(AudacityProject** pproj,
bool *didRecoverAnything);