xmllite: Remove unused function reader_get_len.

Gerald Pfeifer gerald at pfeifer.com
Sat Aug 9 03:24:18 CDT 2014


This is a static function, and it's not used in that file, so 
we can remove it.

Gerald
---
 dlls/xmllite/reader.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/dlls/xmllite/reader.c b/dlls/xmllite/reader.c
index af92fa2..cf61939 100644
--- a/dlls/xmllite/reader.c
+++ b/dlls/xmllite/reader.c
@@ -372,12 +372,6 @@ static void reader_free_strvalued(xmlreader *reader, strval *v)
     }
 }
 
-/* returns length in WCHARs from 'start' to current buffer offset */
-static inline UINT reader_get_len(const xmlreader *reader, UINT start)
-{
-    return reader->input->buffer->utf16.cur - start;
-}
-
 static inline void reader_init_strvalue(UINT start, UINT len, strval *v)
 {
     v->start = start;
-- 
2.0.2



More information about the wine-patches mailing list