summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFabiano FidĂȘncio <fidencio@redhat.com>2014-09-01 15:45:20 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2014-09-18 13:15:26 +0200
commitdde1c62a9166f337722785b7b4f38c8b2dbbd495 (patch)
tree9194203cd0290b8460a7649e9976712dae2d2438 /common
parent840bcfe7a266604604a2b4a34ad68acba85ed0a7 (diff)
common: Remove dead code
Diffstat (limited to 'common')
-rw-r--r--common/lines.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/common/lines.c b/common/lines.c
index 4f404f1..e345b95 100644
--- a/common/lines.c
+++ b/common/lines.c
@@ -1835,15 +1835,6 @@ miPolyBuildEdge (double x0, double y0, double k, /* x0 * dy - y0 * dx */
dx = -dx;
k = -k;
}
-#ifdef NOTDEF
- {
- double realk, kerror;
- realk = x0 * dy - y0 * dx;
- kerror = Fabs (realk - k);
- if (kerror > .1)
- printf ("realk: %g k: %g\n", realk, k);
- }
-#endif
y = ICEIL (y0);
xady = ICEIL (k) + y * dx;