diff --git a/tests/test_stream_exceeds_buffer.cpp b/tests/test_stream_exceeds_buffer.cpp index 124a84aa..d3604dca 100644 --- a/tests/test_stream_exceeds_buffer.cpp +++ b/tests/test_stream_exceeds_buffer.cpp @@ -77,5 +77,7 @@ int main() assert(rcvbuf[2]==0xbe); assert(rcvbuf[1]==0xad); assert(rcvbuf[0]==0xde); + + (void)(rc); // avoid -Wunused-but-set-variable warning in release build }