* that <pkts> list is not empty. Without this, GCC 12.2.0 reports a
* possible overflow on a 0 byte region with O2 optimization.
*/
- ALREADY_CHECKED(oldest_lost);
+ ASSUME_NONNULL(oldest_lost);
quic_tx_packet_refdec(oldest_lost);
if (newest_lost != oldest_lost)
quic_tx_packet_refdec(newest_lost);
/* Set first msg_controllen to be able to use CMSG_* macros. */
msg->msg_controllen += CMSG_SPACE(sz);
+ /* seems necessary to please gcc-13 */
+ ASSUME_NONNULL(CMSG_FIRSTHDR(msg));
+
*cmsg = !(*cmsg) ? CMSG_FIRSTHDR(msg) : CMSG_NXTHDR(msg, *cmsg);
- ALREADY_CHECKED(*cmsg);
+ ASSUME_NONNULL(*cmsg);
c = *cmsg;
c->cmsg_len = CMSG_LEN(sz);
/* Set first msg_controllen to be able to use CMSG_* macros. */
msg->msg_controllen += CMSG_SPACE(sz);
+ /* seems necessary to please gcc-13 */
+ ASSUME_NONNULL(CMSG_FIRSTHDR(msg));
+
*cmsg = !(*cmsg) ? CMSG_FIRSTHDR(msg) : CMSG_NXTHDR(msg, *cmsg);
- ALREADY_CHECKED(*cmsg);
+ ASSUME_NONNULL(*cmsg);
c = *cmsg;
c->cmsg_len = CMSG_LEN(sz);
TRACE_STATE("datagram for other connection on quic-conn socket, requeue it", QUIC_EV_CONN_RCV, qc);
rxbuf = MT_LIST_POP(&l->rx.rxbuf_list, typeof(rxbuf), rxbuf_el);
- ALREADY_CHECKED(rxbuf);
+ ASSUME_NONNULL(rxbuf);
cspace = b_contig_space(&rxbuf->buf);
tmp_dgram = quic_rxbuf_purge_dgrams(rxbuf);