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:
parent
ee236d0d19
commit
b3ae56cf2b
@ -3290,9 +3290,9 @@ do_map(maptype, arg, mode, abbrev)
|
|||||||
*/
|
*/
|
||||||
if (haskey)
|
if (haskey)
|
||||||
keys = replace_termcodes(keys, &keys_buf, TRUE, TRUE, special);
|
keys = replace_termcodes(keys, &keys_buf, TRUE, TRUE, special);
|
||||||
|
orig_rhs = rhs;
|
||||||
if (hasarg)
|
if (hasarg)
|
||||||
{
|
{
|
||||||
orig_rhs = rhs;
|
|
||||||
if (STRICMP(rhs, "<nop>") == 0) /* "<Nop>" means nothing */
|
if (STRICMP(rhs, "<nop>") == 0) /* "<Nop>" means nothing */
|
||||||
rhs = (char_u *)"";
|
rhs = (char_u *)"";
|
||||||
else
|
else
|
||||||
|
@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
45,
|
||||||
/**/
|
/**/
|
||||||
44,
|
44,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user