aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/ProfileUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/minecraft/ProfileUtils.cpp')
-rw-r--r--launcher/minecraft/ProfileUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/ProfileUtils.cpp b/launcher/minecraft/ProfileUtils.cpp
index 18a4b7d0..d56ed14b 100644
--- a/launcher/minecraft/ProfileUtils.cpp
+++ b/launcher/minecraft/ProfileUtils.cpp
@@ -82,7 +82,7 @@ bool readOverrideOrders(QString path, PatchOrder& order)
for (auto item : orderArray) {
order.append(Json::requireString(item));
}
- } catch (const JSONValidationError& err) {
+ } catch ([[maybe_unused]] const JSONValidationError& err) {
qCritical() << "Couldn't parse" << orderFile.fileName() << ": bad file format";
qWarning() << "Ignoring overriden order";
order.clear();