# HG changeset patch # User Bram Moolenaar # Date 1597525205 -7200 # Node ID 21c552fb7da500a50cd0cd3045705292747bd662 # Parent af5db9b6d210098cb46a0bf57c7294cee2e041bd patch 8.2.1464: Vim9: build warning for unused variable Commit: https://github.com/vim/vim/commit/829ac868b7615d73dbfb536f7fcd44fc7c5b7c1d Author: Bram Moolenaar 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. diff --git a/src/version.c b/src/version.c --- 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, diff --git a/src/vim9execute.c b/src/vim9execute.c --- 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