Andrew Talbot : cabinet: void functions should not return a value.

Alexandre Julliard julliard at winehq.org
Mon Aug 22 13:29:03 CDT 2011


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Aug  6 12:51:09 2011 +0100

cabinet: void functions should not return a value.

---

 dlls/cabinet/fci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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-cvs mailing list