0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.2.0187: reduntant code

Problem:    Reduntant code.
Solution:   Remove unused assignments. (Dominique Pelle, closes #5557)
This commit is contained in:
Bram Moolenaar
2020-01-31 21:20:51 +01:00
parent 705724e430
commit 0b76ad53b3
2 changed files with 3 additions and 2 deletions

View File

@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
187,
/**/ /**/
186, 186,
/**/ /**/

View 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) compile_call(char_u **arg, size_t varlen, cctx_T *cctx, int argcount_init)
{ {
char_u *name = *arg; char_u *name = *arg;
char_u *p = *arg + varlen + 1; char_u *p;
int argcount = argcount_init; int argcount = argcount_init;
char_u namebuf[100]; char_u namebuf[100];
ufunc_T *ufunc; ufunc_T *ufunc;
@@ -2058,7 +2058,6 @@ compile_get_env(char_u **arg, cctx_T *cctx)
int ret; int ret;
char_u *name; char_u *name;
start = *arg;
++*arg; ++*arg;
len = get_env_len(arg); len = get_env_len(arg);
if (len == 0) if (len == 0)