]> granicus.if.org Git - graphviz/commit
mingle: remove unused 'total_wgt' in 'agglomerative_ink_bundling_internal'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 13 May 2022 15:04:07 +0000 (08:04 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 13 May 2022 15:04:07 +0000 (08:04 -0700)
commit6a7ec065ddc8155f6d1f165b626c76b382d918ae
tree9f31d302a5ac23d64bff8e0904ca8efe7f967fbd
parent63923bcbe82dfc966abd057ae05eaba14e951404
mingle: remove unused 'total_wgt' in 'agglomerative_ink_bundling_internal'

The CMake macOS CI job has begun erroring out:

  …/lib/mingle/agglomerative_bundling.cpp:400:27: error: variable 'total_wgt'
    set but not used [-Werror,-Wunused-but-set-variable]
  double eps = 0., wgt, total_wgt = 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/mingle/agglomerative_bundling.cpp