From c1e3a50bfc3d56bc57d0e0c6b8f5aa522016070d Mon Sep 17 00:00:00 2001 From: Emden Gansner Date: Fri, 27 Jan 2012 10:57:27 -0500 Subject: [PATCH] Wrap function only used with cgraph with #ifdef WITH_CGRAPH --- lib/fdpgen/fdpinit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/fdpgen/fdpinit.c b/lib/fdpgen/fdpinit.c index 0dad475bc..2d7fe3f96 100644 --- a/lib/fdpgen/fdpinit.c +++ b/lib/fdpgen/fdpinit.c @@ -91,12 +91,14 @@ static void init_edge(edge_t * e, attrsym_t * E_len) common_init_edge(e); } +#ifdef WITH_CGRAPH static void init_node(node_t * n) { common_init_node(n); ND_pos(n) = N_NEW(GD_ndim(agraphof(n)), double); gv_nodesize(n, GD_flip(agraphof(n))); } +#endif void fdp_init_node_edge(graph_t * g) { -- 2.40.0