]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
src/include:fix unused parameter 24191/head
authorMahati Chamarthy <mahati.chamarthy@intel.com>
Thu, 20 Sep 2018 04:34:22 +0000 (10:04 +0530)
committerMahati Chamarthy <mahati.chamarthy@intel.com>
Thu, 20 Sep 2018 04:34:22 +0000 (10:04 +0530)
fixes unused parameter

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
src/include/buffer.h

index 1c941db15ce0c807d4f2fa9bbe025cf8ac1fa322..80599c9b2589902390d4de9ec57d940b9064c84f 100644 (file)
@@ -290,7 +290,7 @@ namespace buffer CEPH_BUFFER_API {
       return begin();
     }
     const_iterator begin_deep(size_t offset=0) const {
-      return const_iterator(this, 0, true);
+      return const_iterator(this, offset, true);
     }
 
     // misc