Andrew Talbot : xmllite: Void functions should not return a value.

Alexandre Julliard julliard at winehq.org
Mon Nov 26 15:19:20 CST 2012


Module: wine
Branch: master
Commit: 40300b24ccb1a1aeeed7de9e8c5ad4afcacfe1a0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=40300b24ccb1a1aeeed7de9e8c5ad4afcacfe1a0

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Nov 24 21:09:32 2012 +0000

xmllite: Void functions should not return a value.

---

 dlls/xmllite/reader.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/xmllite/reader.c b/dlls/xmllite/reader.c
index 3f22152..8ad78d8 100644
--- a/dlls/xmllite/reader.c
+++ b/dlls/xmllite/reader.c
@@ -146,7 +146,7 @@ static inline void *reader_alloc(xmlreader *reader, size_t len)
 
 static inline void reader_free(xmlreader *reader, void *mem)
 {
-    return m_free(reader->imalloc, mem);
+    m_free(reader->imalloc, mem);
 }
 
 /* reader input memory allocation functions */
@@ -162,7 +162,7 @@ static inline void *readerinput_realloc(xmlreaderinput *input, void *mem, size_t
 
 static inline void readerinput_free(xmlreaderinput *input, void *mem)
 {
-    return m_free(input->imalloc, mem);
+    m_free(input->imalloc, mem);
 }
 
 static inline WCHAR *readerinput_strdupW(xmlreaderinput *input, const WCHAR *str)




More information about the wine-cvs mailing list