mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1052: build failure with older compilers
Problem: Build failure with older compilers. Solution: Move declaration to start of block.
This commit is contained in:
@@ -1904,6 +1904,7 @@ eval1(char_u **arg, typval_T *rettv, evalarg_T *evalarg)
|
||||
typval_T var2;
|
||||
evalarg_T nested_evalarg;
|
||||
int orig_flags;
|
||||
int evaluate;
|
||||
|
||||
if (evalarg == NULL)
|
||||
{
|
||||
@@ -1916,8 +1917,7 @@ eval1(char_u **arg, typval_T *rettv, evalarg_T *evalarg)
|
||||
orig_flags = evalarg->eval_flags;
|
||||
}
|
||||
|
||||
int evaluate = nested_evalarg.eval_flags & EVAL_EVALUATE;
|
||||
|
||||
evaluate = nested_evalarg.eval_flags & EVAL_EVALUATE;
|
||||
result = FALSE;
|
||||
if (evaluate)
|
||||
{
|
||||
|
Reference in New Issue
Block a user