mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
lp:893522 more problems found by PVS Studio
This commit is contained in:
parent
f523df0a04
commit
a1e3fa93c7
2 changed files with 3 additions and 3 deletions
|
|
@ -116,7 +116,7 @@ int get_mysql_service_properties(const wchar_t *bin_path,
|
|||
wcscat(mysqld_path, L".exe");
|
||||
|
||||
if(wcsicmp(file_part, L"mysqld.exe") != 0 &&
|
||||
wcsicmp(file_part, L"mysqld.exe") != 0 &&
|
||||
wcsicmp(file_part, L"mysqld-debug.exe") != 0 &&
|
||||
wcsicmp(file_part, L"mysqld-nt.exe") != 0)
|
||||
{
|
||||
/* The service executable is not mysqld. */
|
||||
|
|
@ -244,4 +244,4 @@ int get_mysql_service_properties(const wchar_t *bin_path,
|
|||
end:
|
||||
LocalFree((HLOCAL)args);
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue