From 3e5186409afcc2ff0a2e14612814d90daeb40990 Mon Sep 17 00:00:00 2001 From: erg Date: Mon, 10 Aug 2009 20:15:19 +0000 Subject: [PATCH] Remove unused code --- lib/circogen/blockpath.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/lib/circogen/blockpath.c b/lib/circogen/blockpath.c index 888e2de88..1ed9b6c45 100644 --- a/lib/circogen/blockpath.c +++ b/lib/circogen/blockpath.c @@ -86,23 +86,6 @@ static Agraph_t *clone_graph(Agraph_t * ing, Agraph_t ** xg) } } *xg = xclone; -#ifdef OLD - clone = agopen("clone", root->kind); - - for (n = agfstnode(root); n; n = agnxtnode(root, n)) { - cn = agnode(clone, n->name); - ND_alg(cn) = DATA(n); - BCDONE(cn) = 0; - } - - for (n = agfstnode(root); n; n = agnxtnode(root, n)) { - Agnode_t *t = agnode(clone, n); - for (e = agfstout(root, n); e; e = agnxtout(root, e)) { - Agnode_t *h = agnode(clone, agnameof(aghead(e))); - agedge(clone, t, h); - } - } -#endif return clone; } -- 2.40.0