mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.4.415
Problem: Cannot build. Warning for shadowed variable. (John Little) Solution: Add missing change. Remove declaration.
This commit is contained in:
@@ -2150,9 +2150,9 @@ do_one_cmd(cmdlinep, sourcing,
|
|||||||
&& ASCII_ISUPPER(*ea.cmd)
|
&& ASCII_ISUPPER(*ea.cmd)
|
||||||
&& has_cmdundefined())
|
&& has_cmdundefined())
|
||||||
{
|
{
|
||||||
char_u *p = ea.cmd;
|
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
p = ea.cmd;
|
||||||
while (ASCII_ISALNUM(*p))
|
while (ASCII_ISALNUM(*p))
|
||||||
++p;
|
++p;
|
||||||
p = vim_strnsave(ea.cmd, p - ea.cmd);
|
p = vim_strnsave(ea.cmd, p - ea.cmd);
|
||||||
|
@@ -1326,6 +1326,7 @@ enum auto_event
|
|||||||
EVENT_SHELLFILTERPOST, /* after ":1,2!cmd", ":w !cmd", ":r !cmd". */
|
EVENT_SHELLFILTERPOST, /* after ":1,2!cmd", ":w !cmd", ":r !cmd". */
|
||||||
EVENT_TEXTCHANGED, /* text was modified */
|
EVENT_TEXTCHANGED, /* text was modified */
|
||||||
EVENT_TEXTCHANGEDI, /* text was modified in Insert mode*/
|
EVENT_TEXTCHANGEDI, /* text was modified in Insert mode*/
|
||||||
|
EVENT_CMDUNDEFINED, /* command undefined */
|
||||||
NUM_EVENTS /* MUST be the last one */
|
NUM_EVENTS /* MUST be the last one */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user