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 /pdf/pdf_write.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 'pdf/pdf_write.c')
-rw-r--r-- | pdf/pdf_write.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pdf/pdf_write.c b/pdf/pdf_write.c index 8d32febe..8334e92a 100644 --- a/pdf/pdf_write.c +++ b/pdf/pdf_write.c @@ -151,7 +151,6 @@ static void page_objects_insert(fz_context *ctx, page_objects **ppo, int i) { page_objects *po; - int j; /* Make a page_objects if we don't have one */ if (*ppo == NULL) @@ -165,7 +164,6 @@ page_objects_insert(fz_context *ctx, page_objects **ppo, int i) po->cap *= 2; *ppo = po; } - j = po->len; po->object[po->len++] = i; } |