initialize a couple of vars whose warnings were suppressed because
authorPaul Fox <pgf@brightstareng.com>
Fri, 16 Sep 2005 12:48:18 +0000 (12:48 -0000)
committerPaul Fox <pgf@brightstareng.com>
Fri, 16 Sep 2005 12:48:18 +0000 (12:48 -0000)
i was building w/ debug on before, which suppresses optimization.

editors/vi.c

index ae86b7233ba6a24a35eb6d761bcfa30e0d222a32..76e4d66848ac492f20752482cad2047b5db3e24c 100644 (file)
@@ -2674,7 +2674,7 @@ static int bufsum(char *buf, int count)
 //----- Draw the status line at bottom of the screen -------------
 static void show_status_line(void)
 {
-       int cnt, cksum;
+       int cnt = 0, cksum = 0;
 
        // either we already have an error or status message, or we
        // create one.