From ef41f09cdd006f22eddab1849ce5a057e00dc065 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 22 Feb 2016 16:54:38 +0100 Subject: initized variables --- view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view.c b/view.c index 80c472e..7f47f1a 100644 --- a/view.c +++ b/view.c @@ -635,8 +635,8 @@ void view_update(View *view) { if (view->colorcolumn > 0) { size_t lineno = 0; - int line_cols; /* Track the number of columns we've passed on each line */ - bool line_cc_set; /* Has the colorcolumn attribute been set for this line yet */ + int line_cols = 0; /* Track the number of columns we've passed on each line */ + bool line_cc_set = false; /* Has the colorcolumn attribute been set for this line yet */ for (Line *l = view->topline; l; l = l->next) { if (l->lineno != lineno) { -- cgit v1.2.3