]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove dead code. CID #1504027
authorAlan T. DeKok <aland@freeradius.org>
Thu, 14 Apr 2022 14:46:42 +0000 (10:46 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 14 Apr 2022 14:46:42 +0000 (10:46 -0400)
src/lib/util/struct.c

index 8f58f7b933aedbb7d5e4d1865814c47784262ccf..75732d64687076e9fd6a534f788baca7e857827f 100644 (file)
@@ -413,7 +413,6 @@ ssize_t fr_struct_from_network(TALLOC_CTX *ctx, fr_pair_list_t *out,
 
 done:
        if (!nested) {
-               fr_pair_list_head(child_list);
                fr_pair_list_append(out, child_list);   /* Wind to the end of the new pairs */
        } else {
                fr_assert(struct_vp != NULL);