Mercurial > vim
changeset 3574:4f4db5d661c4 v7.3.547
updated for version 7.3.547
Problem: Compiler warning for uninitialized variable.
Solution: Initialize it.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 06 Jun 2012 23:08:38 +0200 |
parents | 552a962b9dd6 |
children | 6f2497d0c277 |
files | src/ops.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ops.c +++ b/src/ops.c @@ -4306,7 +4306,7 @@ do_join(count, insert_space, save_undo, 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;