Browse Source

sipcapture: initialize variable to get rid of compile warning

Daniel-Constantin Mierla 8 years ago
parent
commit
27ba383b5a
1 changed files with 1 additions and 1 deletions
  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;