forked from enlightenment/efl
fix clang complaint:
http://dev.enlightenment.fr/~discomfitor/eina-2011-11-08/report-izvfa3.html#EndPath SVN revision: 64973
This commit is contained in:
parent
0c778a4205
commit
1410e0e3b6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue