Enable -Wunused-variables
[folly.git] / folly / experimental / bser / test / BserTest.cpp
index 9c05355855635ceb41be4bacea232c1472a0da2b..fd1cfd0fbb543d369753bd5fe4b93fefbf29ebfc 100644 (file)
@@ -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);