diff src/ops.c @ 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 5c1aaf9b4b1b
children 8625e38066db
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;