Dmitry Timoshkov : setupapi: Avoid shadowing devInst variable.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jul 29 15:40:46 CDT 2015
Module: wine
Branch: master
Commit: 14650b939cf4ccae964337a3e0ff07945fb4f84f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=14650b939cf4ccae964337a3e0ff07945fb4f84f
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Wed Jul 22 17:57:07 2015 +0800
setupapi: Avoid shadowing devInst variable.
---
dlls/setupapi/devinst.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c
index 2a97eab..b084a5e 100644
--- a/dlls/setupapi/devinst.c
+++ b/dlls/setupapi/devinst.c
@@ -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)
More information about the wine-cvs
mailing list