Remove unused variables

This commit is contained in:
Jonas Kvinge
2021-03-21 04:43:55 +01:00
parent 329dfb21b9
commit 20c1c1d4be
11 changed files with 22 additions and 35 deletions

View File

@@ -142,7 +142,6 @@ QByteArray DeezerCoverProvider::GetReplyData(QNetworkReply *reply) {
QJsonObject obj_error = value_error.toObject();
int code = obj_error["code"].toInt();
QString message = obj_error["message"].toString();
QString type = obj_error["type"].toString();
error = QString("%1 (%2)").arg(message).arg(code);
}
}
@@ -178,7 +177,6 @@ QJsonValue DeezerCoverProvider::ExtractData(const QByteArray &data) {
QJsonObject obj_error = value_error.toObject();
const int code = obj_error["code"].toInt();
QString message = obj_error["message"].toString();
QString type = obj_error["type"].toString();
Error(QString("%1 (%2)").arg(message).arg(code));
return QJsonValue();
}