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/getchar.c | |
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/getchar.c')
-rw-r--r-- | src/getchar.c | 2 |
1 files changed, 1 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 |