mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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;
|
typval_T var2;
|
||||||
evalarg_T nested_evalarg;
|
evalarg_T nested_evalarg;
|
||||||
int orig_flags;
|
int orig_flags;
|
||||||
|
int evaluate;
|
||||||
|
|
||||||
if (evalarg == NULL)
|
if (evalarg == NULL)
|
||||||
{
|
{
|
||||||
@@ -1916,8 +1917,7 @@ eval1(char_u **arg, typval_T *rettv, evalarg_T *evalarg)
|
|||||||
orig_flags = evalarg->eval_flags;
|
orig_flags = evalarg->eval_flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
int evaluate = nested_evalarg.eval_flags & EVAL_EVALUATE;
|
evaluate = nested_evalarg.eval_flags & EVAL_EVALUATE;
|
||||||
|
|
||||||
result = FALSE;
|
result = FALSE;
|
||||||
if (evaluate)
|
if (evaluate)
|
||||||
{
|
{
|
||||||
|
@@ -754,6 +754,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1052,
|
||||||
/**/
|
/**/
|
||||||
1051,
|
1051,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user