Skip to content

Commit

Permalink
Add maybe_unused attribute to args
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaulat committed May 5, 2024
1 parent 4961f0c commit aa6c340
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scwx-qt/source/scwx/qt/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ int main(int argc, char* argv[])
return result;
}

static void OverrideDefaultStyle(const std::vector<std::string>& args)
static void
OverrideDefaultStyle([[maybe_unused]] const std::vector<std::string>& args)
{
#if defined(_WIN32)
bool hasStyleArgument = false;
Expand Down

0 comments on commit aa6c340

Please sign in to comment.