To: vim_dev@googlegroups.com Subject: Patch 8.2.1052 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1052 Problem: Build failure with older compilers. Solution: Move declaration to start of block. Files: src/eval.c *** ../vim-8.2.1051/src/eval.c 2020-06-24 20:33:59.561106332 +0200 --- src/eval.c 2020-06-24 23:01:56.016202708 +0200 *************** *** 1904,1909 **** --- 1904,1910 ---- typval_T var2; evalarg_T nested_evalarg; int orig_flags; + int evaluate; if (evalarg == NULL) { *************** *** 1916,1923 **** orig_flags = evalarg->eval_flags; } ! int evaluate = nested_evalarg.eval_flags & EVAL_EVALUATE; ! result = FALSE; if (evaluate) { --- 1917,1923 ---- orig_flags = evalarg->eval_flags; } ! evaluate = nested_evalarg.eval_flags & EVAL_EVALUATE; result = FALSE; if (evaluate) { *** ../vim-8.2.1051/src/version.c 2020-06-24 22:07:41.816626147 +0200 --- src/version.c 2020-06-24 23:02:27.268120743 +0200 *************** *** 756,757 **** --- 756,759 ---- { /* Add new patch number below this line */ + /**/ + 1052, /**/ -- Every exit is an entrance into something else. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///