commit | 5a31b46bff780a5ad42257ad38da1e42149c3311 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Aug 23 14:16:20 2014 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Aug 23 14:16:20 2014 +0200 |
tree | 3b339dde33264d945ccce023dd0cb581b81522b9 | |
parent | d5005164e1f367136c956d2941478a3aea30ec47 [diff] [blame] |
updated for version 7.4.415 Problem: Cannot build. Warning for shadowed variable. (John Little) Solution: Add missing change. Remove declaration.
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 6826951..c4cf1f9 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c
@@ -2150,9 +2150,9 @@ && 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);