diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-10-27 17:39:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-10-27 17:39:05 +0200 |
commit | b3ae56cf2b02059b2a4fd2e1bee67970ec9b0dba (patch) | |
tree | 7a9e0a8856528b239fe1df3f41e1f9d6d7fe0205 /src | |
parent | ee236d0d199d627193b0d61a2b3b8bbda323afd6 (diff) | |
download | vim-git-b3ae56cf2b02059b2a4fd2e1bee67970ec9b0dba.tar.gz |
updated for version 7.3.045v7.3.045
Problem: Compiler warning for uninitialized variable.
Solution: Initialize the variable always.
Diffstat (limited to 'src')
-rw-r--r-- | src/getchar.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
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, "<nop>") == 0) /* "<Nop>" 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 @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 45, +/**/ 44, /**/ 43, |