aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Fox <pgf@brightstareng.com>2005-09-16 12:48:18 +0000
committerPaul Fox <pgf@brightstareng.com>2005-09-16 12:48:18 +0000
commitc350485b18b95954496e12161a87ee016f2bbb81 (patch)
tree30fdc38482e1dbbf280424c1d44cb607067ab704
parent2b306e906f6ba9fe990365a0faa00140d7f4dbe1 (diff)
downloadbusybox-w32-c350485b18b95954496e12161a87ee016f2bbb81.tar.gz
busybox-w32-c350485b18b95954496e12161a87ee016f2bbb81.tar.bz2
busybox-w32-c350485b18b95954496e12161a87ee016f2bbb81.zip
initialize a couple of vars whose warnings were suppressed because
i was building w/ debug on before, which suppresses optimization.
-rw-r--r--editors/vi.c2
1 files changed, 1 insertions, 1 deletions
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)
2674//----- Draw the status line at bottom of the screen ------------- 2674//----- Draw the status line at bottom of the screen -------------
2675static void show_status_line(void) 2675static void show_status_line(void)
2676{ 2676{
2677 int cnt, cksum; 2677 int cnt = 0, cksum = 0;
2678 2678
2679 // either we already have an error or status message, or we 2679 // either we already have an error or status message, or we
2680 // create one. 2680 // create one.