From f7513f6aab56e07c31d41a267e06043c8789146f Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 2 Mar 2022 05:05:58 +0200 Subject: [PATCH 17/17] Replace "Fall through" comments with fc__fallthrough See osdn #43645 Signed-off-by: Marko Lindqvist --- common/actions.c | 6 ++++-- server/stdinhand.c | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/common/actions.c b/common/actions.c index 66bc141bb2..2584fb225d 100644 --- a/common/actions.c +++ b/common/actions.c @@ -1663,7 +1663,8 @@ blocked_find_target_tile(const action_id act_id, if (target_unit) { return unit_tile(target_unit); } - /* Fall through. */ + + fc__fallthrough; case ATK_TILE: fc_assert_ret_val(target_tile_arg, NULL); return target_tile_arg; @@ -1715,7 +1716,8 @@ blocked_find_target_city(const action_id act_id, fc_assert_ret_val(unit_tile(target_unit), NULL); return tile_city(unit_tile(target_unit)); } - /* Fall through. */ + + fc__fallthrough; case ATK_TILE: fc_assert_ret_val(target_tile, NULL); return tile_city(target_tile); diff --git a/server/stdinhand.c b/server/stdinhand.c index f6390d4b5b..7553aaa690 100644 --- a/server/stdinhand.c +++ b/server/stdinhand.c @@ -1786,7 +1786,8 @@ static void show_help_option(struct connection *caller, value, setting_enum_val(pset, i, TRUE)); } } - /* Fall through. */ + + fc__fallthrough; case SST_BOOL: case SST_STRING: cmd_reply(help_cmd, caller, C_COMMENT, "%s %s, %s %s", -- 2.34.1