summaryrefslogtreecommitdiff
path: root/src/ops.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-06-06 23:08:38 +0200
committerBram Moolenaar <Bram@vim.org>2012-06-06 23:08:38 +0200
commit802053f14ac4da63c027df2f1a8333c9a26da7dc (patch)
tree75c7d5542e155cabb9b26ad042e8ac6f59257c6b /src/ops.c
parent3b393a0b537cd7057d3462ef16685b3957eb8e1a (diff)
downloadvim-git-802053f14ac4da63c027df2f1a8333c9a26da7dc.tar.gz
updated for version 7.3.547v7.3.547
Problem: Compiler warning for uninitialized variable. Solution: Initialize it.
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ops.c b/src/ops.c
index c1666ac69..ca327b955 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -4306,7 +4306,7 @@ do_join(count, insert_space, save_undo, use_formatoptions)
colnr_T col = 0;
int ret = OK;
#if defined(FEAT_COMMENTS) || defined(PROTO)
- int *comments;
+ int *comments = NULL;
int remove_comments = (use_formatoptions == TRUE)
&& has_format_option(FO_REMOVE_COMS);
int prev_was_comment;