From: Claudio Cambra Date: Mon, 19 Dec 2022 16:35:42 +0000 (+0100) Subject: Remove unused QStrings from remotewipe X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~52^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bf85c2d0936b3c01e7d612cc564332ebd139bcfe;p=nextcloud-desktop.git Remove unused QStrings from remotewipe Signed-off-by: Claudio Cambra --- diff --git a/src/gui/remotewipe.cpp b/src/gui/remotewipe.cpp index 116c9e65c..8a1a0b06d 100644 --- a/src/gui/remotewipe.cpp +++ b/src/gui/remotewipe.cpp @@ -77,7 +77,6 @@ void RemoteWipe::checkJobSlot() //check for errors if (_networkReplyCheck->error() != QNetworkReply::NoError || jsonParseError.error != QJsonParseError::NoError) { - QString errorReason; QString errorFromJson = json["error"].toString(); if (!errorFromJson.isEmpty()) { qCWarning(lcRemoteWipe) << QString("Error returned from the server: %1") @@ -153,7 +152,6 @@ void RemoteWipe::notifyServerSuccessJobSlot() QJsonObject json = QJsonDocument::fromJson(jsonData, &jsonParseError).object(); if (_networkReplySuccess->error() != QNetworkReply::NoError || jsonParseError.error != QJsonParseError::NoError) { - QString errorReason; QString errorFromJson = json["error"].toString(); if (!errorFromJson.isEmpty()) { qCWarning(lcRemoteWipe) << QString("Error returned from the server: %1")