Skip to content

Commit

Permalink
[C++] Fix warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpt777 committed Aug 9, 2024
1 parent a054780 commit c0fc98f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aeron-client/src/main/cpp_wrapper/Aeron.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -1048,7 +1047,7 @@ class Aeron
callback();
}

static void emptyCallback(void *clientd)
static void emptyCallback(void * /* clientd */)
{
}
};
Expand Down

0 comments on commit c0fc98f

Please sign in to comment.