Commit 14650b93 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

setupapi: Avoid shadowing devInst variable.

parent 2a904d3b
...@@ -535,7 +535,7 @@ static void SETUPDI_FreeDeviceInfo(struct DeviceInfo *devInfo) ...@@ -535,7 +535,7 @@ static void SETUPDI_FreeDeviceInfo(struct DeviceInfo *devInfo)
*/ */
static BOOL SETUPDI_AddDeviceToSet(struct DeviceInfoSet *set, static BOOL SETUPDI_AddDeviceToSet(struct DeviceInfoSet *set,
const GUID *guid, const GUID *guid,
DWORD devInst, DWORD dev_inst,
LPCWSTR instanceId, LPCWSTR instanceId,
BOOL phantom, BOOL phantom,
SP_DEVINFO_DATA **dev) SP_DEVINFO_DATA **dev)
...@@ -544,7 +544,7 @@ static BOOL SETUPDI_AddDeviceToSet(struct DeviceInfoSet *set, ...@@ -544,7 +544,7 @@ static BOOL SETUPDI_AddDeviceToSet(struct DeviceInfoSet *set,
struct DeviceInfo *devInfo = SETUPDI_AllocateDeviceInfo(set, set->cDevices, struct DeviceInfo *devInfo = SETUPDI_AllocateDeviceInfo(set, set->cDevices,
instanceId, phantom); 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); debugstr_w(instanceId), phantom);
if (devInfo) if (devInfo)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment