From e4ea943f57f03081b63f90a93f76b4ed4c4ac954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Fri, 2 Sep 2005 19:05:01 +0000 Subject: [PATCH] Don't fill twice the output buffer. Bug spotted by Filip svn path=/trunk/; revision=17606 --- reactos/lib/setupapi/devinst.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/reactos/lib/setupapi/devinst.c b/reactos/lib/setupapi/devinst.c index b88d805db07..f62dc264a74 100644 --- a/reactos/lib/setupapi/devinst.c +++ b/reactos/lib/setupapi/devinst.c @@ -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