From: Alan T. DeKok Date: Fri, 7 May 2021 14:50:20 +0000 (-0400) Subject: add NDEBUG_UNUSED X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11272c202201bfebcdfe04cec69dad2a5bdf0389;p=thirdparty%2Ffreeradius-server.git add NDEBUG_UNUSED --- diff --git a/src/protocols/radius/encode.c b/src/protocols/radius/encode.c index 0ba34c186d9..b81e5ec256a 100644 --- a/src/protocols/radius/encode.c +++ b/src/protocols/radius/encode.c @@ -1232,7 +1232,7 @@ static ssize_t encode_vsa(fr_dbuff_t *dbuff, * Concatenating the string attributes together, separated by a 0x00 byte, */ static ssize_t encode_nas_filter_rule(fr_dbuff_t *dbuff, - fr_da_stack_t *da_stack, UNUSED unsigned int depth, + fr_da_stack_t *da_stack, NDEBUG_UNUSED unsigned int depth, fr_dcursor_t *cursor, UNUSED void *encode_ctx) { fr_dbuff_t work_dbuff = FR_DBUFF_NO_ADVANCE(dbuff);