]> granicus.if.org Git - graphviz/commit
neatogen: remove unused 'total_gap' in 'constrained_majorization_new_with_gaps'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 14 May 2022 02:31:41 +0000 (19:31 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 14 May 2022 02:31:41 +0000 (19:31 -0700)
commit78d604a6233383cb8b417532dac0e60005a6bae7
treebcb546a76309385d4b2c7a3cdd0cb1454a5b3573
parenta5409ca61130f4b2373049f63b21024320a207ba
neatogen: remove unused 'total_gap' in 'constrained_majorization_new_with_gaps'

The CMake macOS CI job has begun erroring out:

  …/lib/neatogen/quad_prog_solve.c:602:11: error: variable 'total_gap' set but
    not used [-Werror,-Wunused-but-set-variable]
    float total_gap, target_place;
          ^

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/neatogen/quad_prog_solve.c