Browse Source

uac: removed unused variables

Daniel-Constantin Mierla 11 years ago
parent
commit
4fff506212
1 changed files with 0 additions and 6 deletions
  1. 0 6
      modules/uac/uac_reg.c

+ 0 - 6
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);