diff options
| author | Christian Hesse <mail@eworm.de> | 2016-02-22 16:54:38 +0100 |
|---|---|---|
| committer | Christian Hesse <mail@eworm.de> | 2016-02-22 16:54:38 +0100 |
| commit | ef41f09cdd006f22eddab1849ce5a057e00dc065 (patch) | |
| tree | ba0c6432c274afa6309866c3fd12c8c702258c57 | |
| parent | 00700db30bb89dd89ae7a6558c94fe72c6f16343 (diff) | |
| download | vis-ef41f09cdd006f22eddab1849ce5a057e00dc065.tar.gz vis-ef41f09cdd006f22eddab1849ce5a057e00dc065.tar.xz | |
initized variables
| -rw-r--r-- | view.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |
