style(sonar): fix cpp:S4962 (#4140)

This commit is contained in:
ReenigneArcher
2025-08-08 00:45:53 -04:00
committed by GitHub
parent dbe80d0f92
commit fc7b9e30c8
20 changed files with 119 additions and 119 deletions

View File

@@ -1421,7 +1421,7 @@ namespace config {
if (!service_ctrl::is_service_running()) {
// If the service isn't running, relaunch ourselves as admin to start it
WCHAR executable[MAX_PATH];
GetModuleFileNameW(NULL, executable, ARRAYSIZE(executable));
GetModuleFileNameW(nullptr, executable, ARRAYSIZE(executable));
SHELLEXECUTEINFOW shell_exec_info {};
shell_exec_info.cbSize = sizeof(shell_exec_info);