From c463a8e08240429bd8341f3fa63d3c85e6058639 Mon Sep 17 00:00:00 2001 From: Bruce Merry Date: Thu, 22 Jun 2023 10:54:51 +0200 Subject: [PATCH] Suppress a warning in release builds --- src/recv_chunk_stream_group.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/recv_chunk_stream_group.cpp b/src/recv_chunk_stream_group.cpp index 553995e97..91f29f6a8 100644 --- a/src/recv_chunk_stream_group.cpp +++ b/src/recv_chunk_stream_group.cpp @@ -144,6 +144,7 @@ void chunk_stream_group::stream_added(chunk_stream_group_member &s) std::lock_guard lock(mutex); bool added = streams.insert(&s).second; assert(added); // should be impossible to add the same stream twice + (void) added; // suppress warning when NDEBUG is defined } void chunk_stream_group::stream_stop_received(chunk_stream_group_member &s)