]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.0187: reduntant code v8.2.0187
authorBram Moolenaar <Bram@vim.org>
Fri, 31 Jan 2020 20:20:51 +0000 (21:20 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 31 Jan 2020 20:20:51 +0000 (21:20 +0100)
Problem:    Reduntant code.
Solution:   Remove unused assignments. (Dominique Pelle, closes #5557)

src/version.c
src/vim9compile.c

index 839617a1c2ac8efa9ee5c08645bf21356bb4dae7..f4022c6d8a57803e08d5935c3e5ad2bd974dd59b 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    187,
 /**/
     186,
 /**/
index 69a2d1b1427b6f560eee5d9c8419b98d7cd84b6f..fe836487ba4deb8414b597137cc8aa0318f0a9ea 100644 (file)
@@ -1653,7 +1653,7 @@ compile_arguments(char_u **arg, cctx_T *cctx, int *argcount)
 compile_call(char_u **arg, size_t varlen, cctx_T *cctx, int argcount_init)
 {
     char_u     *name = *arg;
-    char_u     *p = *arg + varlen + 1;
+    char_u     *p;
     int                argcount = argcount_init;
     char_u     namebuf[100];
     ufunc_T    *ufunc;
@@ -2058,7 +2058,6 @@ compile_get_env(char_u **arg, cctx_T *cctx)
     int                ret;
     char_u     *name;
 
-    start = *arg;
     ++*arg;
     len = get_env_len(arg);
     if (len == 0)