浏览代码

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;