1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 04:12:06 +02:00

42938: name argument to math_func is not unused

This commit is contained in:
Eitan Adler 2018-06-06 05:59:58 +00:00 committed by Peter Stephenson
parent 6a3b23e9cc
commit 96ec8cbbf4
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2018-06-06 Peter Stephenson <p.stephenson@samsung.com>
* Eitan: 42938: Src/Modules/mathfunc.c: name argument to
math_func is not unused.
* Eitan: 42939: Src/Zle/zle_params.c: pm argument to
set_registers is not unused.

View file

@ -164,7 +164,7 @@ static struct mathfunc mftab[] = {
/**/
static mnumber
math_func(char *name, int argc, mnumber *argv, int id)
math_func(UNUSED(char *name), int argc, mnumber *argv, int id)
{
mnumber ret;
double argd = 0, argd2 = 0, retd = 0;