Module: kamailio
Branch: master
Commit: 0d2dd5b0a2c4c910e27ae7162d72f446ff92e365
URL:
https://github.com/kamailio/kamailio/commit/0d2dd5b0a2c4c910e27ae7162d72f44…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-08-31T19:12:19+02:00
uac: remove unused variable 'none' compiler warning, reported from Juha
---
Modified: src/modules/uac/uac_reg.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0d2dd5b0a2c4c910e27ae7162d72f44…
Patch:
https://github.com/kamailio/kamailio/commit/0d2dd5b0a2c4c910e27ae7162d72f44…
---
diff --git a/src/modules/uac/uac_reg.c b/src/modules/uac/uac_reg.c
index ba53c8ed12..625cd434be 100644
--- a/src/modules/uac/uac_reg.c
+++ b/src/modules/uac/uac_reg.c
@@ -2107,7 +2107,6 @@ static void rpc_uac_reg_active(rpc_t* rpc, void* ctx)
}
omode = *reg_active;
*reg_active = (nmode)?1:0;
- str none = {"none", 4};
/* add entry node */
if (rpc->add(ctx, "{", &th) < 0) {