From 02c8ede681add977ae0d9d18377441f9625bc737 Mon Sep 17 00:00:00 2001 From: Amy Bowersox Date: Tue, 10 Dec 2019 14:56:48 -0700 Subject: [PATCH] remove use of tmp some places --- src/devctxt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/devctxt.c b/src/devctxt.c index 88a1f89..9971cbc 100755 --- a/src/devctxt.c +++ b/src/devctxt.c @@ -71,25 +71,25 @@ static BOOL line_clip(PINT32 output, INT32 x1, INT32 y1, INT32 x2, INT32 y2, INT { x1 += M(x2 - x1, D(ymin - y1, y2 - y1)); y1 = ymin; - Log(LDEBUG, "clipped against top to point (%d, %d), dx=%d/%d", x1 >> CPX, y1 >> CPX, tmp >> CPX, tmp); + Log(LDEBUG, "clipped against top to point (%d, %d)", x1 >> CPX, y1 >> CPX); } else if (outcode1 & 0x4) { x1 += M(x2 - x1, D(ymax - ONE - y1, y2 - y1)); y1 = ymax - ONE; - Log(LDEBUG, "clipped against bottom to point (%d, %d), dx=%d/%d", x1 >> CPX, y1 >> CPX, tmp >> CPX, tmp); + Log(LDEBUG, "clipped against bottom to point (%d, %d)", x1 >> CPX, y1 >> CPX); } else if (outcode1 & 0x2) { y1 += M(y2 - y1, D(xmax - ONE - x1, x2 - x1)); x1 = xmax - ONE; - Log(LDEBUG, "clipped against right to point (%d, %d), dy=%d/%d", x1 >> CPX, y1 >> CPX, tmp >> CPX, tmp); + Log(LDEBUG, "clipped against right to point (%d, %d)", x1 >> CPX, y1 >> CPX); } else if (outcode1 & 0x1) { y1 += M(y2 - y1, D(xmin - x1, x2 - x1)); x1 = xmin; - Log(LDEBUG, "clipped against left to point (%d, %d), dy=%d/%d", x1 >> CPX, y1 >> CPX, tmp >> CPX, tmp); + Log(LDEBUG, "clipped against left to point (%d, %d)", x1 >> CPX, y1 >> CPX); } } Log(LDEBUG, "final line is from (%d, %d) to (%d, %d)", x1 >> CPX, y1 >> CPX, x2 >> CPX, y2 >> CPX);