comparison 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
comparison
equal deleted inserted replaced
19256:527bdb7f21bc 19257:5aab9c306181
1651 */ 1651 */
1652 static int 1652 static int
1653 compile_call(char_u **arg, size_t varlen, cctx_T *cctx, int argcount_init) 1653 compile_call(char_u **arg, size_t varlen, cctx_T *cctx, int argcount_init)
1654 { 1654 {
1655 char_u *name = *arg; 1655 char_u *name = *arg;
1656 char_u *p = *arg + varlen + 1; 1656 char_u *p;
1657 int argcount = argcount_init; 1657 int argcount = argcount_init;
1658 char_u namebuf[100]; 1658 char_u namebuf[100];
1659 ufunc_T *ufunc; 1659 ufunc_T *ufunc;
1660 1660
1661 if (varlen >= sizeof(namebuf)) 1661 if (varlen >= sizeof(namebuf))
2056 char_u *start = *arg; 2056 char_u *start = *arg;
2057 int len; 2057 int len;
2058 int ret; 2058 int ret;
2059 char_u *name; 2059 char_u *name;
2060 2060
2061 start = *arg;
2062 ++*arg; 2061 ++*arg;
2063 len = get_env_len(arg); 2062 len = get_env_len(arg);
2064 if (len == 0) 2063 if (len == 0)
2065 { 2064 {
2066 semsg(_(e_syntax_at), start - 1); 2065 semsg(_(e_syntax_at), start - 1);