]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.045 v7.3.045
authorBram Moolenaar <Bram@vim.org>
Wed, 27 Oct 2010 15:39:05 +0000 (17:39 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 27 Oct 2010 15:39:05 +0000 (17:39 +0200)
Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize the variable always.

src/getchar.c
src/version.c

index fb28160e54c54f9202d5975f0ff04a416fac3c72..ecb03790073cc0214a41496dde01fbcecbc1dab4 100644 (file)
@@ -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
index 8e5e90af9b9f84833a0eeb3e0446490a30653565..d9d2b58b7d08904b70e460ccac6eada38c5e3a53 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    45,
 /**/
     44,
 /**/