iuh: Coverity build breakage because of old sctp

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Freyther holger at freyther.de
Wed Apr 6 19:26:57 UTC 2016


Hi,

sua.c: In function 'rx_inact_tmr_cb':
sua.c:288: warning: unused variable 'conn'
sua.c: In function 'sua_rx_coref':
sua.c:908: warning: unused variable 'cause'
sua.c: In function 'sua_rx_codt':
sua.c:1059: warning: unused variable 'cur'
sua.c: In function 'sua_srv_conn_cb':
sua.c:1266: error: 'SCTP_SENDER_DRY_EVENT' undeclared (first use in this function)
sua.c:1266: error: (Each undeclared identifier is reported only once
sua.c:1266: error: for each function it appears in.)
sua.c: In function 'sua_cli_read_cb':
sua.c:1451: error: 'SCTP_SENDER_DRY_EVENT' undeclared (first use in this function)

can we make the SCTP_SENDER_DRY_EVENT optional or is a strict requirement? If it is strict then maybe we can check for this in autoconf?

holger


More information about the OpenBSC mailing list