0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -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:
Bram Moolenaar
2014-08-23 14:16:20 +02:00
parent d5005164e1
commit 5a31b46bff
2 changed files with 2 additions and 1 deletions

View File

@@ -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);

View File

@@ -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 */
}; };