Remove identical branches

GCC warns about this so let's just remove this leftover.
This commit is contained in:
Martchus 2023-09-04 20:20:51 +02:00
parent c3233a8954
commit bd924330ad
1 changed files with 1 additions and 3 deletions

View File

@ -2016,10 +2016,8 @@ void SyncthingConnection::readDeviceEvent(SyncthingEventId eventId, DateTime eve
status = SyncthingDevStatus::Rejected;
} else if (eventType == QLatin1String("DeviceResumed")) {
paused = false;
} else if (eventType == QLatin1String("DeviceDiscovered")) {
return; // we know about this device already, nothing to do
} else {
return; // can't handle other event types currently
return;
}
// assign new status