projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix compiler warnings from gcc-4.9 + -Wunused-variable
[folly.git]
/
folly
/
test
/
VarintTest.cpp
diff --git
a/folly/test/VarintTest.cpp
b/folly/test/VarintTest.cpp
index 22076affeb9d5d842fc5b7e34d9575beb87e9ac0..5c0bcf57484491d24b50e8e5627d73a575e0a648 100644
(file)
--- a/
folly/test/VarintTest.cpp
+++ b/
folly/test/VarintTest.cpp
@@
-163,7
+163,6
@@
void generateRandomValues() {
BENCHMARK(VarintEncoding, iters) {
uint8_t* start = &(*gEncoded.begin());
uint8_t* p = start;
- bool empty = (iters == 0);
while (iters--) {
p = start;
for (auto& v : gValues) {