From: Matthew Fernandez Date: Thu, 18 Jun 2020 02:23:06 +0000 (-0700) Subject: remove unused agnotflat() X-Git-Tag: 2.46.0~20^2^2~14^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11a5f279fbe327bad82a318e9309723074e503f1;p=graphviz remove unused agnotflat() This function was not being called and was not exposed in any header. --- diff --git a/lib/cgraph/flatten.c b/lib/cgraph/flatten.c index 7e14772eb..455447cda 100644 --- a/lib/cgraph/flatten.c +++ b/lib/cgraph/flatten.c @@ -52,9 +52,3 @@ void agflatten(Agraph_t * g, int flag) } } } - -void agnotflat(Agraph_t * g) -{ - if (g->desc.flatlock) - agerr(AGERR, "flat lock broken"); -}