[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:13:15 CET 2019


**tcpops.c**
```
LD (gcc) [M pv.so]	pv.so
CC (gcc) [M tcpops.so]	tcpops_mod.o
CC (gcc) [M tcpops.so]	tcpops.o
tcpops.c: In function 'tcpops_handle_tcp_closed':
tcpops.c:264:31: warning: 'rt' may be used uninitialized in this function [-Wmaybe-uninitialized]
264 | run_top_route(event_rt.rlist[rt], fmsg, 0);
| ^
tcpops.c:235:6: note: 'rt' was declared here
235 | int rt, backup_rt;
| ^~
LD (gcc) [M tcpops.so]	tcpops.so
CC (gcc) [M db_cluster.so]	dbcl_api.o
CC (gcc) [M db_cluster.so]	dbcl_data.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-562610652
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191206/8a55cd71/attachment-0001.html>


More information about the sr-dev mailing list