]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove unnecessary code
authorAlan T. DeKok <aland@freeradius.org>
Thu, 21 Jan 2021 17:59:30 +0000 (12:59 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 21 Jan 2021 17:59:30 +0000 (12:59 -0500)
src/protocols/radius/decode.c

index 8b7043f90dbbb2b90aa42b8941758d8e4f8f7aba..5f9403eec5b1c925dbf79950b845efd10a7c6ee8 100644 (file)
@@ -1421,8 +1421,6 @@ ssize_t fr_radius_decode_pair_value(TALLOC_CTX *ctx, fr_cursor_t *cursor, fr_dic
        {
                fr_dict_attr_t *raw;
 
-               if (!packet_ctx) goto raw;
-
                /*
                 *      Create an unknown attribute, and decode it as
                 *      "octets".  Note that we have to account for