Skip to content

Commit cce3057

Browse files
committed
Avoid warning about unused variable when compiling with LLVM 19 for Windows
1 parent 32fc227 commit cce3057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/commandlineutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void stopConsole()
152152
fclose(stdout);
153153
fclose(stdin);
154154
fclose(stderr);
155-
if (auto *const consoleWindow = GetConsoleWindow()) {
155+
if (GetConsoleWindow()) {
156156
FreeConsole();
157157
}
158158
}

0 commit comments

Comments
 (0)