projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c1f3b3a
)
Don't fill twice the output buffer. Bug spotted by Filip
author
Hervé Poussineau
<hpoussin@reactos.org>
Fri, 2 Sep 2005 19:05:01 +0000
(19:05 +0000)
committer
Hervé Poussineau
<hpoussin@reactos.org>
Fri, 2 Sep 2005 19:05:01 +0000
(19:05 +0000)
svn path=/trunk/; revision=17606
reactos/lib/setupapi/devinst.c
patch
|
blob
|
history
diff --git
a/reactos/lib/setupapi/devinst.c
b/reactos/lib/setupapi/devinst.c
index
b88d805
..
f62dc26
100644
(file)
--- a/
reactos/lib/setupapi/devinst.c
+++ b/
reactos/lib/setupapi/devinst.c
@@
-3873,12
+3873,6
@@
SetupDiOpenDeviceInfoW(
if (deviceInfo)
{
/* good one found */
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
ret = TRUE;
}
else