From 447335aa08fa22e0213317e4e7ac98237216b342 Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 8 May 2014 11:31:49 +0100 Subject: [PATCH] os/FileJournal: remove unused attribute Clang: os/FileJournal.h:224:8: warning: private field 'is_bdev' is not used [-Wunused-private-field] Signed-off-by: John Spray --- src/os/FileJournal.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/os/FileJournal.h b/src/os/FileJournal.h index dbb1181bc8e..94197aab3dc 100644 --- a/src/os/FileJournal.h +++ b/src/os/FileJournal.h @@ -221,7 +221,6 @@ private: off64_t max_size; size_t block_size; - bool is_bdev; bool directio, aio, force_aio; bool must_write_header; off64_t write_pos; // byte where the next entry to be written will go @@ -362,7 +361,7 @@ private: fn(f), zero_buf(NULL), max_size(0), block_size(0), - is_bdev(false), directio(dio), aio(ai), force_aio(faio), + directio(dio), aio(ai), force_aio(faio), must_write_header(false), write_pos(0), read_pos(0), #ifdef HAVE_LIBAIO