From 760ab79f28a21550d2c04b34bbfc64d0a4ca2b0f Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Sun, 24 Jan 2021 17:29:35 -0700 Subject: [PATCH] Remove dead assignment from makeDotGraph --- cmd/tools/mm2gv.c | 1 - lib/sparse/DotIO.c | 1 - 2 files changed, 2 deletions(-) diff --git a/cmd/tools/mm2gv.c b/cmd/tools/mm2gv.c index 0fa04d638..abcc4c424 100644 --- a/cmd/tools/mm2gv.c +++ b/cmd/tools/mm2gv.c @@ -320,7 +320,6 @@ static Agraph_t *makeDotGraph(SparseMatrix A, char *name, int dim, } } - i = 0; for (n = agfstnode(g); n; n = agnxtnode(g, n)) { i = ND_id(n); for (j = ia[i]; j < ia[i + 1]; j++) { diff --git a/lib/sparse/DotIO.c b/lib/sparse/DotIO.c index fc59210aa..799efbd5f 100644 --- a/lib/sparse/DotIO.c +++ b/lib/sparse/DotIO.c @@ -590,7 +590,6 @@ makeDotGraph (SparseMatrix A, char *name, int dim, real *x, int with_color, int } } - i = 0; for (n = agfstnode (g); n; n = agnxtnode (g, n)) { i = ND_id(n); for (j = ia[i]; j < ia[i+1]; j++) { -- 2.40.0