Module: sip-router
Branch: master
Commit: 880b447b43bb75328a3cd2f245d969272812ae42
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=880b447…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Nov 30 18:57:21 2011 +0100
dialog(k): disable unused functionunref_new_dialog()
- get rid of compliler warning
---
modules_k/dialog/dlg_handlers.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules_k/dialog/dlg_handlers.c b/modules_k/dialog/dlg_handlers.c
index ac4dacd..9c4686a 100644
--- a/modules_k/dialog/dlg_handlers.c
+++ b/modules_k/dialog/dlg_handlers.c
@@ -705,6 +705,7 @@ void dlg_onreq(struct cell* t, int type, struct tmcb_params *param)
* \see dlg_onreq
* \param dialog unreferenced dialog
*/
+#if 0
static void unref_new_dialog(void *iuid)
{
struct tmcb_params p;
@@ -713,6 +714,7 @@ static void unref_new_dialog(void *iuid)
p.param = (void*)&iuid;
dlg_onreply(0, TMCB_DESTROY, &p);
}
+#endif
/*!