X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=blobdiff_plain;f=localdb.cc;h=0c9dac4884608a55ed84d0ba6bcd7d3714b3d475;hp=a23ca5e83d2a3e2bca38ec14b225e4e845898163;hb=92139dd79d795c41df068b2ab379c40ccc275336;hpb=5949214bc01b2c762adfb724d1e63b7e130c91f4 diff --git a/localdb.cc b/localdb.cc index a23ca5e..0c9dac4 100644 --- a/localdb.cc +++ b/localdb.cc @@ -452,7 +452,7 @@ void LocalDb::UseObject(const ObjectReference& ref) // size will have a reference size capped at just less than the full object // size (we can't tell if some bytes were referenced multiple times, and // thus we conservatively assume some bytes might still be unreferenced). - int64_t new_refs = old_size; + int64_t new_refs; if (ref.has_range()) { new_refs = ref.get_range_length(); } else {