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

@@ -23,8 +23,8 @@ T* QuicAsyncUDPSocket::getTypedSocket() const {
}
void QuicAsyncUDPSocket::fromMsg(
FOLLY_MAYBE_UNUSED ReadCallback::OnDataAvailableParams& params,
FOLLY_MAYBE_UNUSED struct msghdr& msg) {
[[maybe_unused]] ReadCallback::OnDataAvailableParams& params,
[[maybe_unused]] struct msghdr& msg) {
#ifdef FOLLY_HAVE_MSG_ERRQUEUE
struct cmsghdr* cmsg;
uint16_t* grosizeptr;