Hi,
I am planning to upgrade Kamailio to version 5.7.3 to manage some memory
leaks issues.
I am installing from source and came across these warnings, just wanted to
be sure if they are safe to be ignored.
cr_func.c: In function ‘set_next_domain_on_rule’:
cr_func.c:160:2: warning: missing braces around initializer
[-Wmissing-braces]
pv_value_t val = {0};
^
cr_func.c:160:2: warning: (near initialization for ‘val.rs’)
[-Wmissing-braces]
cr_func.c: In function ‘actually_rewrite’:
cr_func.c:348:2: warning: missing braces around initializer
[-Wmissing-braces]
pv_value_t val = {0};
^
cr_func.c:348:2: warning: (near initialization for ‘val.rs’)
[-Wmissing-braces]
cr_func.c: In function ‘ki_cr_load_user_carrier_helper’:
cr_func.c:782:2: warning: missing braces around initializer
[-Wmissing-braces]
pv_value_t val = {0};
^
--
LD (gcc) [M p_usrloc.so] p_usrloc.so
CC (gcc) [M evrexec.so] evrexec_mod.o
evrexec_mod.c:64:1: warning: missing braces around initializer
[-Wmissing-braces]
static evrexec_info_t _evrexec_info = {0};
^
evrexec_mod.c:64:1: warning: (near initialization for ‘_evrexec_info.data’)
[-Wmissing-braces]
LD (gcc) [M evrexec.so] evrexec.so
CC (gcc) [M avp.so] avp.o
LD (gcc) [M avp.so] avp.so
CC (gcc) [M acc_diameter.so] diam_message.o
CC (gcc) [M acc_diameter.so] acc_diameter_mod.o
CC (gcc) [M acc_diameter.so] diam_avp.o
CC (gcc) [M acc_diameter.so] diam_tcp.o
LD (gcc) [M acc_diameter.so] acc_diameter.so
CC (gcc) [M dmq.so] bind_dmq.o
CC (gcc) [M dmq.so] message.o
CC (gcc) [M dmq.so] dmq_funcs.o
dmq_funcs.c: In function ‘ki_dmq_send_message’:
dmq_funcs.c:304:3: warning: missing braces around initializer
[-Wmissing-braces]
dmq_peer_t new_peer = {0};
^
dmq_funcs.c:304:3: warning: (near initialization for ‘new_peer.peer_id’)
[-Wmissing-braces]
dmq_funcs.c: In function ‘ki_dmq_bcast_message’:
dmq_funcs.c:374:3: warning: missing braces around initializer
[-Wmissing-braces]
dmq_peer_t new_peer = {0};
^
dmq_funcs.c:374:3: warning: (near initialization for ‘new_peer.peer_id’)
[-Wmissing-braces]
CC (gcc) [M dmq.so] notification_peer.o
CC (gcc) [M dmq.so] dmq.o
dmq.c:61:1: warning: missing braces around initializer [-Wmissing-braces]
sip_uri_t dmq_server_uri = {0};
^
dmq.c:61:1: warning: (near initialization for ‘dmq_server_uri.user’)
[-Wmissing-braces]
dmq.c:67:1: warning: missing braces around initializer [-Wmissing-braces]
static sip_uri_t dmq_notification_uri = {0};
^
dmq.c:67:1: warning: (near initialization for ‘dmq_notification_uri.user’)
[-Wmissing-braces]
Muhammad Danish Moosa
" The core of mans' spirit comes from new experiences. "___ Christopher
McCandless