From: Bram Moolenaar Date: Wed, 27 Oct 2010 15:39:05 +0000 (+0200) Subject: updated for version 7.3.045 X-Git-Tag: v7.3.045 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3ae56cf2b02059b2a4fd2e1bee67970ec9b0dba;p=vim updated for version 7.3.045 Problem: Compiler warning for uninitialized variable. Solution: Initialize the variable always. --- diff --git a/src/getchar.c b/src/getchar.c index fb28160e5..ecb037900 100644 --- 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, "") == 0) /* "" means nothing */ rhs = (char_u *)""; else diff --git a/src/version.c b/src/version.c index 8e5e90af9..d9d2b58b7 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 45, /**/ 44, /**/