Skip to content

Commit

Permalink
move suppression comments
Browse files Browse the repository at this point in the history
Signed-off-by: ISP akm <[email protected]>
  • Loading branch information
xygyo77 committed Jun 20, 2024
1 parent 0bc36aa commit dd0bf8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CARET_trace/src/trace_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ bool TraceNode::is_recording_allowed() const
bool TraceNode::is_recording_allowed_init() const
{
return true;
// cppcheck-suppress unreachableCode
// cppcheck-suppress-next unreachableCode
std::shared_lock<std::shared_mutex> lock(mutex_);

// NOTE: Since PREPARE to RECORD is a continuous state transition
Expand Down

0 comments on commit dd0bf8a

Please sign in to comment.