1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-25 15:43:13 +03:00

migrate from FOLLY_MAYBE_UNUSED to [[maybe_unused]]

Reviewed By: ot, Orvid, xinchenguo

Differential Revision: D54089810

fbshipit-source-id: c88eb520404590c9759e0e29966d1399c26a2244
This commit is contained in:
Yedidya Feldblum
2024-02-28 13:28:26 -08:00
committed by Facebook GitHub Bot
parent d842e7267b
commit f8ccdde463
8 changed files with 36 additions and 36 deletions

View File

@@ -1079,7 +1079,7 @@ bool QuicClientTransport::isTLSResumed() const {
}
void QuicClientTransport::errMessage(
FOLLY_MAYBE_UNUSED const cmsghdr& cmsg) noexcept {
[[maybe_unused]] const cmsghdr& cmsg) noexcept {
#ifdef FOLLY_HAVE_MSG_ERRQUEUE
if ((cmsg.cmsg_level == SOL_IP && cmsg.cmsg_type == IP_RECVERR) ||
(cmsg.cmsg_level == SOL_IPV6 && cmsg.cmsg_type == IPV6_RECVERR)) {