Module: sip-router Branch: master Commit: 7eaaf7ec7a3727ea38a330d51771b0446c58d8d6 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7eaaf7ec7a3727ea38a330d51771b0446c58d8d6
Author: Vicente Hernando <[email protected]> Committer: Vicente Hernando <[email protected]> Date: Mon Apr 8 12:13:54 2013 +0200 modules/ndb_redis: avoid warning unused next_rpl variable. --- modules/ndb_redis/redis_client.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/modules/ndb_redis/redis_client.c b/modules/ndb_redis/redis_client.c index 0d8f703..3cc7639 100644 --- a/modules/ndb_redis/redis_client.c +++ b/modules/ndb_redis/redis_client.c @@ -479,7 +479,7 @@ redisc_reply_t *redisc_get_reply(str *name) */ int redisc_free_reply(str *name) { - redisc_reply_t *rpl, *next_rpl; + redisc_reply_t *rpl; unsigned int hid; if(name==NULL || name->len==0) { @@ -494,7 +494,6 @@ int redisc_free_reply(str *name) if(rpl->hname==hid && rpl->rname.len==name->len && strncmp(rpl->rname.s, name->s, name->len)==0) { - next_rpl = rpl->next; if(rpl->rplRedis) { freeReplyObject(rpl->rplRedis); rpl->rplRedis = NULL; _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
