commit | 1db43b1145fe466b5d41af6744a08083983de3a9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jul 12 16:21:23 2015 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jul 12 16:21:23 2015 +0200 |
tree | 77976095452e148bf15f09c4a36564675d1e17b8 | |
parent | 3ec326198029d5a59413b3b8b33dbc9c06c4f28b [diff] [blame] |
patch 7.4.780 Problem: Compiler complains about uninitialized variable and clobbered variables. Solution: Add Initialization. Make variables static.
diff --git a/src/ops.c b/src/ops.c index e882051..671c92b 100644 --- a/src/ops.c +++ b/src/ops.c
@@ -5403,7 +5403,7 @@ int i; int lnum = curwin->w_cursor.lnum; int lnume = curwin->w_cursor.lnum; - int startcol; + int startcol = 0; int did_change = FALSE; dohex = (vim_strchr(curbuf->b_p_nf, 'x') != NULL); /* "heX" */