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 03f8c198..14557003 100644
--- a/launcher/minecraft/ProfileUtils.cpp
+++ b/launcher/minecraft/ProfileUtils.cpp
@@ -92,7 +92,7 @@ bool readOverrideOrders(QString path, PatchOrder &order)
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";