Skip to content

Commit d96d3b2

Browse files
message: ping-parser: Add maybe_unused
Signed-off-by: Patrick José Pereira <[email protected]>
1 parent 2da797a commit d96d3b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/message/ping-parser.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class PingParser
7474
State state_ = PingParser::State::WAIT_START;
7575
};
7676

77-
static const char* PINGPARSER_STATE_TO_STRING(PingParser::State state) {
77+
[[maybe_unused]] static const char* PINGPARSER_STATE_TO_STRING(PingParser::State state) {
7878
switch(state) {
7979
case PingParser::State::NEW_MESSAGE:
8080
return "NEW_MESSAGE";

0 commit comments

Comments
 (0)