mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.2.5033: build error with +eval but without +quickfix
Problem: Build error with +eval but without +quickfix. Warning for uninitialized variable. Solution: Adjust #ifdefs. (John Marriott)
This commit is contained in:
@@ -2769,7 +2769,6 @@ autocmd_add_or_delete(typval_T *argvars, typval_T *rettv, int delete)
|
||||
listitem_T *pli;
|
||||
char_u *cmd = NULL;
|
||||
char_u *end;
|
||||
char_u *p;
|
||||
int once;
|
||||
int nested;
|
||||
int replace; // replace the cmd for a group/event
|
||||
@@ -2937,6 +2936,8 @@ autocmd_add_or_delete(typval_T *argvars, typval_T *rettv, int delete)
|
||||
}
|
||||
else
|
||||
{
|
||||
char_u *p = NULL;
|
||||
|
||||
eli = NULL;
|
||||
end = NULL;
|
||||
while (TRUE)
|
||||
|
Reference in New Issue
Block a user