From 1acff21bec458fcd40dd40455c9a76b76e288a2b Mon Sep 17 00:00:00 2001 From: erg Date: Fri, 29 May 2009 23:14:32 +0000 Subject: [PATCH] Initialize uninitialized variable --- lib/neatogen/neatosplines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neatogen/neatosplines.c b/lib/neatogen/neatosplines.c index 98356eabb..74d5af20d 100644 --- a/lib/neatogen/neatosplines.c +++ b/lib/neatogen/neatosplines.c @@ -755,7 +755,7 @@ static int _spline_edges(graph_t * g, expand_t* pmargin, int edgetype) path *P = NULL; int useEdges = (Nop > 1); router_t* rtr = 0; - int legal; + int legal = 0; /* build configuration */ if (edgetype != ET_LINE) { -- 2.40.0