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 5d90577 commit e020db9
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 @@ -165,8 +165,8 @@ bool TraceNode::is_recording_allowed() const

bool TraceNode::is_recording_allowed_init() const
{
return true;
// NOLINTBEGIN(cppcheck-suppress [unreachableCode])
return true;
std::shared_lock<std::shared_mutex> lock(mutex_);

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

0 comments on commit e020db9

Please sign in to comment.