diff src/vim9compile.c @ 19257:5aab9c306181 v8.2.0187

patch 8.2.0187: reduntant code Commit: https://github.com/vim/vim/commit/0b76ad53b30232093b96a74d5ce6f02395219456 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 31 21:20:51 2020 +0100 patch 8.2.0187: reduntant code Problem: Reduntant code. Solution: Remove unused assignments. (Dominique Pelle, closes https://github.com/vim/vim/issues/5557)
author Bram Moolenaar <Bram@vim.org>
date Fri, 31 Jan 2020 21:30:04 +0100
parents a8d2d3c8f0b3
children 77cce0439714
line wrap: on
line diff
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -1653,7 +1653,7 @@ compile_arguments(char_u **arg, cctx_T *
 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 *cc
     int		ret;
     char_u	*name;
 
-    start = *arg;
     ++*arg;
     len = get_env_len(arg);
     if (len == 0)