From: John Spray Date: Thu, 8 May 2014 10:31:49 +0000 (+0100) Subject: os/FileJournal: remove unused attribute X-Git-Tag: v0.81~43^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=447335aa08fa22e0213317e4e7ac98237216b342;p=ceph.git 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 --- diff --git a/src/os/FileJournal.h b/src/os/FileJournal.h index dbb1181bc8ed..94197aab3dc9 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