mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 23:48:12 +00:00
Don't fill twice the output buffer. Bug spotted by Filip
svn path=/trunk/; revision=17606
This commit is contained in:
parent
c1f3b3a122
commit
e4ea943f57
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue