From c350485b18b95954496e12161a87ee016f2bbb81 Mon Sep 17 00:00:00 2001 From: Paul Fox Date: Fri, 16 Sep 2005 12:48:18 +0000 Subject: initialize a couple of vars whose warnings were suppressed because i was building w/ debug on before, which suppresses optimization. --- editors/vi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editors/vi.c b/editors/vi.c index ae86b7233..76e4d6684 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -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. -- cgit v1.2.3