summaryrefslogtreecommitdiff
path: root/platform/ios/Classes/MuPrintPageRenderer.m
diff options
context:
space:
mode:
authorJoseph Heenan <joseph@emobix.co.uk>2015-12-18 20:48:48 +0000
committerJoseph Heenan <joseph@emobix.co.uk>2015-12-18 21:08:18 +0000
commitf48a76c33db71891126211539fb3f167e5f96d71 (patch)
tree03cc3b7820f8fec7716c044cc4725bb6238f81f6 /platform/ios/Classes/MuPrintPageRenderer.m
parent39389bba83b4b1d64c8c540cb7c7edbe09ea4009 (diff)
downloadmupdf-f48a76c33db71891126211539fb3f167e5f96d71.tar.xz
iOS: Fix two warnings in MuPrintPageRenderer with latest Xcode
MuPrintPageRenderer.h:2:9: error: 'MuDocRef.h' file not found with <angled> include; use "quotes" instead MuPrintPageRenderer.m:35:16: warning: if statement has empty body [-Wempty-body] MuPrintPageRenderer.m:35:16: note: put the semicolon on a separate line to silence this warning
Diffstat (limited to 'platform/ios/Classes/MuPrintPageRenderer.m')
-rw-r--r--platform/ios/Classes/MuPrintPageRenderer.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/ios/Classes/MuPrintPageRenderer.m b/platform/ios/Classes/MuPrintPageRenderer.m
index a0ec7cf8..b2544825 100644
--- a/platform/ios/Classes/MuPrintPageRenderer.m
+++ b/platform/ios/Classes/MuPrintPageRenderer.m
@@ -32,7 +32,9 @@ const int MaxStripPixels = 1024*1024;
{
npages = fz_count_pages(ctx, docRef->doc);
}
- fz_catch(ctx);
+ fz_catch(ctx)
+ {
+ }
});
return npages;
}