Commit f2eb6d01 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

xmllite: Remove dead code.

parent c085b8d9
...@@ -501,16 +501,7 @@ static inline const WCHAR *reader_get_cur(xmlreader *reader) ...@@ -501,16 +501,7 @@ static inline const WCHAR *reader_get_cur(xmlreader *reader)
static int reader_cmp(xmlreader *reader, const WCHAR *str) static int reader_cmp(xmlreader *reader, const WCHAR *str)
{ {
const WCHAR *ptr = reader_get_cur(reader); const WCHAR *ptr = reader_get_cur(reader);
int i = 0;
return strncmpW(str, ptr, strlenW(str)); return strncmpW(str, ptr, strlenW(str));
while (str[i]) {
if (ptr[i] != str[i]) return 0;
i++;
}
return 1;
} }
/* moves cursor n WCHARs forward */ /* moves cursor n WCHARs forward */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment