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:
parent
07806e76a1
commit
003221bb95
@ -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);
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user