From 6087ccfc09fccc785752025f91a4649bd442dcb5 Mon Sep 17 00:00:00 2001 From: erg Date: Tue, 29 Apr 2008 21:59:17 +0000 Subject: [PATCH] Integrate topfish and sfdp into main tree, using GTS for triangulation; remove duplicated code --- lib/neatogen/neatoinit.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/lib/neatogen/neatoinit.c b/lib/neatogen/neatoinit.c index 6514c1fe7..c8c5c62eb 100644 --- a/lib/neatogen/neatoinit.c +++ b/lib/neatogen/neatoinit.c @@ -946,25 +946,6 @@ static vtx_data *makeGraphData(graph_t * g, int nv, int *nedges, int mode, int m return graph; } -static void freeGraphData(vtx_data * graph) -{ - if (graph != NULL) { - if (graph[0].edges != NULL) - free(graph[0].edges); - if (graph[0].ewgts != NULL) - free(graph[0].ewgts); -#ifdef UNIMPLEMENTED - if (graph[0].elens != NULL) - free(graph[0].elens); -#endif -#ifdef USE_STYLES - if (graph[0].styles != NULL) - free(graph[0].styles); -#endif - free(graph); - } -} - static void initRegular(graph_t * G, int nG) { double a, da; -- 2.40.0