[sr-dev] master compiler warnings

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 22 10:24:06 CEST 2014


Fixed first two modules, the third should be easy, but I have no more 
time for it now -- if anyone else wants to jump on, just do it.

Cheers,
Daniel

On 22/04/14 10:05, Juha Heinanen wrote:
> debian wheezy gcc provides these compiler warnings on master.  at least
> the avpops ones i don't remember seeing earlier.
>
> -- juha
>
> CC (cc) [M avpops.so]		avpops_impl.o
> avpops_impl.c: In function 'ops_dbload_avps':
> avpops_impl.c:294:2: warning: missing braces around initializer [-Wmissing-braces]
> avpops_impl.c:294:2: warning: (near initialization for 'xvalue.rs') [-Wmissing-braces]
>
> CC (cc) [M sctp.so]		sctp_mod.o
> sctp_mod.c:125:12: warning: 'sctp_mod_pre_init' defined but not used [-Wunused-function]
>
> CC (cc) [M tls.so]		tls_server.o
> tls_server.c: In function 'tls_complete_init':
> tls_server.c:192:3: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
> tls_server.c: In function 'tls_shutdown':
> tls_server.c:521:4: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
> tls_server.c: In function 'tls_encode_f':
> tls_server.c:798:5: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
> tls_server.c:832:5: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
> tls_server.c: In function 'tls_read_f':
> tls_server.c:1186:4: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
> tls_server.c:1220:4: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-dev mailing list