[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:
Serge Gautherie 2018-05-04 23:04:14 +02:00 committed by Hermès BÉLUSCA - MAÏTO
parent 12bdbe5710
commit 627f3dc725

View file

@ -1078,8 +1078,7 @@ FindCurrentDriver(IN HDEVINFO DeviceInfoSet,
ERR("SetupDiGetDriverInfoDetail() failed with error 0x%lx\n", GetLastError()); ERR("SetupDiGetDriverInfoDetail() failed with error 0x%lx\n", GetLastError());
goto Cleanup; goto Cleanup;
} }
if (!_wcsicmp(DriverInfoDetailData.SectionName, if (_wcsicmp(DriverInfoDetailData.SectionName, InfSection) == 0)
InfSection) != 0)
{ {
/* We have found the right driver */ /* We have found the right driver */
Ret = TRUE; Ret = TRUE;