0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.3.547

Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize it.
This commit is contained in:
Bram Moolenaar
2012-06-06 23:08:38 +02:00
parent 3b393a0b53
commit 802053f14a
2 changed files with 3 additions and 1 deletions

View File

@@ -4306,7 +4306,7 @@ do_join(count, insert_space, save_undo, use_formatoptions)
colnr_T col = 0; colnr_T col = 0;
int ret = OK; int ret = OK;
#if defined(FEAT_COMMENTS) || defined(PROTO) #if defined(FEAT_COMMENTS) || defined(PROTO)
int *comments; int *comments = NULL;
int remove_comments = (use_formatoptions == TRUE) int remove_comments = (use_formatoptions == TRUE)
&& has_format_option(FO_REMOVE_COMS); && has_format_option(FO_REMOVE_COMS);
int prev_was_comment; int prev_was_comment;

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
547,
/**/ /**/
546, 546,
/**/ /**/