[sr-dev] git:master:0d2dd5b0: uac: remove unused variable 'none' compiler warning, reported from Juha
Henning Westerholt
hw at kamailio.org
Fri Aug 31 19:12:52 CEST 2018
Module: kamailio
Branch: master
Commit: 0d2dd5b0a2c4c910e27ae7162d72f446ff92e365
URL: https://github.com/kamailio/kamailio/commit/0d2dd5b0a2c4c910e27ae7162d72f446ff92e365
Author: Henning Westerholt <hw at kamailio.org>
Committer: Henning Westerholt <hw at 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/0d2dd5b0a2c4c910e27ae7162d72f446ff92e365.diff
Patch: https://github.com/kamailio/kamailio/commit/0d2dd5b0a2c4c910e27ae7162d72f446ff92e365.patch
---
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) {
More information about the sr-dev
mailing list