Module: kamailio
Branch: master
Commit: 9f016b1f5d5ba435bb7c53bd663fdbb58c8d093c
URL:
https://github.com/kamailio/kamailio/commit/9f016b1f5d5ba435bb7c53bd663fdbb…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2024-12-19T19:13:36Z
mohqueue: fix compilation warning about fixup_free_count
- fix compilation warning about fixup_free_count, function was added but not used
- mohqueue_mod.c:147:12: warning: ������fixup_free_count������ defined but not used
[-Wunused-function]
---
Modified: src/modules/mohqueue/mohqueue_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9f016b1f5d5ba435bb7c53bd663fdbb…
Patch:
https://github.com/kamailio/kamailio/commit/9f016b1f5d5ba435bb7c53bd663fdbb…
---
diff --git a/src/modules/mohqueue/mohqueue_mod.c b/src/modules/mohqueue/mohqueue_mod.c
index b68e9a97794..9ae650dd6e0 100644
--- a/src/modules/mohqueue/mohqueue_mod.c
+++ b/src/modules/mohqueue/mohqueue_mod.c
@@ -59,7 +59,7 @@ int moh_maxcalls = 50;
/* COMMANDS */
static cmd_export_t mod_cmds[] = {
{"mohq_count", (cmd_function)mohq_count, 2,
- fixup_count, 0,
+ fixup_count, fixup_free_count,
REQUEST_ROUTE | FAILURE_ROUTE | ONREPLY_ROUTE},
{"mohq_process", (cmd_function)mohq_process, 0,
0, 0, REQUEST_ROUTE},