From 7ba8c60c5af8ff745336c50c7504bec4f9b22a76 Mon Sep 17 00:00:00 2001 From: Matt Holgate Date: Thu, 19 Jun 2014 10:33:07 +0100 Subject: Fix compiler warning. --- source/fitz/store.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/fitz/store.c') 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); -- cgit v1.2.3