]> granicus.if.org Git - graphviz/commitdiff
Remove redundant allocation of Hierarchy structure.
authorerg <devnull@localhost>
Tue, 25 Mar 2008 19:49:41 +0000 (19:49 +0000)
committererg <devnull@localhost>
Tue, 25 Mar 2008 19:49:41 +0000 (19:49 +0000)
cmd/smyrna/hier.c

index 33e1d5c26a300df6860e0121cc8a7369ba4d539d..6b6ec4c1316a6cfe0529ceb392510a5e427cfb55 100644 (file)
@@ -197,7 +197,7 @@ Hierarchy *makeHier(int nn, int ne, vtx_data * graph, double *x_coords,
     vtx_data *delaunay;
     ex_vtx_data *geom_graph;
     int ngeom_edges;
-    Hierarchy *hp = NEW(Hierarchy);
+    Hierarchy *hp;
 
     delaunay = UG_graph(x_coords, y_coords, nn, 0);