mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:35:47 +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
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue