]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
bluestore: Remove unused expression in statement
authorAdam C. Emerson <aemerson@redhat.com>
Mon, 10 Apr 2017 20:28:14 +0000 (16:28 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Tue, 11 Apr 2017 01:57:14 +0000 (21:57 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/os/bluestore/BlueStore.cc

index 5f7ec0f035ae41a545e9e199a4b3443e9e7bbd4f..a766db92dc47ba869dcb658cc502edf7b37a4a7e 100644 (file)
@@ -698,7 +698,7 @@ int64_t BlueStore::GarbageCollector::estimate(
         dout(30) << __func__ << " affected_blob:" << *b
                  << " unref 0x" << std::hex << o << "~" << l
                  << std::dec << dendl;
-        affected_blobs.emplace(b, BlobInfo(ref_bytes)).first->second;
+       affected_blobs.emplace(b, BlobInfo(ref_bytes));
       }
     }
   }