Thanks, fixed.
Daniel
On 16.10.17 10:35, Juha Heinanen wrote:
CC (gcc) [M sipdump.so] sipdump_mod.o
In file included from ../../core/parser/../ut.h:42:0,
from ../../core/parser/../ip_addr.h:39,
from ../../core/parser/msg_parser.h:37,
from ../../core/sr_module.h:34,
from sipdump_mod.c:30:
sipdump_mod.c: In function 'child_init':
../../core/parser/../dprint.h:302:8: warning: 'i' may be used uninitialized in
this function [-Wmaybe-uninitialized]
fprintf(stderr, "%.*s%2d(%d) %s: %s" fmt, \
^~~~~~~
sipdump_mod.c:124:6: note: 'i' was declared here
int i;
^
CC (gcc) [M sipdump.so] sipdump_write.o
sipdump_write.c: In function 'sipdump_rotate_file':
sipdump_write.c:135:6: warning: variable 'n' set but not used
[-Wunused-but-set-variable]
int n;
^
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
--
Daniel-Constantin Mierla
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training -
www.asipto.com
Kamailio World Conference -
www.kamailioworld.com