setupapi: Avoid shadowing devInst variable.
This commit is contained in:
parent
2a904d3bb3
commit
14650b939c
|
@ -535,7 +535,7 @@ static void SETUPDI_FreeDeviceInfo(struct DeviceInfo *devInfo)
|
|||
*/
|
||||
static BOOL SETUPDI_AddDeviceToSet(struct DeviceInfoSet *set,
|
||||
const GUID *guid,
|
||||
DWORD devInst,
|
||||
DWORD dev_inst,
|
||||
LPCWSTR instanceId,
|
||||
BOOL phantom,
|
||||
SP_DEVINFO_DATA **dev)
|
||||
|
@ -544,7 +544,7 @@ static BOOL SETUPDI_AddDeviceToSet(struct DeviceInfoSet *set,
|
|||
struct DeviceInfo *devInfo = SETUPDI_AllocateDeviceInfo(set, set->cDevices,
|
||||
instanceId, phantom);
|
||||
|
||||
TRACE("%p, %s, %d, %s, %d\n", set, debugstr_guid(guid), devInst,
|
||||
TRACE("%p, %s, %d, %s, %d\n", set, debugstr_guid(guid), dev_inst,
|
||||
debugstr_w(instanceId), phantom);
|
||||
|
||||
if (devInfo)
|
||||
|
|
Loading…
Reference in New Issue