]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Not there yet
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 14 Oct 2020 18:33:19 +0000 (13:33 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 14 Oct 2020 18:33:19 +0000 (13:33 -0500)
src/lib/util/dict_util.c

index e43459fa14b504255217c523bc8803e14857dc3d..3268ec57d3b13b04d74716352a38bba268982978 100644 (file)
@@ -584,14 +584,12 @@ int dict_attr_init(TALLOC_CTX *ctx, fr_dict_attr_t **da_p,
         */
        case FR_TYPE_UINT8:     /* Hopefully temporary until unions are done properly */
        case FR_TYPE_UINT16:    /* Same here */
-               if (dict_attr_enumv_init(ctx, da_p) < 0) return -1;
                goto structural;
 
        /*
         *      Leaf types
         */
        default:
-               if (dict_attr_enumv_init(ctx, da_p) < 0) return -1;
                break;
        }