Unitialised variable

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

 




Well, there you go. "c" should have a know value at least, so I set it to 0.
Index: console.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/tests/console.c,v
retrieving revision 1.2
diff -u -r1.2 console.c
--- console.c	21 Jun 2003 02:07:10 -0000	1.2
+++ console.c	23 Sep 2003 01:06:38 -0000
@@ -70,7 +70,7 @@
 
 static void testCursor(HANDLE hCon, COORD sbSize)
 {
-    COORD		c;
+    COORD		c = 0;
     
     ok(SetConsoleCursorPosition(0, c) == 0, "No handle");
     ok(GetLastError() == ERROR_INVALID_HANDLE, "GetLastError: expecting %u got %lu",

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

  Powered by Linux