]> granicus.if.org Git - graphviz/commitdiff
remove unused agnotflat()
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 18 Jun 2020 02:23:06 +0000 (19:23 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 27 Jun 2020 00:20:27 +0000 (17:20 -0700)
This function was not being called and was not exposed in any header.

lib/cgraph/flatten.c

index 7e14772eb16aca3ef3ba0ccd21705e9d402f4b15..455447cda1c6fbdded5402b6bd3cd747015d2629 100644 (file)
@@ -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");
-}