explain_why_no_action_enabled() fallthrough warning
With -Wimplicit-fallthrough enabled:
../../../src/server/unithand.c: In function ‘explain_why_no_action_enabled’: ../../../src/server/unithand.c:2019:5: error: this statement may fall through -Werror=implicit-fallthrough=
../../../src/server/unithand.c:2038:3: note: here
This is actually dead code *after* the break;
Seems like alternative implementation to the stuff that is above. Is this reimplementing gone awry?
With -Wimplicit-fallthrough enabled:
../../../src/server/unithand.c: In function ‘explain_why_no_action_enabled’:
../../../src/server/unithand.c:2019:5: error: this statement may fall through -Werror=implicit-fallthrough=
../../../src/server/unithand.c:2038:3: note: here
~