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 ae86b72..76e4d66 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.