PATCH: dlls/kernel/tests/pipe.c warning fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux