fix warning about unused jsonLength

This commit is contained in:
iTrooz
2024-11-17 19:00:57 +01:00
parent 0d830e56e9
commit b35cffb347

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));