Pārlūkot izejas kodu

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

- reported by Juha Heinanen
Daniel-Constantin Mierla 8 gadi atpakaļ
vecāks
revīzija
71fce8d061
1 mainītis faili ar 0 papildinājumiem un 5 dzēšanām
  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 pv_get_hdrc(struct sip_msg *msg,  pv_param_t *param, pv_value_t *res)
 {
 {
-	int idx;
-	int idxf;
 	pv_value_t tv;
 	pv_value_t tv;
 	struct hdr_field *hf;
 	struct hdr_field *hf;
-	struct hdr_field *hf0;
-	char *p, *p_ini;
-	int n, p_size;
 	int hcount;
 	int hcount;
 
 
 	if(msg==NULL || res==NULL || param==NULL)
 	if(msg==NULL || res==NULL || param==NULL)