Browse code

xprint: init var to get rid of compile warning

Daniel-Constantin Mierla authored on 01/07/2017 06:03:29
Showing 1 changed files
... ...
@@ -1706,7 +1706,7 @@ int xl_shm_parse_format2(char *s, xl_elog_p *el, xl_parse_cb cb)
1706 1706
 int xl_print_log(struct sip_msg* msg, xl_elog_p log, char *buf, int *len)
1707 1707
 {
1708 1708
 	int n, h;
1709
-	str tok;
1709
+	str tok = STR_NULL;
1710 1710
 	xl_elog_p it;
1711 1711
 	char *cur;
1712 1712