Skip to content

Commit

Permalink
Fix warning of unused variable.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed Jun 24, 2024
1 parent 54af1a7 commit 592ef1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsync/abstractnetworkjob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ void AbstractNetworkJob::slotFinished()
_account->handleInvalidCredentials();
}

if (const auto discard = finished()) {
if (finished()) {
qCDebug(lcNetworkJob) << "Network job" << metaObject()->className() << "finished for" << path();
deleteLater();
}
Expand Down

0 comments on commit 592ef1c

Please sign in to comment.