summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/Modules/mathfunc.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 500ba10bd..9de7d953b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/Src/Modules/mathfunc.c b/Src/Modules/mathfunc.c
index 01a2913ef..d1c3e089a 100644
--- a/Src/Modules/mathfunc.c
+++ b/Src/Modules/mathfunc.c
@@ -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;