0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.3.045

Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize the variable always.
This commit is contained in:
Bram Moolenaar 2010-10-27 17:39:05 +02:00
parent ee236d0d19
commit b3ae56cf2b
2 changed files with 3 additions and 1 deletions

View 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

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
45,
/**/
44,
/**/