Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9fb0d9fe
Commit
9fb0d9fe
authored
Sep 22, 2020
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Remove unused end parameter from next_xml_attr internal function.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e5d78027
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
fakedll.c
dlls/setupapi/fakedll.c
+3
-5
No files found.
dlls/setupapi/fakedll.c
View file @
9fb0d9fe
...
@@ -554,8 +554,7 @@ static BOOL next_xml_elem( xmlbuf_t *xmlbuf, xmlstr_t *elem )
...
@@ -554,8 +554,7 @@ static BOOL next_xml_elem( xmlbuf_t *xmlbuf, xmlstr_t *elem )
return
xmlbuf
->
ptr
!=
xmlbuf
->
end
;
return
xmlbuf
->
ptr
!=
xmlbuf
->
end
;
}
}
static
BOOL
next_xml_attr
(
xmlbuf_t
*
xmlbuf
,
xmlstr_t
*
name
,
xmlstr_t
*
value
,
static
BOOL
next_xml_attr
(
xmlbuf_t
*
xmlbuf
,
xmlstr_t
*
name
,
xmlstr_t
*
value
,
BOOL
*
error
)
BOOL
*
error
,
BOOL
*
end
)
{
{
const
char
*
ptr
;
const
char
*
ptr
;
...
@@ -573,7 +572,6 @@ static BOOL next_xml_attr(xmlbuf_t* xmlbuf, xmlstr_t* name, xmlstr_t* value,
...
@@ -573,7 +572,6 @@ static BOOL next_xml_attr(xmlbuf_t* xmlbuf, xmlstr_t* name, xmlstr_t* value,
return
FALSE
;
return
FALSE
;
xmlbuf
->
ptr
++
;
xmlbuf
->
ptr
++
;
*
end
=
TRUE
;
*
error
=
FALSE
;
*
error
=
FALSE
;
return
FALSE
;
return
FALSE
;
}
}
...
@@ -727,7 +725,7 @@ static BOOL CALLBACK register_manifest( HMODULE module, const WCHAR *type, WCHAR
...
@@ -727,7 +725,7 @@ static BOOL CALLBACK register_manifest( HMODULE module, const WCHAR *type, WCHAR
xmlbuf_t
buffer
;
xmlbuf_t
buffer
;
xmlstr_t
elem
,
attr_name
,
attr_value
;
xmlstr_t
elem
,
attr_name
,
attr_value
;
xmlstr_t
name
,
version
,
arch
,
key
,
lang
;
xmlstr_t
name
,
version
,
arch
,
key
,
lang
;
BOOL
e
nd
=
FALSE
,
e
rror
;
BOOL
error
;
const
char
*
manifest
;
const
char
*
manifest
;
SIZE_T
len
;
SIZE_T
len
;
HRSRC
rsrc
;
HRSRC
rsrc
;
...
@@ -746,7 +744,7 @@ static BOOL CALLBACK register_manifest( HMODULE module, const WCHAR *type, WCHAR
...
@@ -746,7 +744,7 @@ static BOOL CALLBACK register_manifest( HMODULE module, const WCHAR *type, WCHAR
while
(
next_xml_elem
(
&
buffer
,
&
elem
))
while
(
next_xml_elem
(
&
buffer
,
&
elem
))
{
{
if
(
!
xmlstr_cmp
(
&
elem
,
"assemblyIdentity"
))
continue
;
if
(
!
xmlstr_cmp
(
&
elem
,
"assemblyIdentity"
))
continue
;
while
(
next_xml_attr
(
&
buffer
,
&
attr_name
,
&
attr_value
,
&
error
,
&
end
))
while
(
next_xml_attr
(
&
buffer
,
&
attr_name
,
&
attr_value
,
&
error
))
{
{
if
(
xmlstr_cmp
(
&
attr_name
,
"name"
))
name
=
attr_value
;
if
(
xmlstr_cmp
(
&
attr_name
,
"name"
))
name
=
attr_value
;
else
if
(
xmlstr_cmp
(
&
attr_name
,
"version"
))
version
=
attr_value
;
else
if
(
xmlstr_cmp
(
&
attr_name
,
"version"
))
version
=
attr_value
;
...
...
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