From e3e42a06b2226beadfa8c9a471753d464e5e5aa8 Mon Sep 17 00:00:00 2001 From: Ralph Giles <giles@ghostscript.com> Date: Wed, 19 Aug 2009 18:43:19 +0200 Subject: Remove some unused variables. fz_processcopyfilter() doesn't use it's first argument at all. I don't know if the argument itself can be removed. If not, this patch will just exchange an unused variable warning for an unused argument warning, although the later isn't expressed in the jam build. --- fitz/filt_copy.c | 1 - mupdf/pdf_interpret.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/fitz/filt_copy.c b/fitz/filt_copy.c index f6a00ec0..6c77ff17 100644 --- a/fitz/filt_copy.c +++ b/fitz/filt_copy.c @@ -23,7 +23,6 @@ fz_dropcopyfilter(fz_filter *f) fz_error fz_processcopyfilter(fz_filter *filter, fz_buffer *in, fz_buffer *out) { - fz_copyfilter *f = (fz_copyfilter*)filter; int n; while (1) diff --git a/mupdf/pdf_interpret.c b/mupdf/pdf_interpret.c index c6bca24f..22aafc16 100644 --- a/mupdf/pdf_interpret.c +++ b/mupdf/pdf_interpret.c @@ -377,9 +377,9 @@ runextgstate(pdf_gstate *gstate, pdf_xref *xref, fz_obj *extgstate) { if (fz_isdict(val)) { - fz_obj *g = fz_dictgets(val, "G"); /* TODO: we should do something here, like inserting a mask node for the S key in val */ /* TODO: how to deal with the non-recursive nature of pdf soft masks? */ + /* fz_obj *g = fz_dictgets(val, "G"); */ puts("we encountered a soft mask"); } } -- cgit v1.2.3