From aa6c3404c4bd6456112489fd309fc0d24fefeb4b Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Sat, 4 May 2024 23:49:38 -0500 Subject: [PATCH] Add maybe_unused attribute to args --- scwx-qt/source/scwx/qt/main/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scwx-qt/source/scwx/qt/main/main.cpp b/scwx-qt/source/scwx/qt/main/main.cpp index d9e2b632..2d8073da 100644 --- a/scwx-qt/source/scwx/qt/main/main.cpp +++ b/scwx-qt/source/scwx/qt/main/main.cpp @@ -143,7 +143,8 @@ int main(int argc, char* argv[]) return result; } -static void OverrideDefaultStyle(const std::vector& args) +static void +OverrideDefaultStyle([[maybe_unused]] const std::vector& args) { #if defined(_WIN32) bool hasStyleArgument = false;