diff options
author | Ralph Giles <giles@ghostscript.com> | 2009-08-19 18:43:19 +0200 |
---|---|---|
committer | Ralph Giles <giles@ghostscript.com> | 2009-08-19 18:43:19 +0200 |
commit | e3e42a06b2226beadfa8c9a471753d464e5e5aa8 (patch) | |
tree | eec732d4b4693e56fb824436189dfbe06f06115c | |
parent | e70e153f8fda0b65360beeea52409b6c543e7e24 (diff) | |
download | mupdf-e3e42a06b2226beadfa8c9a471753d464e5e5aa8.tar.xz |
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.
-rw-r--r-- | fitz/filt_copy.c | 1 | ||||
-rw-r--r-- | mupdf/pdf_interpret.c | 2 |
2 files changed, 1 insertions, 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"); } } |