[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
{
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;
}