dlls/ntdll/threadpool.c

Gerald Pfeifer gerald at pfeifer.com
Sun Jul 27 05:08:45 CDT 2008


The latest snapshot of GCC 4.4.0 started warning about this by default;
I'll see what we can do on the compiler front, but it's probably better
to also add a return value since this function does return a DWORD pe se.

Gerald

ChangeLog:
Add dummy return value for iocp_poller().

Index: dlls/ntdll/threadpool.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/threadpool.c,v
retrieving revision 1.16
diff -u -3 -p -r1.16 threadpool.c
--- dlls/ntdll/threadpool.c	25 Jul 2008 13:18:22 -0000	1.16
+++ dlls/ntdll/threadpool.c	27 Jul 2008 10:06:43 -0000
@@ -258,6 +258,7 @@ static DWORD CALLBACK iocp_poller(LPVOID
             callback( err, transferred, overlapped );
         }
     }
+    return 0;
 }
 
 /***********************************************************************



More information about the wine-patches mailing list