]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add FALL-THROUGH for newer compilers
authorAlan T. DeKok <aland@freeradius.org>
Fri, 16 Feb 2018 20:50:18 +0000 (15:50 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 16 Feb 2018 20:50:18 +0000 (15:50 -0500)
src/main/map.c

index aa4d23c15efb68e746f21a2c69ed794ef5464d42..8c557acfc62cdd51507e1217196c02d116da98e0 100644 (file)
@@ -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);