mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2557: compiler warning for shadowd variable
Problem: Compiler warning for shadowd variable. Solution: Declare "p" only once.
This commit is contained in:
@@ -364,8 +364,6 @@ handle_import(
|
||||
arg = skipwhite_and_linebreak(arg, evalarg);
|
||||
if (STRNCMP("as", arg, 2) == 0 && IS_WHITE_OR_NUL(arg[2]))
|
||||
{
|
||||
char_u *p;
|
||||
|
||||
// skip over "as Name "; no line break allowed after "as"
|
||||
arg = skipwhite(arg + 2);
|
||||
p = arg;
|
||||
|
Reference in New Issue
Block a user