]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/filestore/FileJournal.cc: fix unused warning 14790/head
authorWillem Jan Withagen <wjw@digiware.nl>
Tue, 25 Apr 2017 19:55:27 +0000 (21:55 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Mon, 1 May 2017 09:09:03 +0000 (11:09 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/os/filestore/FileJournal.cc

index 1e14ca81b47682c740487e2b0a5f3f1338dfa5a4..03992e6479237d7087871d05240d34b0bc26041a 100644 (file)
@@ -835,6 +835,8 @@ int FileJournal::prepare_multi_write(bufferlist& bl, uint64_t& orig_ops, uint64_
          assert(aio_write_queue_bytes >= bytes);
          aio_write_queue_bytes -= bytes;
        }
+#else
+       (void)bytes;
 #endif
       }
       if (r == -ENOSPC) {