zenorogue / hyperrogue

A SDL roguelike in a non-euclidean world
GNU General Public License v2.0
571 stars 72 forks source link

Fix -Wunused-but-set-variable warnings from Clang #342

Open Quuxplusone opened 1 year ago

Quuxplusone commented 1 year ago

You should take a close look at each of these removals, because they might indicate a typo further down — maybe the variable was intended to be used, but accidentally wasn't. For example, return a < 6; is very suspicious: should it have been return a0 < 6; ?