mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[UMPNPMGR] Fix a Clang-Cl warning about "CSConfigFlags"
"warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]" CORE-14306
This commit is contained in:
parent
d6cebe736a
commit
5ca037d5f6
1 changed files with 6 additions and 6 deletions
|
@ -2423,12 +2423,12 @@ PNP_HwProfFlags(
|
|||
else
|
||||
{
|
||||
dwSize = sizeof(DWORD);
|
||||
if (!RegQueryValueExW(hDeviceKey,
|
||||
L"CSConfigFlags",
|
||||
NULL,
|
||||
NULL,
|
||||
(LPBYTE)pulValue,
|
||||
&dwSize) != ERROR_SUCCESS)
|
||||
if (RegQueryValueExW(hDeviceKey,
|
||||
L"CSConfigFlags",
|
||||
NULL,
|
||||
NULL,
|
||||
(LPBYTE)pulValue,
|
||||
&dwSize) != ERROR_SUCCESS)
|
||||
{
|
||||
*pulValue = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue