From 5f1cf8e6fb130fd48d6f016d13baf5408b3181f8 Mon Sep 17 00:00:00 2001 From: wkj Date: Sun, 16 May 2004 07:56:41 +0000 Subject: Checkpoint: pull in mpm; merge pic from Taj's version of the world --- src/cmd/pic/print.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cmd/pic/print.c') 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; -- cgit v1.2.3