From: Alan T. DeKok Date: Sat, 6 Dec 2025 17:02:36 +0000 (-0500) Subject: remove last vestiges of "keys can have children" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2f0f45865173fb69950598ed9be33044e7eec7c;p=thirdparty%2Ffreeradius-server.git remove last vestiges of "keys can have children" --- diff --git a/src/lib/util/dict_util.c b/src/lib/util/dict_util.c index 8778e758aee..b01dbe12b9f 100644 --- a/src/lib/util/dict_util.c +++ b/src/lib/util/dict_util.c @@ -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 */