changeset 2623:bc3f88ca060d v7.3.045

updated for version 7.3.045 Problem: Compiler warning for uninitialized variable. Solution: Initialize the variable always.
author Bram Moolenaar <bram@vim.org>
date Wed, 27 Oct 2010 17:39:05 +0200
parents b2cfe84c96cc
children bfd69bfb4149
files src/getchar.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -3290,9 +3290,9 @@ do_map(maptype, arg, mode, abbrev)
      */
     if (haskey)
 	keys = replace_termcodes(keys, &keys_buf, TRUE, TRUE, special);
+    orig_rhs = rhs;
     if (hasarg)
     {
-	orig_rhs = rhs;
 	if (STRICMP(rhs, "<nop>") == 0)	    /* "<Nop>" means nothing */
 	    rhs = (char_u *)"";
 	else
--- 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 */
 /**/
+    45,
+/**/
     44,
 /**/
     43,