]> granicus.if.org Git - graphviz/commit
edgepaint: remove unused 'nnodes' in 'node_distinct_coloring'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 13 May 2022 13:49:46 +0000 (06:49 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 13 May 2022 14:04:18 +0000 (07:04 -0700)
commit63923bcbe82dfc966abd057ae05eaba14e951404
tree2de7e410cddd5c47c03aabf5a26ab83679ed2723
parent1128a50c17e8cfbf866fdc9c155174e9ff734715
edgepaint: remove unused 'nnodes' in 'node_distinct_coloring'

The CMake macOS CI job has begun erroring out:

  …/lib/edgepaint/node_distinct_coloring.c:204:17: error: variable 'nnodes'
    set but not used [-Werror,-Wunused-but-set-variable]
  int i, j, jj, nnodes = 0;
                ^

While the error is accurate, nothing has changed on our side that would have
caused this. I can only assume Gitlab have upgraded the macOS runners to pull in
a new version of Clang.
lib/edgepaint/node_distinct_coloring.c