0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 7.4.780

Problem:    Compiler complains about uninitialized variable and clobbered
            variables.
Solution:   Add Initialization.  Make variables static.
This commit is contained in:
Bram Moolenaar
2015-07-12 16:21:23 +02:00
parent 3ec3261980
commit 1db43b1145
3 changed files with 7 additions and 4 deletions

View File

@@ -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" */