aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-09-16 12:48:18 +0000
committerpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-09-16 12:48:18 +0000
commitf23a9b01d438650b91edff3a6c0d3371eb70f1b7 (patch)
tree30fdc38482e1dbbf280424c1d44cb607067ab704
parent9b975df0434a55d4eca8c314c572ad22b3856eac (diff)
downloadbusybox-w32-f23a9b01d438650b91edff3a6c0d3371eb70f1b7.tar.gz
busybox-w32-f23a9b01d438650b91edff3a6c0d3371eb70f1b7.tar.bz2
busybox-w32-f23a9b01d438650b91edff3a6c0d3371eb70f1b7.zip
initialize a couple of vars whose warnings were suppressed because
i was building w/ debug on before, which suppresses optimization. git-svn-id: svn://busybox.net/trunk/busybox@11479 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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.