initialize a couple of vars whose warnings were suppressed because
authorpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Fri, 16 Sep 2005 12:48:18 +0000 (12:48 +0000)
committerpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Fri, 16 Sep 2005 12:48:18 +0000 (12:48 +0000)
i was building w/ debug on before, which suppresses optimization.

git-svn-id: svn://busybox.net/trunk/busybox@11479 69ca8d6d-28ef-0310-b511-8ec308f3f277

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.