aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r--src/nvim/ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index f85246344c..a7c2f2ae72 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -4230,7 +4230,7 @@ int do_addsub(int command, linenr_T Prenum1, bool g_cmd)
bool visual = VIsual_active;
int lnum = curwin->w_cursor.lnum;
int lnume = curwin->w_cursor.lnum;
- int startcol;
+ int startcol = 0;
bool did_change = false;
dohex = (vim_strchr(curbuf->b_p_nf, 'x') != NULL); // "heX"