Module: kamailio
Branch: master
Commit: be969c3643fca5f07b32f434b454a1ef9b596fce
URL: 
https://github.com/kamailio/kamailio/commit/be969c3643fca5f07b32f434b454a1ef9b596fce

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-01-16T09:48:30+01:00

ims_icscf: fix compiler warning

> cxdx_lir.c: In function 'async_cdp_lir_callback':
> cxdx_lir.c:82:24: warning: unused variable 'ra_ctx' [-Wunused-variable]
>      struct run_act_ctx ra_ctx;
>                         ^~~~~~

---

Modified: src/modules/ims_icscf/cxdx_lir.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/be969c3643fca5f07b32f434b454a1ef9b596fce.diff
Patch: 
https://github.com/kamailio/kamailio/commit/be969c3643fca5f07b32f434b454a1ef9b596fce.patch

---

diff --git a/src/modules/ims_icscf/cxdx_lir.c b/src/modules/ims_icscf/cxdx_lir.c
index 25d7fef..efc0413 100644
--- a/src/modules/ims_icscf/cxdx_lir.c
+++ b/src/modules/ims_icscf/cxdx_lir.c
@@ -79,7 +79,6 @@ void free_saved_lir_transaction_data(saved_lir_transaction_t* 
data) {
 }
 
 void async_cdp_lir_callback(int is_timeout, void *param, AAAMessage *lia, long 
elapsed_msecs) {
-    struct run_act_ctx ra_ctx;
     str server_name;
     int *m_capab = 0, m_capab_cnt = 0;
     int *o_capab = 0, o_capab_cnt = 0;


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to