From c0fc98f3a80293ff4e3a80310214ecdac64e3e50 Mon Sep 17 00:00:00 2001 From: mjpt777 Date: Fri, 9 Aug 2024 15:14:09 +0100 Subject: [PATCH] [C++] Fix warnings. --- aeron-client/src/main/cpp_wrapper/Aeron.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aeron-client/src/main/cpp_wrapper/Aeron.h b/aeron-client/src/main/cpp_wrapper/Aeron.h index 2363ad091b..64af17848f 100644 --- a/aeron-client/src/main/cpp_wrapper/Aeron.h +++ b/aeron-client/src/main/cpp_wrapper/Aeron.h @@ -82,7 +82,6 @@ class Aeron aeron_on_close_client_pair_t closePair = {emptyCallback, nullptr}; aeron_add_close_handler(m_aeron, &closePair); aeron_close(m_aeron); -// aeron_context_close(m_context.m_context); m_availableCounterHandlers.clear(); m_unavailableCounterHandlers.clear(); @@ -1048,7 +1047,7 @@ class Aeron callback(); } - static void emptyCallback(void *clientd) + static void emptyCallback(void * /* clientd */) { } };