summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Giles <giles@ghostscript.com>2008-09-30 04:17:46 +0200
committerRalph Giles <giles@ghostscript.com>2008-09-30 04:17:46 +0200
commit39ffc6b6fe9fdfb3943c6c9c0bcfb2961b90aae9 (patch)
treead1ae6f42ecd018ac08312398cc70b15d74758ba
parent2f3a9f4d6866acb096210e7ef897af9477ae5756 (diff)
downloadmupdf-39ffc6b6fe9fdfb3943c6c9c0bcfb2961b90aae9.tar.xz
Remove an unused variable.
The S key is obviously planned for future use. I've updated the comment to preserve that intent.
-rw-r--r--mupdf/pdf_interpret.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mupdf/pdf_interpret.c b/mupdf/pdf_interpret.c
index 97f6f0ad..60bf1185 100644
--- a/mupdf/pdf_interpret.c
+++ b/mupdf/pdf_interpret.c
@@ -368,12 +368,11 @@ runextgstate(pdf_gstate *gstate, pdf_xref *xref, fz_obj *extgstate)
return error;
if (fz_isdict(val))
{
- fz_obj *s = fz_dictgets(val, "S");
fz_obj *g = fz_dictgets(val, "G");
error = pdf_resolve(&g, xref);
if (error)
return error;
- /* TODO: we should do something here, like inserting a mask node */
+ /* 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? */
puts("we encountered a soft mask");
}