瀏覽代碼

pv: remove unused vars in $hdrc(...) implementation

- reported by Juha Heinanen
Daniel-Constantin Mierla 8 年之前
父節點
當前提交
71fce8d061
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      src/modules/pv/pv_core.c

+ 0 - 5
src/modules/pv/pv_core.c

@@ -1802,13 +1802,8 @@ int pv_get_hdr(struct sip_msg *msg,  pv_param_t *param, pv_value_t *res)
  */
 int pv_get_hdrc(struct sip_msg *msg,  pv_param_t *param, pv_value_t *res)
 {
-	int idx;
-	int idxf;
 	pv_value_t tv;
 	struct hdr_field *hf;
-	struct hdr_field *hf0;
-	char *p, *p_ini;
-	int n, p_size;
 	int hcount;
 
 	if(msg==NULL || res==NULL || param==NULL)