From: John Ellson Date: Mon, 19 May 2014 16:50:30 +0000 (-0400) Subject: suppress unitializewd variable warning X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~209^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74c19a2b30a550753227bea15303cbe3c69bfd01;p=graphviz suppress unitializewd variable warning --- diff --git a/cmd/gvmap/country_graph_coloring.c b/cmd/gvmap/country_graph_coloring.c index 77d334d4f..38bb8844b 100644 --- a/cmd/gvmap/country_graph_coloring.c +++ b/cmd/gvmap/country_graph_coloring.c @@ -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;