]> granicus.if.org Git - graphviz/commitdiff
Fix uninitialized character when checking for nodes pinned with '!'.
authorerg <devnull@localhost>
Tue, 15 Aug 2006 17:37:17 +0000 (17:37 +0000)
committererg <devnull@localhost>
Tue, 15 Aug 2006 17:37:17 +0000 (17:37 +0000)
lib/neatogen/neatoinit.c

index a819592253f05ad18da82db2fe9c3d8a0960966e..3768b0365a1b0e22ee199515b5faa55433d6277b 100644 (file)
@@ -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)