Tiny fix to db_bench for make release.

Summary:
In release, "found variable assigned but not used anywhere". Changed it to work with
assert. Someone accept this :).

Test Plan: make release -j 32

Reviewers: haobo, dhruba, emayanke

Reviewed By: haobo

CC: leveldb

Differential Revision: https://reviews.facebook.net/D12309
This commit is contained in:
Deon Nicholas 2013-08-15 17:50:12 -07:00
parent ad48c3c262
commit d1d3d15eb7

View File

@ -1487,7 +1487,9 @@ class Benchmark {
// We should not find any key since the key we try to get has a
// different suffix
assert(!found);
if (found) {
assert(false);
}
thread->stats.FinishedSingleOp(db_);
keys_left -= num_keys;