]> granicus.if.org Git - graphviz/commitdiff
remove unused mid_point
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 02:26:55 +0000 (19:26 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 9 Jun 2021 04:05:43 +0000 (21:05 -0700)
lib/common/geomprocs.h

index 89085edf45dde196d5e1bfc833be93b57e480f77..dd6e000a0a98baacaaf75abe294dcc140e7c4a63 100644 (file)
@@ -115,16 +115,6 @@ static inline pointf sub_pointf(pointf p, pointf q)
     return r;
 }
 
-/* for +ve coord values, this rounds towards p */
-static inline point mid_point(point p, point q)
-{
-    point r;
-
-    r.x = (p.x + q.x) / 2;
-    r.y = (p.y + q.y) / 2;
-    return r;
-}
-
 static inline pointf mid_pointf(pointf p, pointf q)
 {
     pointf r;