summaryrefslogtreecommitdiff
path: root/platform/ios
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios')
-rw-r--r--platform/ios/Classes/MuPageViewReflow.m2
-rw-r--r--platform/ios/Classes/MuPrintPageRenderer.m6
2 files changed, 0 insertions, 8 deletions
diff --git a/platform/ios/Classes/MuPageViewReflow.m b/platform/ios/Classes/MuPageViewReflow.m
index 8c003160..bc0e2c79 100644
--- a/platform/ios/Classes/MuPageViewReflow.m
+++ b/platform/ios/Classes/MuPageViewReflow.m
@@ -21,8 +21,6 @@ NSString *textAsHtml(fz_document *doc, int pageNum)
fz_try(ctx)
{
- int b, l, s, c;
-
ctm = fz_identity;
sheet = fz_new_text_sheet(ctx);
text = fz_new_text_page(ctx);
diff --git a/platform/ios/Classes/MuPrintPageRenderer.m b/platform/ios/Classes/MuPrintPageRenderer.m
index fc4adba8..36f66ee9 100644
--- a/platform/ios/Classes/MuPrintPageRenderer.m
+++ b/platform/ios/Classes/MuPrintPageRenderer.m
@@ -101,12 +101,6 @@ static void freePage(fz_document *doc, fz_page *page)
});
}
-static void dropPixmap(fz_pixmap *pix)
-{
- dispatch_sync(queue, ^{
- fz_drop_pixmap(ctx, pix);
- });
-}
static void renderPage(fz_document *doc, fz_page *page, fz_pixmap *pix, fz_matrix *ctm)
{
dispatch_sync(queue, ^{