[Spice-devel] [[spice-common] 1/4] common: Remove dead code

Fabiano Fidêncio fidencio at redhat.com
Mon Sep 1 06:45:20 PDT 2014


---
 common/lines.c | 9 ---------
 1 file changed, 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;
 
-- 
1.9.3



More information about the Spice-devel mailing list