aboutsummaryrefslogtreecommitdiff
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 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.