Skip to content

Commit 200471d

Browse files
claucambramgallien
authored andcommitted
fix(gui): Fix set but unused warning in switch statement for sync status compute
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
1 parent e204cbe commit 200471d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gui/owncloudgui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ void ownCloudGui::slotComputeOverallSyncStatus()
327327
if (!fileProvider->xpc()->fileProviderExtReachable(accountFpId)) {
328328
problemFileProviderAccounts.append(accountFpId);
329329
} else {
330-
switch (const auto latestStatus = fileProvider->socketServer()->latestReceivedSyncStatusForAccount(accountState->account())) {
330+
switch (fileProvider->socketServer()->latestReceivedSyncStatusForAccount(accountState->account())) {
331331
case SyncResult::Undefined:
332332
case SyncResult::NotYetStarted:
333333
idleFileProviderAccounts.append(accountFpId);

0 commit comments

Comments
 (0)