[sr-dev] sipdump compile trouble

Juha Heinanen jh at tutpro.com
Mon Oct 16 10:35:05 CEST 2017

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;

More information about the sr-dev mailing list