From: Matthew Fernandez Date: Mon, 26 Dec 2022 21:06:34 +0000 (-0800) Subject: common: remove unused 'boxof' X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ec9567d1883ec3744e79c48e621bdc68e8f4e09;p=graphviz common: remove unused 'boxof' --- diff --git a/lib/common/geomprocs.h b/lib/common/geomprocs.h index 360e352c6..df0d0869d 100644 --- a/lib/common/geomprocs.h +++ b/lib/common/geomprocs.h @@ -52,15 +52,6 @@ GEOMPROCS_API void rect2poly(pointf *p); GEOMPROCS_API int line_intersect (pointf a, pointf b, pointf c, pointf d, pointf* p); -static inline box boxof(int llx, int lly, int urx, int ury) -{ - box b; - - b.LL.x = llx, b.LL.y = lly; - b.UR.x = urx, b.UR.y = ury; - return b; -} - static inline boxf boxfof(double llx, double lly, double urx, double ury) { boxf b;