1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 07:13:49 +01: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);