]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/FileJournal: remove unused attribute
authorJohn Spray <john.spray@inktank.com>
Thu, 8 May 2014 10:31:49 +0000 (11:31 +0100)
committerJohn Spray <john.spray@inktank.com>
Thu, 8 May 2014 12:28:56 +0000 (13:28 +0100)
Clang:
os/FileJournal.h:224:8: warning: private field 'is_bdev' is not used
[-Wunused-private-field]

Signed-off-by: John Spray <john.spray@inktank.com>
src/os/FileJournal.h

index dbb1181bc8ed678c37c44e1baf2bda7ee3ff24ce..94197aab3dc94294685911d81e86d7be2c2801e2 100644 (file)
@@ -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