Module: kamailio Branch: master Commit: 0d2dd5b0a2c4c910e27ae7162d72f446ff92e365 URL: https://github.com/kamailio/kamailio/commit/0d2dd5b0a2c4c910e27ae7162d72f446ff92e365
Author: Henning Westerholt <h...@kamailio.org> Committer: Henning Westerholt <h...@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) { _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev