From 1ab47296c0af10332312b68a19d8a00a4438467d Mon Sep 17 00:00:00 2001 From: Samuel Sadok Date: Wed, 16 Sep 2020 11:09:01 +0200 Subject: [PATCH] fix CI errors --- Firmware/fibre-cpp/stream_utils.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Firmware/fibre-cpp/stream_utils.hpp b/Firmware/fibre-cpp/stream_utils.hpp index fc865442..bc137bbb 100644 --- a/Firmware/fibre-cpp/stream_utils.hpp +++ b/Firmware/fibre-cpp/stream_utils.hpp @@ -143,6 +143,7 @@ private: transfer_handle_ = 0; auto& [slot_in_use, slot_buf, slot_completer] = slots_[active_slot_ - 1]; + (void) slot_buf; auto completer = slot_completer; slot_in_use = false; @@ -152,6 +153,8 @@ private: size_t active_slot = 0; for (size_t i = 0; i < NSlots; ++i) { auto& [slot_in_use, slot_buf, slot_completer] = slots_[i]; + (void) slot_buf; + (void) slot_completer; if (slot_in_use) { active_slot = i + 1; break; @@ -162,6 +165,8 @@ private: active_slot_ = active_slot; if (active_slot) { auto& [slot_in_use, slot_buf, slot_completer] = slots_[active_slot - 1]; + (void) slot_in_use; + (void) slot_completer; sink_.start_write(slot_buf, &transfer_handle_, *this); } }