]> granicus.if.org Git - vim/commitdiff
patch 8.2.0819: compiler warning for unused variable v8.2.0819
authorBram Moolenaar <Bram@vim.org>
Sun, 24 May 2020 21:14:23 +0000 (23:14 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 24 May 2020 21:14:23 +0000 (23:14 +0200)
Problem:    Compiler warning for unused variable.
Solution:   Remove the variable.

src/evalvars.c
src/version.c

index 6ab33184b437a42b832a6bfbedba514d9cfd3836..a45080b540aefcfd8c2306377a7b16ac1df48f24 100644 (file)
@@ -777,7 +777,6 @@ ex_let_const(exarg_T *eap)
     else
     {
        int eval_flags;
-       int save_called_emsg = called_emsg;
 
        rettv.v_type = VAR_UNKNOWN;
        i = FAIL;
index a5d2a8f7bf3e6ac84570ba2482107217a1198a78..63bf51d5c1e971f5539eb03365444f86ff1cf40c 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    819,
 /**/
     818,
 /**/