Skip to content

Commit

Permalink
Suppress a warning in release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bmerry committed Jun 22, 2023
1 parent f8fe714 commit c463a8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/recv_chunk_stream_group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ void chunk_stream_group::stream_added(chunk_stream_group_member &s)
std::lock_guard<std::mutex> 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)
Expand Down

0 comments on commit c463a8e

Please sign in to comment.