Skip to content

Commit b959007

Browse files
committed
add maybe_unused
1 parent 6a94e5d commit b959007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/reactor-cpp/connection.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public:
132132
// of the upstream port. Hence, we can retrieve the current tag directly
133133
// without locking.
134134
auto tag = Tag::from_logical_time(scheduler->logical_time());
135-
bool result{false}; // NOLINT value set is not used
135+
[[maybe_unused]] bool result{false}; // NOLINT value set is not used
136136
if constexpr (std::is_same<T, void>::value) {
137137
result = this->schedule_at(tag);
138138
} else {

0 commit comments

Comments
 (0)