From 790fb9fe5f45362869d3d838583c8a1067ec5f6b Mon Sep 17 00:00:00 2001 From: Miguel Company Date: Mon, 19 Aug 2024 12:44:08 +0200 Subject: [PATCH] Fix warning in oss fuzz build (#5163) Signed-off-by: Miguel Company --- src/cpp/rtps/messages/MessageReceiver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpp/rtps/messages/MessageReceiver.cpp b/src/cpp/rtps/messages/MessageReceiver.cpp index 7419567708a..1cc8916e175 100644 --- a/src/cpp/rtps/messages/MessageReceiver.cpp +++ b/src/cpp/rtps/messages/MessageReceiver.cpp @@ -68,6 +68,7 @@ MessageReceiver::MessageReceiver( , crypto_payload_(participant->is_secure() ? rec_buffer_size : 0) #endif // if HAVE_SECURITY { + static_cast(participant); (void)rec_buffer_size; EPROSIMA_LOG_INFO(RTPS_MSG_IN, "Created with CDRMessage of size: " << rec_buffer_size);