Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
7ca10966
Commit
7ca10966
authored
Jan 19, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small simplification
parent
5d37c8ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
15 deletions
+7
-15
modules/misc/xml/libxml.c
modules/misc/xml/libxml.c
+7
-15
No files found.
modules/misc/xml/libxml.c
View file @
7ca10966
...
...
@@ -214,29 +214,21 @@ static int ReaderRead( xml_reader_t *p_reader )
static
int
ReaderNodeType
(
xml_reader_t
*
p_reader
)
{
int
i_ret
=
xmlTextReaderNodeType
(
(
void
*
)
p_reader
->
p_sys
);
switch
(
i_ret
)
switch
(
xmlTextReaderNodeType
(
(
void
*
)
p_reader
->
p_sys
)
)
{
case
XML_READER_TYPE_ELEMENT
:
i_ret
=
XML_READER_STARTELEM
;
break
;
return
XML_READER_STARTELEM
;
case
XML_READER_TYPE_END_ELEMENT
:
i_ret
=
XML_READER_ENDELEM
;
break
;
return
XML_READER_ENDELEM
;
case
XML_READER_TYPE_CDATA
:
case
XML_READER_TYPE_TEXT
:
i_ret
=
XML_READER_TEXT
;
break
;
return
XML_READER_TEXT
;
case
-
1
:
i_ret
=
-
1
;
break
;
default:
i_ret
=
XML_READER_NONE
;
break
;
return
-
1
;
}
return
i_ret
;
return
XML_READER_NONE
;
}
static
char
*
ReaderName
(
xml_reader_t
*
p_reader
)
...
...
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