From affd8336905921b4e9f717a1c9001a7a0d39f12a Mon Sep 17 00:00:00 2001 From: Brent Garber Date: Mon, 2 Nov 2015 15:35:45 -0500 Subject: [PATCH] Fix introduced in 2ab7065 was reverted by 18285c1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Corrects: db/memtablerep_bench.cc:135:22: error: ‘FLAGS_env’ defined but not used [-Werror=unused-variable] static rocksdb::Env* FLAGS_env = rocksdb::Env::Default(); ^ cc1plus: all warnings being treated as errors Makefile:1147: recipe for target 'db/memtablerep_bench.o' failed --- db/memtablerep_bench.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/db/memtablerep_bench.cc b/db/memtablerep_bench.cc index a2a872226..f4504a606 100644 --- a/db/memtablerep_bench.cc +++ b/db/memtablerep_bench.cc @@ -132,8 +132,6 @@ DEFINE_int64(seed, 0, "Seed base for random number generators. " "When 0 it is deterministic."); -static rocksdb::Env* FLAGS_env = rocksdb::Env::Default(); - namespace rocksdb { namespace {