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.
int ncomps, *comps = NULL, *comps_ptr = NULL;
int nn, n;
double *ctmp;
- int i, j, jj, nnodes = 0;
+ int i, j, jj;
QuadTree qt = NULL;
int cdim;
int scheme = COLOR_LAB;
nn = comps_ptr[i+1] - comps_ptr[i];
B = SparseMatrix_get_submatrix(A, nn, nn, &(comps[comps_ptr[i]]), &(comps[comps_ptr[i]]));
node_distinct_coloring_internal(scheme, qt, weightedQ, B, cdim, accuracy, iter_max, seed, ctmp);
- if (B->m > 2) {
- nnodes += B->m;
- }
for (j = comps_ptr[i]; j < comps_ptr[i+1]; j++){
jj = j - comps_ptr[i];