'showvers' warning fix for curses

The wishy-washy warning for case BL_VERS was "may fall through" when
it always fell through, and there was no mention of the fact that the
assignment had no effect because it was immediately overwritten by
similar assignment for the fall through cases.

It may have 'spacing = 2' rather than 1 at some point, but since that
field is right justified it wouldn't make any difference.
This commit is contained in:
PatR
2024-02-29 23:50:35 -08:00
parent 193085d2e3
commit a26ad241b2

View File

@@ -429,7 +429,6 @@ draw_horizontal(boolean border)
spacing[fld] = (cap_and_hunger == 0);
break;
case BL_VERS:
spacing[fld] = 1;
case BL_STR:
case BL_HP:
case BL_ENE: