diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-01-09 14:23:27 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-01-09 19:58:42 +0000 |
commit | 6de45df10e024813ad7c62f31394f86fbcb364a7 (patch) | |
tree | 3e5f397211a8dd745b1ec91c79e68183b349a1b3 /pdf | |
parent | c3f257e0317e1c7fba13f2d2f9ae50f3a4ae442d (diff) | |
download | mupdf-6de45df10e024813ad7c62f31394f86fbcb364a7.tar.xz |
Update fz_try/fz_catch to be fz_try/{fz_always}/fz_catch.
Add explanations of how to use the macros in fitz.h.
Also included are 2 different formulations, with different strengths/
weaknesses for reference. Will remove these shortly, but I want a
reference to them in git.
Workaround bug in Mac OS Lion gcc (clang works fine).
Diffstat (limited to 'pdf')
-rw-r--r-- | pdf/pdf_page.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/pdf_page.c b/pdf/pdf_page.c index e3bed190..81e89e7f 100644 --- a/pdf/pdf_page.c +++ b/pdf/pdf_page.c @@ -241,6 +241,7 @@ pdf_load_page_contents_array(pdf_xref *xref, fz_obj *list) big = fz_new_buffer(ctx, 32 * 1024); n = fz_array_len(list); + fz_var(i); /* Workaround Mac compiler bug */ for (i = 0; i < n; i++) { fz_obj *stm = fz_array_get(list, i); |