fix warning about unused jsonLength

This commit is contained in:
iTrooz 2024-11-17 19:00:57 +01:00
parent 0d830e56e9
commit b35cffb347
No known key found for this signature in database
GPG Key ID: 8B83F77667B1BC6A

View File

@ -90,7 +90,7 @@ public:
);
}
int jsonLength = readVarInt(resp);
Q_UNUSED(readVarInt(resp)); // json length
std::string json = resp.toStdString();
QJsonDocument doc = QJsonDocument::fromJson(QByteArray::fromStdString(json));