aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/pic/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/pic/print.c')
-rw-r--r--src/cmd/pic/print.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/pic/print.c b/src/cmd/pic/print.c
index ad21e0d7..6cf5103d 100644
--- a/src/cmd/pic/print.c
+++ b/src/cmd/pic/print.c
@@ -25,6 +25,8 @@ void print(void)
int fill, vis, invis;
double x0, y0, x1, y1, ox, oy, dx, dy, ndx, ndy;
+ x1 = y1 = 0.0; /* Botch? (gcc) */
+
for (i = 0; i < nobj; i++) {
p = objlist[i];
ox = p->o_x;
@@ -180,6 +182,8 @@ void dotline(double x0, double y0, double x1, double y1, int ddtype, double ddva
int i, numdots;
double a, b, dx, dy;
+ b = 0.0; /* Botch? (gcc) */
+
if (ddval == 0)
ddval = prevval;
prevval = ddval;