From f29f8f75ad4229f3100c46c53bb4a5d446662f81 Mon Sep 17 00:00:00 2001 From: erg Date: Thu, 18 Jun 2009 14:37:47 +0000 Subject: [PATCH] Guarantee variable is initialized. --- lib/neatogen/multispline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neatogen/multispline.c b/lib/neatogen/multispline.c index 4a6179ca6..0230d7d7b 100644 --- a/lib/neatogen/multispline.c +++ b/lib/neatogen/multispline.c @@ -606,7 +606,7 @@ static tgraph *mkTriGraph(surface_t * sf, int maxv, pointf * pts) edgei += degT(sf->neigh + 3 * i) + 1; } /* initialize variable nodes */ - np++; + np = g->nodes + i; np->ne = 0; np->edges = edgei; np++; -- 2.50.1