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
362cd67d
Commit
362cd67d
authored
Apr 24, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Remove unused variables.
parent
f692f195
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
11 deletions
+5
-11
parser.c
dlls/setupapi/parser.c
+2
-2
setupx_main.c
dlls/setupapi/setupx_main.c
+3
-9
No files found.
dlls/setupapi/parser.c
View file @
362cd67d
...
...
@@ -778,7 +778,7 @@ static const WCHAR *eol_backslash_state( struct parser *parser, const WCHAR *pos
/* handler for parser QUOTES state */
static
const
WCHAR
*
quotes_state
(
struct
parser
*
parser
,
const
WCHAR
*
pos
)
{
const
WCHAR
*
p
,
*
token_end
=
parser
->
start
;
const
WCHAR
*
p
;
for
(
p
=
pos
;
!
is_eol
(
parser
,
p
);
p
++
)
{
...
...
@@ -787,7 +787,7 @@ static const WCHAR *quotes_state( struct parser *parser, const WCHAR *pos )
if
(
p
+
1
<
parser
->
end
&&
p
[
1
]
==
'"'
)
/* double quotes */
{
push_token
(
parser
,
p
+
1
);
parser
->
start
=
token_end
=
p
+
2
;
parser
->
start
=
p
+
2
;
p
++
;
}
else
/* end of quotes */
...
...
dlls/setupapi/setupx_main.c
View file @
362cd67d
...
...
@@ -401,7 +401,7 @@ RETERR16 WINAPI CtlDelLdd16(LOGDISKID16 ldid)
*/
RETERR16
WINAPI
CtlFindLdd16
(
LPLOGDISKDESC
pldd
)
{
LDD_LIST
*
pCurr
,
*
pPrev
=
NULL
;
LDD_LIST
*
pCurr
;
TRACE
(
"(%p)
\n
"
,
pldd
);
...
...
@@ -414,10 +414,7 @@ RETERR16 WINAPI CtlFindLdd16(LPLOGDISKDESC pldd)
pCurr
=
pFirstLDD
;
/* search until we find the appropriate LDD or hit the end */
while
((
pCurr
!=
NULL
)
&&
(
pldd
->
ldid
>
pCurr
->
pldd
->
ldid
))
{
pPrev
=
pCurr
;
pCurr
=
pCurr
->
next
;
}
if
(
(
pCurr
==
NULL
)
/* hit end of list */
||
(
pldd
->
ldid
!=
pCurr
->
pldd
->
ldid
)
)
return
ERR_VCP_LDDFIND
;
/* correct ? */
...
...
@@ -534,7 +531,7 @@ RETERR16 WINAPI CtlAddLdd16(LPLOGDISKDESC pldd)
*/
static
RETERR16
SETUPX_GetLdd
(
LPLOGDISKDESC
pldd
)
{
LDD_LIST
*
pCurr
,
*
pPrev
=
NULL
;
LDD_LIST
*
pCurr
;
if
(
!
std_LDDs_done
)
SETUPX_CreateStandardLDDs
();
...
...
@@ -545,10 +542,7 @@ static RETERR16 SETUPX_GetLdd(LPLOGDISKDESC pldd)
pCurr
=
pFirstLDD
;
/* search until we find the appropriate LDD or hit the end */
while
((
pCurr
!=
NULL
)
&&
(
pldd
->
ldid
>
pCurr
->
pldd
->
ldid
))
{
pPrev
=
pCurr
;
pCurr
=
pCurr
->
next
;
}
pCurr
=
pCurr
->
next
;
if
(
pCurr
==
NULL
)
/* hit end of list */
return
ERR_VCP_LDDFIND
;
/* correct ? */
...
...
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