<div dir="ltr">I'm guessing the warning is because decode_open_type gets a pointer to them before they're initialised. Not a problem if they're only for output but guessing the compiler can't tell that.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 17 October 2013 13:00, Steve Underwood <span dir="ltr"><<a href="mailto:steveu@coppice.org" target="_blank">steveu@coppice.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 10/17/2013 07:13 AM, Sadjad Seyed-Ahmadian wrote:<br>
> Hi,<br>
><br>
> I am try to install a FreeSWITCH stable version 1.2.13 on a fresh<br>
> CentOS. I installed all prereqired packages as they are in wiki,<br>
> configure goes well but while I try to do make I got this error on<br>
> mod_spandsp.<br>
><br>
><br>
> making all mod_spandsp<br>
> Creating mod_spandsp_la-mod_spandsp.lo<br>
> mkdir .libs<br>
> Compiling mod_spandsp.c ...<br>
> Creating mod_spandsp_la-udptl.lo<br>
> Compiling udptl.c ...<br>
> cc1: warnings being treated as errors<br>
> udptl.c: In function 'udptl_rx_packet':<br>
> udptl.c:174: warning: 'data' may be used uninitialized in this function<br>
> udptl.c:173: warning: 'msg' may be used uninitialized in this function<br>
> make[3]: *** [mod_spandsp_la-udptl.lo] Error 1<br>
> make[2]: *** [mod_spandsp-all] Error 1<br>
> make[1]: *** [mod_spandsp] Error 2<br>
> make: *** [mod_spandsp] Error 2<br>
><br>
><br>
> Would somebody please help me with that?<br>
><br>
> Best Regards<br>
> Sadjad<br>
><br>
</div></div>Centos 6.4 doesn't do that. Which version of Centos are you using? I<br>
might be missing something, but those two warnings seem bogus.<br>
<br>
Steve<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>