diff --git a/examples/common/tracing/TraceHandlers.cpp b/examples/common/tracing/TraceHandlers.cpp index 45270d86eb26e9..373b00cb61982c 100644 --- a/examples/common/tracing/TraceHandlers.cpp +++ b/examples/common/tracing/TraceHandlers.cpp @@ -274,7 +274,6 @@ void SecureMessageReceivedHandler(const TraceSecureMessageReceivedData * eventDa // Note that `eventData->session` is currently ignored. } - void TraceHandler(const char * type, const void * data, size_t size) { if ((std::string{ type } == kTraceMessageSentDataFormat) && (size == sizeof(TraceSecureMessageSentData))) diff --git a/src/transport/TraceMessage.h b/src/transport/TraceMessage.h index 1009b76c245fdb..b8c5f87f7c8c1a 100644 --- a/src/transport/TraceMessage.h +++ b/src/transport/TraceMessage.h @@ -73,9 +73,9 @@ namespace chip { namespace trace { -constexpr const char * kTraceMessageEvent = "SecureMsg"; -constexpr const char * kTraceMessageSentDataFormat = "SecMsgSent"; -constexpr const char * kTraceMessageReceivedDataFormat = "SecMsgReceived"; +constexpr const char * kTraceMessageEvent = "SecureMsg"; +constexpr const char * kTraceMessageSentDataFormat = "SecMsgSent"; +constexpr const char * kTraceMessageReceivedDataFormat = "SecMsgReceived"; struct TraceSecureMessageSentData {