diff options
author | Robin Watts <robin.watts@artifex.com> | 2013-09-13 15:47:58 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-09-13 16:02:32 +0100 |
commit | aefe6a511b3cb901034e5995fd882e334e40f2bb (patch) | |
tree | 74005b19d77e704480b2c7c43c3ed51c15b17dcf /source/pdf/pdf-repair.c | |
parent | a0a92b5cf0fa076c923e7a5aa911dfff28aea351 (diff) | |
download | mupdf-aefe6a511b3cb901034e5995fd882e334e40f2bb.tar.xz |
Fix various compile warnings spotted by the cluster.
Diffstat (limited to 'source/pdf/pdf-repair.c')
-rw-r--r-- | source/pdf/pdf-repair.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/pdf/pdf-repair.c b/source/pdf/pdf-repair.c index fc603d1d..8fedbeff 100644 --- a/source/pdf/pdf-repair.c +++ b/source/pdf/pdf-repair.c @@ -257,7 +257,7 @@ pdf_repair_xref(pdf_document *doc, pdf_lexbuf *buf) int num = 0; int gen = 0; int tmpofs, numofs = 0, genofs = 0; - int stm_len, stm_ofs = 0; + int stm_len, stm_ofs; pdf_token tok; int next; int i, n, c; @@ -339,6 +339,8 @@ pdf_repair_xref(pdf_document *doc, pdf_lexbuf *buf) { fz_try(ctx) { + stm_len = 0; + stm_ofs = 0; tok = pdf_repair_obj(doc, buf, &stm_ofs, &stm_len, &encrypt, &id, NULL, &tmpofs); } fz_catch(ctx) |