From 92139dd79d795c41df068b2ab379c40ccc275336 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Thu, 25 Apr 2013 12:49:26 -0700 Subject: [PATCH] Cleanup to used data tracking in localdb. --- localdb.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1