]> granicus.if.org Git - graphviz/commitdiff
Initialize uninitialized variable
authorerg <devnull@localhost>
Fri, 29 May 2009 23:14:32 +0000 (23:14 +0000)
committererg <devnull@localhost>
Fri, 29 May 2009 23:14:32 +0000 (23:14 +0000)
lib/neatogen/neatosplines.c

index 98356eabb762dd758ee82515101071093ce887bc..74d5af20d1fd2de88654639fef8242945c0deda9 100644 (file)
@@ -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) {