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:
committed by
Facebook GitHub Bot
parent
d842e7267b
commit
f8ccdde463
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user