aboutsummaryrefslogtreecommitdiff
path: root/editors
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 /editors
parent2b306e906f6ba9fe990365a0faa00140d7f4dbe1 (diff)
downloadbusybox-c350485b18b95954496e12161a87ee016f2bbb81.tar.gz
initialize a couple of vars whose warnings were suppressed because
i was building w/ debug on before, which suppresses optimization.
Diffstat (limited to 'editors')
-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)
//----- 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.