[sr-dev] [kamailio/kamailio] several compilation warnings: parameter may be used uninitialized and other (#2169)

sergey-safarov notifications at github.com
Fri Dec 6 16:14:39 CET 2019


**t_suspend.c & sip_msg.h**
```
CC (gcc) [M tm.so]	t_fwd.o
CC (gcc) [M tm.so]	timer.o
CC (gcc) [M tm.so]	select.o
CC (gcc) [M tm.so]	t_suspend.o
t_suspend.c: In function 't_continue_helper':
t_suspend.c:526:16: warning: 'erpl' may be used uninitialized in this function [-Wmaybe-uninitialized]
526 | (void*)hdr>=(void*)erpl)) {
| ~~~~~~~~~~^~~~~~~~~~~~~
In file included from t_suspend.c:29:
sip_msg.h:69:15: warning: 'brpl' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | if((_p_msg)->add_rm) \
| ^~
t_suspend.c:168:13: note: 'brpl' was declared here
168 | sip_msg_t *brpl;
| ^~~~
CC (gcc) [M tm.so]	t_serial.o
CC (gcc) [M tm.so]	t_stats.o
CC (gcc) [M tm.so]	rpc_uac.o
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2169#issuecomment-562611334
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191206/a4c1770b/attachment.html>


More information about the sr-dev mailing list