]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove unused assignment
authorAlan T. DeKok <aland@freeradius.org>
Thu, 2 Nov 2017 15:55:46 +0000 (11:55 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 2 Nov 2017 15:55:46 +0000 (11:55 -0400)
src/protocols/radius/decode.c

index bd333ea7b2da399c4aca2be5b9a23b1fb7956abb..9f92d61cf4d692e0fbec2aad9cccf6b8fb1ca04c 100644 (file)
@@ -386,7 +386,6 @@ static ssize_t decode_concat(TALLOC_CTX *ctx, vp_cursor_t *cursor,
        while (ptr < end) {
                memcpy_bounded(p, ptr + 2, ptr[1] - 2, end);
                p += ptr[1] - 2;
-               total += ptr[1] - 2;
                ptr += ptr[1];
        }
        fr_pair_cursor_append(cursor, vp);