From: Alan T. DeKok Date: Sun, 4 Oct 2020 20:48:27 +0000 (-0400) Subject: remove unused variable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83970bd5dc08ecfe919c5cf04a91bb1844beaeb6;p=thirdparty%2Ffreeradius-server.git remove unused variable --- diff --git a/src/protocols/radius/encode.c b/src/protocols/radius/encode.c index f858450edad..c7f1993eb7f 100644 --- a/src/protocols/radius/encode.c +++ b/src/protocols/radius/encode.c @@ -844,7 +844,6 @@ static ssize_t encode_extended_hdr(fr_dbuff_t *dbuff, fr_cursor_t *cursor, void *encoder_ctx) { ssize_t slen; - fr_type_t attr_type; #ifndef NDEBUG fr_type_t vsa_type; int jump = 3; @@ -863,7 +862,6 @@ static ssize_t encode_extended_hdr(fr_dbuff_t *dbuff, /* * @fixme: check depth of stack */ - attr_type = da_stack->da[0]->type; #ifndef NDEBUG vsa_type = da_stack->da[1]->type; if (fr_debug_lvl > 3) {