Mercurial > vim
comparison src/testing.c @ 27114:98a01021e465 v8.2.4086
patch 8.2.4086: "cctx" argument of find_func_even_dead() is unused
Commit: https://github.com/vim/vim/commit/d9d2fd0aa33dd9f7460d6f1e403505a60f7ce2fc
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 13 21:15:21 2022 +0000
patch 8.2.4086: "cctx" argument of find_func_even_dead() is unused
Problem: "cctx" argument of find_func_even_dead() is unused.
Solution: Remove the argument.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 13 Jan 2022 22:30:05 +0100 |
parents | 06a137af96f8 |
children | 5b267700e6ab |
comparison
equal
deleted
inserted
replaced
27113:93194ce58678 | 27114:98a01021e465 |
---|---|
1111 case VAR_FUNC: | 1111 case VAR_FUNC: |
1112 if (argvars[0].vval.v_string != NULL) | 1112 if (argvars[0].vval.v_string != NULL) |
1113 { | 1113 { |
1114 ufunc_T *fp; | 1114 ufunc_T *fp; |
1115 | 1115 |
1116 fp = find_func(argvars[0].vval.v_string, FALSE, NULL); | 1116 fp = find_func(argvars[0].vval.v_string, FALSE); |
1117 if (fp != NULL) | 1117 if (fp != NULL) |
1118 retval = fp->uf_refcount; | 1118 retval = fp->uf_refcount; |
1119 } | 1119 } |
1120 break; | 1120 break; |
1121 case VAR_PARTIAL: | 1121 case VAR_PARTIAL: |