]> granicus.if.org Git - graphviz/commitdiff
suppress compiler warning
authorellson <devnull@localhost>
Wed, 5 Sep 2007 14:11:16 +0000 (14:11 +0000)
committerellson <devnull@localhost>
Wed, 5 Sep 2007 14:11:16 +0000 (14:11 +0000)
lib/neatogen/neatosplines.c

index a520e654876bfe3284da1b1fb696a40b5e78abd4..a09f066221c7af9acc39029ec8b9d34849b2a62b 100644 (file)
@@ -164,6 +164,8 @@ polylineMidpoint (splines* spl, point* pp, point* pq)
                dist -= d;
        }
     }
+    assert (FALSE);   /* should never get here */
+    return m;
 }
 
 #define LEFTOF(a,b,c) (((a.y - b.y)*(c.x - b.x) - (c.y - b.y)*(a.x - b.x)) > 0)