소스 검색

sipcapture: initialize variable to get rid of compile warning

Daniel-Constantin Mierla 8 년 전
부모
커밋
27ba383b5a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/sipcapture/sipcapture.c

+ 1 - 1
modules/sipcapture/sipcapture.c

@@ -2496,7 +2496,7 @@ static int report_capture(struct sip_msg *msg, str *_table, str* _corr,  str *_d
 	struct timezone tz;
 	char tmp_node[100];
 	time_t epoch_time_as_time_t;
-	str corrtmp, tmp;
+	str corrtmp = STR_NULL, tmp;
 
 
 	_capture_mode_data_t *c = NULL;