diff options
| author | Bram Moolenaar <Bram@vim.org> | 2015-07-12 16:21:23 +0200 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2015-07-12 16:21:23 +0200 |
| commit | 1db43b1145fe466b5d41af6744a08083983de3a9 (patch) | |
| tree | 77976095452e148bf15f09c4a36564675d1e17b8 /src/ops.c | |
| parent | 3ec326198029d5a59413b3b8b33dbc9c06c4f28b (diff) | |
| download | vim-git-1db43b1145fe466b5d41af6744a08083983de3a9.tar.gz | |
patch 7.4.780v7.4.780
Problem: Compiler complains about uninitialized variable and clobbered
variables.
Solution: Add Initialization. Make variables static.
Diffstat (limited to 'src/ops.c')
| -rw-r--r-- | src/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5403,7 +5403,7 @@ do_addsub(command, Prenum1, g_cmd) 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" */ |
