Cleanup: Fix unused parameter warnings for Windows-only QoS functions

This PR fixes warnings on non-Windows systems for unused parameters of
QoS-related functions.

Pull Request: https://projects.blender.org/blender/blender/pulls/145503
This commit is contained in:
Christoph Neuhauser
2025-09-01 14:27:53 +02:00
parent a400b1d268
commit 79ab23e063

View File

@@ -2009,6 +2009,7 @@ static int arg_handle_qos_set(int argc, const char **argv, void * /*data*/)
}
BLI_windows_process_set_qos(qos_mode, QoSPrecedence::CMDLINE_ARG);
# else
UNUSED_VARS(argv);
fprintf(stderr, "\nError: '%s' is Windows only.\n", arg_id);
# endif
return 1;