# HG changeset patch # User Bram Moolenaar # Date 1288193945 -7200 # Node ID bc3f88ca060d25cad633a20548ca38cc529fa0ca # Parent b2cfe84c96ccbf87a7c765442f0e32c62fa112a9 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 --- 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 --- 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,