Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
14650b93
Commit
14650b93
authored
Jul 22, 2015
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jul 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Avoid shadowing devInst variable.
parent
2a904d3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
devinst.c
dlls/setupapi/devinst.c
+2
-2
No files found.
dlls/setupapi/devinst.c
View file @
14650b93
...
@@ -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
dev
I
nst
,
DWORD
dev
_i
nst
,
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
),
dev
I
nst
,
TRACE
(
"%p, %s, %d, %s, %d
\n
"
,
set
,
debugstr_guid
(
guid
),
dev
_i
nst
,
debugstr_w
(
instanceId
),
phantom
);
debugstr_w
(
instanceId
),
phantom
);
if
(
devInfo
)
if
(
devInfo
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment