summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index ae86b72..76e4d66 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.