fix warning about unused jsonLength
This commit is contained in:
@@ -90,7 +90,7 @@ public:
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
int jsonLength = readVarInt(resp);
|
Q_UNUSED(readVarInt(resp)); // json length
|
||||||
std::string json = resp.toStdString();
|
std::string json = resp.toStdString();
|
||||||
|
|
||||||
QJsonDocument doc = QJsonDocument::fromJson(QByteArray::fromStdString(json));
|
QJsonDocument doc = QJsonDocument::fromJson(QByteArray::fromStdString(json));
|
||||||
|
|||||||
Reference in New Issue
Block a user