From: erg Date: Tue, 15 Aug 2006 17:37:17 +0000 (+0000) Subject: Fix uninitialized character when checking for nodes pinned with '!'. X-Git-Tag: LAST_LIBGRAPH~32^2~5967 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75ad6105b2f6150ee85351ac33cff1dfcbe79aa7;p=graphviz Fix uninitialized character when checking for nodes pinned with '!'. --- diff --git a/lib/neatogen/neatoinit.c b/lib/neatogen/neatoinit.c index a81959225..3768b0365 100644 --- a/lib/neatogen/neatoinit.c +++ b/lib/neatogen/neatoinit.c @@ -69,7 +69,7 @@ void neato_init_edge(edge_t * e) int user_pos(attrsym_t * posptr, attrsym_t * pinptr, node_t * np, int nG) { double *pvec; - char *p, c; + char *p, c = '\0'; double z; if (posptr == NULL)