[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:
Serge Gautherie 2018-05-04 06:15:37 +02:00 committed by Hermès BÉLUSCA - MAÏTO
parent d6cebe736a
commit 5ca037d5f6

View file

@ -2423,12 +2423,12 @@ PNP_HwProfFlags(
else else
{ {
dwSize = sizeof(DWORD); dwSize = sizeof(DWORD);
if (!RegQueryValueExW(hDeviceKey, if (RegQueryValueExW(hDeviceKey,
L"CSConfigFlags", L"CSConfigFlags",
NULL, NULL,
NULL, NULL,
(LPBYTE)pulValue, (LPBYTE)pulValue,
&dwSize) != ERROR_SUCCESS) &dwSize) != ERROR_SUCCESS)
{ {
*pulValue = 0; *pulValue = 0;
} }