changeset 21829:21c552fb7da5 v8.2.1464

patch 8.2.1464: Vim9: build warning for unused variable Commit: https://github.com/vim/vim/commit/829ac868b7615d73dbfb536f7fcd44fc7c5b7c1d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 15 22:48:48 2020 +0200 patch 8.2.1464: Vim9: build warning for unused variable Problem: Vim9: build warning for unused variable. Solution: Delete the variable declaration.
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Aug 2020 23:00:05 +0200
parents af5db9b6d210
children bef87368c676
files src/version.c src/vim9execute.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1464,
+/**/
     1463,
 /**/
     1462,
--- a/src/vim9execute.c
+++ b/src/vim9execute.c
@@ -2291,7 +2291,6 @@ call_def_function(
 		    int		is_slice = iptr->isn_type == ISN_LISTSLICE;
 		    list_T	*list;
 		    varnumber_T	n1, n2;
-		    listitem_T	*li;
 
 		    // list index: list is at stack-2, index at stack-1
 		    // list slice: list is at stack-3, indexes at stack-2 and