xmllite: Remove dead code.

This commit is contained in:
Nikolay Sivov 2012-12-19 09:33:03 +04:00 committed by Alexandre Julliard
parent c085b8d930
commit f2eb6d018f

View file

@ -501,16 +501,7 @@ static inline const WCHAR *reader_get_cur(xmlreader *reader)
static int reader_cmp(xmlreader *reader, const WCHAR *str)
{
const WCHAR *ptr = reader_get_cur(reader);
int i = 0;
return strncmpW(str, ptr, strlenW(str));
while (str[i]) {
if (ptr[i] != str[i]) return 0;
i++;
}
return 1;
}
/* moves cursor n WCHARs forward */