projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable -Wunused-variables
[folly.git]
/
folly
/
experimental
/
bser
/
test
/
BserTest.cpp
diff --git
a/folly/experimental/bser/test/BserTest.cpp
b/folly/experimental/bser/test/BserTest.cpp
index 9c05355855635ceb41be4bacea232c1472a0da2b..fd1cfd0fbb543d369753bd5fe4b93fefbf29ebfc 100644
(file)
--- a/
folly/experimental/bser/test/BserTest.cpp
+++ b/
folly/experimental/bser/test/BserTest.cpp
@@
-108,6
+108,7
@@
TEST(Bser, PduLength) {
// complete length available
auto buf = folly::IOBuf::wrapBuffer(template_blob, 3);
auto len = folly::bser::decodePduLength(&*buf);
+ (void)len;
LOG(ERROR) << "managed to return a length, but only had 3 bytes";
}(),
std::out_of_range);