]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.547 v7.3.547
authorBram Moolenaar <Bram@vim.org>
Wed, 6 Jun 2012 21:08:38 +0000 (23:08 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 6 Jun 2012 21:08:38 +0000 (23:08 +0200)
Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize it.

src/ops.c
src/version.c

index c1666ac696a3321f380bc2329ee1c756202f5af9..ca327b955dc256bacfbd84c1e3b4ee15a3f09741 100644 (file)
--- 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;
index 89faaca6fb85fd8675fcc784931c6c9c994f5022..d07a09cd993dd93e8607a5074a922da261c69abe 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    547,
 /**/
     546,
 /**/