]> granicus.if.org Git - graphviz/commitdiff
Remove dead assignment from edge_distinct_coloring
authorAlex Henrie <alexhenrie24@gmail.com>
Mon, 25 Jan 2021 00:29:35 +0000 (17:29 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 31 Jan 2021 00:39:12 +0000 (16:39 -0800)
lib/edgepaint/edge_distinct_coloring.c

index 21d9cd5e5c710313aacebadc520734d1aa2ef903..1944e6067583515e6dc7f20720f249e9b18475e6 100644 (file)
@@ -202,7 +202,6 @@ Agraph_t* edge_distinct_coloring(char *color_scheme, char *lightness, Agraph_t*
   if (Verbose)
     fprintf(stderr,"cos = %f, nz2 = %d\n", cos_critical, nz2);
   /* now find edge collision */
-  nz = 0;
   B = SparseMatrix_new(nz2, nz2, 1, MATRIX_TYPE_REAL, FORMAT_COORD);
 
   if (Import_dot_splines(g, &ne, &xsplines)){