Module: sip-router
Branch: master
Commit: 4fff506212669d8981c9a05c9b4e31939eb71e55
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4fff506…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Aug 14 17:57:45 2014 +0200
uac: removed unused variables
---
modules/uac/uac_reg.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/modules/uac/uac_reg.c b/modules/uac/uac_reg.c
index 544c3e4..9b2abef 100644
--- a/modules/uac/uac_reg.c
+++ b/modules/uac/uac_reg.c
@@ -1274,7 +1274,6 @@ int uac_reg_db_refresh(str *pl_uuid)
reg_dbf.free_result(reg_db_con, db_res);
reg_dbf.close(reg_db_con);
-done:
return 0;
error:
@@ -1586,9 +1585,6 @@ static void rpc_uac_reg_update_flag(rpc_t* rpc, void* ctx, int mode,
int fval)
{
int i;
reg_item_t *reg = NULL;
- void* th;
- str none = {"none", 4};
- time_t tn;
str attr = {0};
str val = {0};
str *rval;
@@ -1611,8 +1607,6 @@ static void rpc_uac_reg_update_flag(rpc_t* rpc, void* ctx, int mode,
int fval)
return;
}
- tn = time(NULL);
-
for(i=0; i<_reg_htable->htsize; i++)
{
lock_get(&_reg_htable->entries[i].lock);