Skip to content

Commit

Permalink
fix: add void annotation (#194)
Browse files Browse the repository at this point in the history
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
  • Loading branch information
wep21 committed May 24, 2024
1 parent 94ad02b commit e84629f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ class ReceivedMessagePeriodCollector<rmw_message_info_t, std::enable_if_t<messag
{
std::unique_lock<std::mutex> ulock{mutex_};

(void) message_info;

if (time_last_message_received_ == kUninitializedTime) {
time_last_message_received_ = now_nanoseconds;
} else {
Expand Down

0 comments on commit e84629f

Please sign in to comment.