summaryrefslogtreecommitdiff
path: root/gs/base/gdevpdfu.c
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2010-10-21 08:22:47 +0000
committerKen Sharp <ken.sharp@artifex.com>2010-10-21 08:22:47 +0000
commit0be656b236cb27abbc3105a99bb3068863b56860 (patch)
tree8cb5b7f72aee8d78cbead901982e3ba494346a2a /gs/base/gdevpdfu.c
parente5b1c2c0fd92887b1571c9b896d4f18df69cf687 (diff)
downloadghostpdl-0be656b236cb27abbc3105a99bb3068863b56860.tar.gz
Remove some unused variables to silence compiler warnings.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11832 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/base/gdevpdfu.c')
-rw-r--r--gs/base/gdevpdfu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gs/base/gdevpdfu.c b/gs/base/gdevpdfu.c
index c650fe931..3fc7b29f6 100644
--- a/gs/base/gdevpdfu.c
+++ b/gs/base/gdevpdfu.c
@@ -231,9 +231,8 @@ static int
copy_ps_file(stream *s, const char *fname, bool HaveTrueTypes)
{
stream *f;
- char buf[1024], *p, *q = buf;
- int n, l = 0, m = sizeof(buf) - 1, outl = 0;
- bool skipping = false;
+ char buf[1024];
+ int n, m = sizeof(buf) - 1;
f = sfopen(fname, "rb", s->memory);
if (f == NULL)