[sr-dev] git:master:5be6d11e: topos_redis: removed unused variables

Daniel-Constantin Mierla miconda at gmail.com
Sat Aug 12 08:28:47 CEST 2017


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-08-12T08:27:15+02:00

topos_redis: removed unused variables

---

Modified: src/modules/topos_redis/topos_redis_storage.c

---

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

---

diff --git a/src/modules/topos_redis/topos_redis_storage.c b/src/modules/topos_redis/topos_redis_storage.c
index 7753cd89c8..51c839487d 100644
--- a/src/modules/topos_redis/topos_redis_storage.c
+++ b/src/modules/topos_redis/topos_redis_storage.c
@@ -825,10 +825,8 @@ int tps_redis_update_branch(sip_msg_t *msg, tps_data_t *md, tps_data_t *sd,
 	str rcmd = str_init("HMSET");
 	str rkey = STR_NULL;
 	char *rp;
-	str rval = STR_NULL;
 	redisc_server_t *rsrv = NULL;
 	redisReply *rrpl = NULL;
-	int32_t liflags;
 
 	if(sd->a_uuid.len<=0 && sd->b_uuid.len<=0) {
 		LM_INFO("no uuid for this message\n");




More information about the sr-dev mailing list