From: Matthew Fernandez Date: Mon, 11 Apr 2022 04:56:02 +0000 (-0700) Subject: common: remove unused 'box_contains' X-Git-Tag: 4.0.0~110^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f498ed5804d2c789da3d43ca65da170ba1613df0;p=graphviz common: remove unused 'box_contains' 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. --- diff --git a/lib/common/geomprocs.h b/lib/common/geomprocs.h index 8551df6c1..2055f1aa8 100644 --- a/lib/common/geomprocs.h +++ b/lib/common/geomprocs.h @@ -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;