PATCH: dlls/kernel/tests/pipe.c warning fix
Gerald Pfeifer
pfeifer at dbai.tuwien.ac.at
Tue May 20 03:11:00 CDT 2003
ChangeLog:
Avoid "might be used uninitialized" warning in exercizeServer().
Index: pipe.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/tests/pipe.c,v
retrieving revision 1.6
diff -u -3 -p -r1.6 pipe.c
--- pipe.c 20 May 2003 03:58:35 -0000 1.6
+++ pipe.c 20 May 2003 08:09:02 -0000
@@ -457,7 +457,7 @@ static void exercizeServer(const char *p
trace("exercizeServer starting\n");
for (i = 0; i < 8; i++) {
- HANDLE hFile;
+ HANDLE hFile=INVALID_HANDLE_VALUE;
const char obuf[] = "Bit Bucket";
char ibuf[32];
DWORD written;
More information about the wine-patches
mailing list