[sr-dev] compiler warnings

Juha Heinanen jh at tutpro.com
Tue Apr 3 16:07:51 CEST 2012


recently there has been commits that cause compiler warnings shown
below. 

please fix or revert the commits.

-- juha

action.c: In function ‘run_actions’:
action.c:1583: warning: ‘ms’ may be used uninitialized in this function
CC (cc) [sip-proxy]		msg_translator.o
msg_translator.c: In function ‘lumps_len’:
msg_translator.c:582: warning: ‘recv_address_str’ may be used uninitialized in this function
msg_translator.c:583: warning: ‘recv_port_str’ may be used uninitialized in this function
msg_translator.c:584: warning: ‘recv_port_no’ may be used uninitialized in this function
msg_translator.c: In function ‘process_lumps’:
msg_translator.c:921: warning: ‘recv_address_str’ may be used uninitialized in this function
msg_translator.c:922: warning: ‘recv_port_str’ may be used uninitialized in this function
msg_translator.c:923: warning: ‘recv_port_no’ may be used uninitialized in this function
CC (cc) [L libsrdb1.so.1.0]		db_query.o
db_query.c: In function ‘db_do_submit_query’:
db_query.c:50: warning: ‘ms’ may be used uninitialized in this function
CC (cc) [M textops.so]		textops.o
textops.c: In function ‘subst_hf_f’:
textops.c:2242: warning: ‘hfl’ may be used uninitialized in this function
textops.c: In function ‘search_hf_f’:
textops.c:2161: warning: ‘hfl’ may be used uninitialized in this function



More information about the sr-dev mailing list