'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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user