diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2012-06-22 01:29:17 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-06-25 13:50:12 +0200 |
commit | 767b08e66fef57327b9a2af023207b97300d42e2 (patch) | |
tree | 18a5cfd3ff51125be3881bc19b28e8da8650fdbc /fitz/base_hash.c | |
parent | 0772da1a2ca814919428a8eca995b2d776eff41f (diff) | |
download | mupdf-767b08e66fef57327b9a2af023207b97300d42e2.tar.xz |
Warning fixes and various clean ups:
Remove unused variable, silencing compiler warning.
No need to initialize variables twice.
Remove initialization of unread variable.
Remove unnecessary check for NULL.
Close output file upon error in cmapdump.
Diffstat (limited to 'fitz/base_hash.c')
-rw-r--r-- | fitz/base_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/base_hash.c b/fitz/base_hash.c index 4ba02f4d..ccdffe63 100644 --- a/fitz/base_hash.c +++ b/fitz/base_hash.c @@ -138,7 +138,7 @@ static void fz_resize_hash(fz_context *ctx, fz_hash_table *table, int newsize) { fz_hash_entry *oldents = table->ents; - fz_hash_entry *newents = table->ents; + fz_hash_entry *newents; int oldsize = table->size; int oldload = table->load; int i; |