From b35cffb3477b997a4dc779696aeb0acb79880d51 Mon Sep 17 00:00:00 2001 From: iTrooz Date: Sun, 17 Nov 2024 19:00:57 +0100 Subject: [PATCH] fix warning about unused jsonLength --- launcher/ui/pages/instance/McClient.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/ui/pages/instance/McClient.hpp b/launcher/ui/pages/instance/McClient.hpp index 992328504..f171ae674 100644 --- a/launcher/ui/pages/instance/McClient.hpp +++ b/launcher/ui/pages/instance/McClient.hpp @@ -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));