From bf85c2d0936b3c01e7d612cc564332ebd139bcfe Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Mon, 19 Dec 2022 17:35:42 +0100 Subject: [PATCH] Remove unused QStrings from remotewipe Signed-off-by: Claudio Cambra --- src/gui/remotewipe.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gui/remotewipe.cpp b/src/gui/remotewipe.cpp index 116c9e65c3..8a1a0b06dc 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")