]> granicus.if.org Git - graphviz/commit
find_ints: squash a -Wswitch-default warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 11 Sep 2021 17:00:32 +0000 (10:00 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 19 Sep 2021 02:31:32 +0000 (19:31 -0700)
commitd17123252d28a308fcff8fde93c7fbd744e5532f
tree040bd6f3436b799b97c156784d1c40cbc12e2de8
parent1cf8e0225a6a215c93437a9972497f1cae0ffc8c
find_ints: squash a -Wswitch-default warning

This switch on the result of a call to `gt` only ever results in -1, 1, or 0.
The 0 case was pretty clearly intended to be a no-op here.
lib/neatogen/legal.c