mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 05:01:03 +00:00
[DEVMGR] Fix a Clang-Cl warning about DriverInfoDetailData.SectionName
"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
12bdbe5710
commit
627f3dc725
1 changed files with 1 additions and 2 deletions
|
@ -1078,8 +1078,7 @@ FindCurrentDriver(IN HDEVINFO DeviceInfoSet,
|
|||
ERR("SetupDiGetDriverInfoDetail() failed with error 0x%lx\n", GetLastError());
|
||||
goto Cleanup;
|
||||
}
|
||||
if (!_wcsicmp(DriverInfoDetailData.SectionName,
|
||||
InfSection) != 0)
|
||||
if (_wcsicmp(DriverInfoDetailData.SectionName, InfSection) == 0)
|
||||
{
|
||||
/* We have found the right driver */
|
||||
Ret = TRUE;
|
||||
|
|
Loading…
Reference in a new issue