Browse Source

pipelimit: remove unused variable 'ret', fix compile warning

Henning Westerholt 7 năm trước cách đây
mục cha
commit
3c7dd38aec
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/modules/pipelimit/pl_ht.c

+ 0 - 1
src/modules/pipelimit/pl_ht.c

@@ -477,7 +477,6 @@ void rpc_pl_list(rpc_t *rpc, void *c)
 	int i;
 	pl_pipe_t *it;
 	str pipeid = STR_NULL;
-	int ret;
 
 	if (rpc->scan(c, "*S", &pipeid) < 1) {
 		pipeid.s = NULL;