Don't fill twice the output buffer. Bug spotted by Filip

svn path=/trunk/; revision=17606
This commit is contained in:
Hervé Poussineau 2005-09-02 19:05:01 +00:00
parent c1f3b3a122
commit e4ea943f57

View file

@ -3873,12 +3873,6 @@ SetupDiOpenDeviceInfoW(
if (deviceInfo)
{
/* good one found */
if (DeviceInfoData)
{
memcpy(&DeviceInfoData->ClassGuid, &deviceInfo->ClassGuid, sizeof(GUID));
DeviceInfoData->DevInst = 0; /* FIXME */
DeviceInfoData->Reserved = (ULONG_PTR)deviceInfo;
}
ret = TRUE;
}
else