diff options
author | Matt Holgate <matt@emobix.co.uk> | 2014-06-19 10:33:07 +0100 |
---|---|---|
committer | Matt Holgate <matt@emobix.co.uk> | 2014-06-19 10:33:07 +0100 |
commit | 7ba8c60c5af8ff745336c50c7504bec4f9b22a76 (patch) | |
tree | 90ecbeefce0fb7fcd8294c44acffeec10e3de0d9 | |
parent | e031cc84880f7ce48a2beb2a784f669797f0f429 (diff) | |
download | mupdf-7ba8c60c5af8ff745336c50c7504bec4f9b22a76.tar.xz |
Fix compiler warning.
-rw-r--r-- | source/fitz/store.c | 3 |
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); |