From dd9eca1c586c7e28297ccdeaf92c4fbcc753cf51 Mon Sep 17 00:00:00 2001 From: Yanqin Jin Date: Thu, 17 Jan 2019 11:37:03 -0800 Subject: [PATCH] Remove unused variable to fix clang compilation err (#4893) Summary: as title. Pull Request resolved: https://github.com/facebook/rocksdb/pull/4893 Differential Revision: D13716733 Pulled By: riversand963 fbshipit-source-id: 6811d6a99fe2094d5344f854e8939f01238b2adb --- utilities/transactions/write_prepared_transaction_test.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/utilities/transactions/write_prepared_transaction_test.cc b/utilities/transactions/write_prepared_transaction_test.cc index 56bc2ab0b..9053acb1e 100644 --- a/utilities/transactions/write_prepared_transaction_test.cc +++ b/utilities/transactions/write_prepared_transaction_test.cc @@ -1199,7 +1199,6 @@ TEST_P(WritePreparedTransactionTest, MaxCatchupWithNewSnapshot) { const size_t commit_cache_bits = 0; // only 1 entry => frequent eviction DestroyAndReopenWithExtraOptions(snapshot_cache_bits, commit_cache_bits); WriteOptions woptions; - TransactionOptions txn_options; WritePreparedTxnDB* wp_db = dynamic_cast(db); const int writes = 50;