]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove last vestiges of "keys can have children"
authorAlan T. DeKok <aland@freeradius.org>
Sat, 6 Dec 2025 17:02:36 +0000 (12:02 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 6 Dec 2025 17:02:36 +0000 (12:02 -0500)
src/lib/util/dict_util.c

index 8778e758aeeaced4902a14f4b6e9af9b070d4850..b01dbe12b9fa3c68445e47404a06c5b2c0b88854 100644 (file)
@@ -603,7 +603,6 @@ int dict_attr_type_init(fr_dict_attr_t **da_p, fr_type_t type)
         */
        switch (type) {
        case FR_TYPE_STRUCTURAL:
-       structural:
                /*
                 *      Groups don't have children or namespaces.  But
                 *      they always have refs.  Either to the root of
@@ -628,14 +627,6 @@ int dict_attr_type_init(fr_dict_attr_t **da_p, fr_type_t type)
                (*da_p)->last_child_attr = (1 << 24);   /* High enough not to conflict with protocol numbers */
                break;
 
-       /*
-        *      Keying types *sigh*
-        */
-       case FR_TYPE_UINT8:     /* Hopefully temporary until unions are done properly */
-       case FR_TYPE_UINT16:    /* Same here */
-               if (dict_attr_enumv_init(da_p) < 0) return -1;
-               goto structural;
-
        /*
         *      Leaf types
         */