Skip to content

Commit

Permalink
updated for version 7.4.415
Browse files Browse the repository at this point in the history
Problem:    Cannot build.  Warning for shadowed variable. (John Little)
Solution:   Add missing change.  Remove declaration.
  • Loading branch information
brammool committed Aug 23, 2014
1 parent d500516 commit 5a31b46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ex_docmd.c
Expand Up @@ -2150,9 +2150,9 @@ do_one_cmd(cmdlinep, sourcing,
&& ASCII_ISUPPER(*ea.cmd)
&& has_cmdundefined())
{
char_u *p = ea.cmd;
int ret;

p = ea.cmd;
while (ASCII_ISALNUM(*p))
++p;
p = vim_strnsave(ea.cmd, p - ea.cmd);
Expand Down
1 change: 1 addition & 0 deletions src/vim.h
Expand Up @@ -1326,6 +1326,7 @@ enum auto_event
EVENT_SHELLFILTERPOST, /* after ":1,2!cmd", ":w !cmd", ":r !cmd". */
EVENT_TEXTCHANGED, /* text was modified */
EVENT_TEXTCHANGEDI, /* text was modified in Insert mode*/
EVENT_CMDUNDEFINED, /* command undefined */
NUM_EVENTS /* MUST be the last one */
};

Expand Down

0 comments on commit 5a31b46

Please sign in to comment.