]> granicus.if.org Git - graphviz/commitdiff
common: remove unused 'box_contains'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 11 Apr 2022 04:56:02 +0000 (21:56 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 13 Apr 2022 00:02:33 +0000 (17:02 -0700)
AFAICT this function has never been used. Note that this also makes the
`CONTAINS` macro unused. But it is retained because it is in a public header.

lib/common/geomprocs.h

index 8551df6c150cfbaa44e725081bd1239148b68032..2055f1aa846ca744c3fd8f227cd8684c0cd501fc 100644 (file)
@@ -157,11 +157,6 @@ static inline int boxf_overlap(boxf b0, boxf b1)
     return OVERLAP(b0, b1);
 }
 
-static inline int box_contains(box b0, box b1)
-{
-    return CONTAINS(b0, b1);
-}
-
 static inline pointf perp (pointf p)
 {
     pointf r;