diff options
author | Bram Moolenaar <bram@vim.org> | 2012-06-06 23:08:38 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2012-06-06 23:08:38 +0200 |
commit | 272daffc7f4b75d2407b70fd08293189bfab6754 (patch) | |
tree | 57e7efcb903c491942e437e16465afeb19386c50 | |
parent | afb676a1ba67a12df52c25449926f83c2563e874 (diff) | |
download | vim-272daffc7f4b75d2407b70fd08293189bfab6754.tar.gz |
Problem: Compiler warning for uninitialized variable.
Solution: Initialize it.
-rw-r--r-- | src/ops.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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; diff --git a/src/version.c b/src/version.c index 89faaca6..d07a09cd 100644 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 547, +/**/ 546, /**/ 545, |