diff options
author | yang-g <yangg@google.com> | 2016-08-30 10:09:08 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2016-08-30 10:09:08 -0700 |
commit | 4335e11951a3c1cfafd1d7e75855e49b3d3a034c (patch) | |
tree | caebfa3eb552b7109247e6e8618fde2664aea3ac /test/cpp/util/byte_buffer_test.cc | |
parent | 7684c74b3cb4dc0b9cc631410feeb2aff7a496b8 (diff) |
Prevent some compilers compaining unused return value
Diffstat (limited to 'test/cpp/util/byte_buffer_test.cc')
-rw-r--r-- | test/cpp/util/byte_buffer_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/util/byte_buffer_test.cc b/test/cpp/util/byte_buffer_test.cc index 1167c790d4..2089a62011 100644 --- a/test/cpp/util/byte_buffer_test.cc +++ b/test/cpp/util/byte_buffer_test.cc @@ -100,7 +100,7 @@ TEST_F(ByteBufferTest, Dump) { slices.push_back(Slice(world, Slice::STEAL_REF)); ByteBuffer buffer(&slices[0], 2); slices.clear(); - buffer.Dump(&slices); + (void)buffer.Dump(&slices); EXPECT_TRUE(SliceEqual(slices[0], hello)); EXPECT_TRUE(SliceEqual(slices[1], world)); } |