projects
/
profile
/
ivi
/
eina.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d5561f
)
fix clang complaint:
author
raster
<raster>
Wed, 9 Nov 2011 07:15:48 +0000
(07:15 +0000)
committer
raster
<raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 9 Nov 2011 07:15:48 +0000
(07:15 +0000)
http://dev.enlightenment.fr/~discomfitor/eina-2011-11-08/report-izvfa3.html#EndPath
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@64973
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/eina_simple_xml_parser.c
patch
|
blob
|
history
diff --git
a/src/lib/eina_simple_xml_parser.c
b/src/lib/eina_simple_xml_parser.c
index
8d91a6a
..
08a8259
100644
(file)
--- a/
src/lib/eina_simple_xml_parser.c
+++ b/
src/lib/eina_simple_xml_parser.c
@@
-349,7
+349,7
@@
eina_simple_xml_parse(const char *buf, unsigned buflen, Eina_Bool strip, Eina_Si
p = _eina_simple_xml_tag_end_find(p + 1, itr_end);
}
- if (
*p == '<'
)
+ if (
(p) && (*p == '<')
)
{
type = EINA_SIMPLE_XML_ERROR;
toff = 0;