[sr-dev] modules compiler warnings

Andrew Mortensen admorten at isc.upenn.edu
Wed Dec 5 20:07:11 CET 2012


Thanks for the report. The warnings when compiling the sca module are fixed.

On Dec 5, 2012, at 1:31 PM, Ovidiu Sas <osas at voipembedded.com> wrote:

> $ gcc --version
> gcc (Debian 4.7.2-4) 4.7.2
> 
> ... snip ...
> 
> CC (gcc) [M sca.so]             sca_call_info.o
> sca_call_info.c: In function âsca_call_info_seize_held_callâ:
> sca_call_info.c:689:11: warning: the comparison will always evaluate
> as âfalseâ for the address of âcallee_aorâ will never be NULL
> [-Waddress]
> 
> (gcc) [M sca.so]             sca_rpc.o
> sca_rpc.c: In function âsca_rpc_update_appearanceâ:
> sca_rpc.c:369:8: warning: the comparison will always evaluate as
> âfalseâ for the address of âapp_uriâ will never be NULL [-Waddress]
> CC (gcc) [M sca.so]             sca_subscribe.o
> sca_subscribe.c: In function âsca_subscription_from_requestâ:
> sca_subscribe.c:1020:10: warning: the comparison will always evaluate
> as âfalseâ for the address of âto_tagâ will never be NULL [-Waddress]
> ... snip ...



More information about the sr-dev mailing list