summaryrefslogtreecommitdiff
path: root/trace_replay
diff options
context:
space:
mode:
authorhaoyuhuang <aronexplorer@gmail.com>2019-06-14 09:13:48 -0700
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2019-06-14 09:17:09 -0700
commit89695bfbaafd6fd589ad37e31ab27d9cf25e9930 (patch)
tree13b064404866f58cc2670e6c3d32b504390ee390 /trace_replay
parentbb4178066dc4f18b9b7f1d371e641db027b3edbe (diff)
Remove unused variable (#5457)
Summary: This PR removes the unused variable that causes CLANG build to fail. Pull Request resolved: https://github.com/facebook/rocksdb/pull/5457 Differential Revision: D15825027 Pulled By: HaoyuHuang fbshipit-source-id: 72c847c39ca310560efcbc5938cffa6f31164068
Diffstat (limited to 'trace_replay')
-rw-r--r--trace_replay/block_cache_tracer_test.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/trace_replay/block_cache_tracer_test.cc b/trace_replay/block_cache_tracer_test.cc
index c6fc3e4ac..0f3ca67c6 100644
--- a/trace_replay/block_cache_tracer_test.cc
+++ b/trace_replay/block_cache_tracer_test.cc
@@ -141,7 +141,6 @@ class BlockCacheTracerTest : public testing::Test {
TEST_F(BlockCacheTracerTest, AtomicWriteBeforeStartTrace) {
BlockCacheTraceRecord record = GenerateAccessRecord();
{
- TraceOptions trace_opt;
std::unique_ptr<TraceWriter> trace_writer;
ASSERT_OK(NewFileTraceWriter(env_, env_options_, trace_file_path_,
&trace_writer));