[sr-dev] git:master: modules/tmx: removed unused function

Juha Heinanen jh at tutpro.com
Mon Apr 21 16:35:07 CEST 2014


Module: sip-router
Branch: master
Commit: d771fbfe982548e5fc2b087d3e1897e9011d5dd6
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d771fbfe982548e5fc2b087d3e1897e9011d5dd6

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Mon Apr 21 17:34:33 2014 +0300

modules/tmx: removed unused function

---

 modules/tmx/t_var.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/modules/tmx/t_var.c b/modules/tmx/t_var.c
index 4fe974e..4d38d6b 100644
--- a/modules/tmx/t_var.c
+++ b/modules/tmx/t_var.c
@@ -322,20 +322,6 @@ int pv_get_t_var_rpl(struct sip_msg *msg,  pv_param_t *param,
 	return pv_get_spec_value(&_pv_trpl.msg, pv, res);
 }
 
-int pv_get_t_var_branch(struct sip_msg *msg,  pv_param_t *param,
-		pv_value_t *res)
-{
-	pv_spec_t *pv=NULL;
-
-	if(pv_t_update_rpl(msg))
-		return pv_get_null(msg, param, res);
-
-	pv = (pv_spec_t*)param->pvn.u.dname;
-	if(pv==NULL || pv_alter_context(pv))
-		return pv_get_null(msg, param, res);
-
-	return pv_get_spec_value(&_pv_trpl.msg, pv, res);
-}
 
 int pv_get_t_var_inv(struct sip_msg *msg,  pv_param_t *param,
 		pv_value_t *res)




More information about the sr-dev mailing list