cabinet: void functions should not return a value

Andrew Talbot andrew.talbot at talbotville.com
Sat Aug 6 06:51:09 CDT 2011


Changelog:
    cabinet: void functions should not return a value.

diff --git a/dlls/cabinet/fci.c b/dlls/cabinet/fci.c
index 82d94ab..8ea7c26 100644
--- a/dlls/cabinet/fci.c
+++ b/dlls/cabinet/fci.c
@@ -917,7 +917,7 @@ static void *zalloc( void *opaque, unsigned int items, unsigned int size )
 static void zfree( void *opaque, void *ptr )
 {
     FCI_Int *fci = opaque;
-    return fci->free( ptr );
+    fci->free( ptr );
 }
 
 static cab_UWORD compress_MSZIP( FCI_Int *fci )



More information about the wine-patches mailing list