fix clang complaint:

http://dev.enlightenment.fr/~discomfitor/eina-2011-11-08/report-izvfa3.html#EndPath



SVN revision: 64973
This commit is contained in:
Carsten Haitzler 2011-11-09 07:15:48 +00:00
parent 0c778a4205
commit 1410e0e3b6
1 changed files with 1 additions and 1 deletions

View File

@ -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;