aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/pic
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/pic')
-rw-r--r--src/cmd/pic/linegen.c3
-rw-r--r--src/cmd/pic/textgen.c4
2 files changed, 1 insertions, 6 deletions
diff --git a/src/cmd/pic/linegen.c b/src/cmd/pic/linegen.c
index eab268f5..e0db5fc6 100644
--- a/src/cmd/pic/linegen.c
+++ b/src/cmd/pic/linegen.c
@@ -20,7 +20,7 @@ obj *linegen(int type)
double dx[500], dy[500];
int ndxy;
double nx, ny;
- Attr *ap, *chop_ap[4];
+ Attr *ap;
nx = curx;
ny = cury;
@@ -133,7 +133,6 @@ obj *linegen(int type)
else
chop2 = ap->a_val.f;
}
- chop_ap[chop++] = ap;
break;
case FILL:
battr |= FILLBIT;
diff --git a/src/cmd/pic/textgen.c b/src/cmd/pic/textgen.c
index 98dfbb57..082f8ee0 100644
--- a/src/cmd/pic/textgen.c
+++ b/src/cmd/pic/textgen.c
@@ -7,8 +7,6 @@ obj *textgen(void)
int i, sub, nstr, at, with, hset, invis;
double xwith, ywith, h, w, x0, y0, x1, y1;
obj *p, *ppos;
- static double prevh = 0;
- static double prevw = 0;
Attr *ap;
at = with = nstr = hset = invis = 0;
@@ -93,8 +91,6 @@ obj *textgen(void)
cury = y1;
else
cury = y0;
- prevh = h;
- prevw = w;
return(p);
}