From 76f3459086d2808785818edad35aad5f68b2eb98 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 19 Jul 2005 13:41:54 +0000 Subject: [PATCH] Fix: c-1241 cc: ERROR File = compute_hierarchy.c, Line = 120 A declaration cannot appear after an executable statement in a block. --- lib/neatogen/compute_hierarchy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neatogen/compute_hierarchy.c b/lib/neatogen/compute_hierarchy.c index 683b3b286..56ac70add 100644 --- a/lib/neatogen/compute_hierarchy.c +++ b/lib/neatogen/compute_hierarchy.c @@ -116,8 +116,8 @@ compute_hierarchy(vtx_data* graph, int n, double abs_tol, double relative_tol, levels[0] = n; } else { - *levelsp = levels = N_GNEW(num_levels, int); int count=0; + *levelsp = levels = N_GNEW(num_levels, int); for (i=1; i tol) { levels[count++] = i; -- 2.40.0