From: Alan T. DeKok Date: Fri, 16 Feb 2018 20:50:18 +0000 (-0500) Subject: add FALL-THROUGH for newer compilers X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25be246e8ef956379769db8f480e2eead19113ba;p=thirdparty%2Ffreeradius-server.git add FALL-THROUGH for newer compilers --- diff --git a/src/main/map.c b/src/main/map.c index aa4d23c15ef..8c557acfc62 100644 --- a/src/main/map.c +++ b/src/main/map.c @@ -1705,6 +1705,7 @@ int map_list_mod_apply(REQUEST *request, vp_list_mod_t const *vlm) fr_cursor_tail(&to); fr_cursor_merge(&to, &to_insert); /* Do this last so we don't expand the 'to' set */ } + /* FALL-THROUGH */ case T_OP_ADD: { @@ -2435,8 +2436,12 @@ int map_to_request(REQUEST *request, vp_map_t const *map, radius_map_getvalue_t *list = head; head = NULL; } else { + /* FALL-THROUGH */ + case T_OP_EQ: rad_assert(map->rhs->type == TMPL_TYPE_EXEC); + /* FALL-THROUGH */ + case T_OP_ADD: fr_pair_list_move(parent, list, &head); fr_pair_list_free(&head);