summaryrefslogtreecommitdiff
path: root/source/fitz
diff options
context:
space:
mode:
authorMatt Holgate <matt@emobix.co.uk>2014-06-19 10:33:07 +0100
committerMatt Holgate <matt@emobix.co.uk>2014-06-19 10:33:07 +0100
commit7ba8c60c5af8ff745336c50c7504bec4f9b22a76 (patch)
tree90ecbeefce0fb7fcd8294c44acffeec10e3de0d9 /source/fitz
parente031cc84880f7ce48a2beb2a784f669797f0f429 (diff)
downloadmupdf-7ba8c60c5af8ff745336c50c7504bec4f9b22a76.tar.xz
Fix compiler warning.
Diffstat (limited to 'source/fitz')
-rw-r--r--source/fitz/store.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/fitz/store.c b/source/fitz/store.c
index 61561862..7afb3751 100644
--- a/source/fitz/store.c
+++ b/source/fitz/store.c
@@ -660,10 +660,7 @@ fz_shrink_store(fz_context *ctx, unsigned int percent)
unsigned int maxSize = (unsigned int)(((uint64_t)store->size * percent) / 100);
if (store->size > maxSize)
- {
- unsigned int toFree = store->size - maxSize;
scavenge(ctx, store->size - maxSize);
- }
success = (store->size <= maxSize) ? 1 : 0;
fz_unlock(ctx, FZ_LOCK_ALLOC);