From d6483af870685875ca1452d1a329dfeab529c86d Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Wed, 1 Oct 2014 07:12:12 +0200 Subject: [PATCH] db/db_test.cc: reduce scope of some variables Signed-off-by: Danny Al-Gaaf --- db/db_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/db_test.cc b/db/db_test.cc index 986d5810e..119ec5bd8 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -4672,9 +4672,9 @@ TEST(DBTest, CompactionFilterContextManual) { ASSERT_EQ(NumTableFilesAtLevel(0), 1); // Verify total number of keys is correct after manual compaction. - int count = 0; - int total = 0; { + int count = 0; + int total = 0; Arena arena; ScopedArenaIterator iter(dbfull()->TEST_NewInternalIterator(&arena)); iter->SeekToFirst();