]> granicus.if.org Git - graphviz/commitdiff
suppress unitializewd variable warning
authorJohn Ellson <ellson@research.att.com>
Mon, 19 May 2014 16:50:30 +0000 (12:50 -0400)
committerJohn Ellson <ellson@research.att.com>
Mon, 19 May 2014 16:50:30 +0000 (12:50 -0400)
cmd/gvmap/country_graph_coloring.c

index 77d334d4fa999712976b124caaaf8426b8f4415b..38bb8844bc309a620ed03e2c22cb105de5f2c9d4 100644 (file)
@@ -25,7 +25,7 @@
 /* int Verbose = FALSE; */
 
 static void get_local_12_norm(int n, int i, int *ia, int *ja, int *p, real *norm){
-  int j, nz;
+  int j, nz = 0;
   norm[0] = n; norm[1] = 0;
   for (j = ia[i]; j < ia[i+1]; j++){
     if (ja[j] == i) continue;