From: Arran Cudbard-Bell Date: Wed, 14 Dec 2022 23:39:25 +0000 (-0600) Subject: Unused macros X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28b9f76d4ac44023ff29c906e6207f66dae86988;p=thirdparty%2Ffreeradius-server.git Unused macros --- diff --git a/src/lib/server/tmpl.h b/src/lib/server/tmpl.h index cb5377e133c..11c3db373f2 100644 --- a/src/lib/server/tmpl.h +++ b/src/lib/server/tmpl.h @@ -850,12 +850,6 @@ static inline tmpl_pair_list_t tmpl_list(tmpl_t const *vpt) #define tmpl_rules_cast(_tmpl) (_tmpl)->rules.cast #define tmpl_rules_enumv(_tmpl) (_tmpl)->rules.enumv - -/* - * Temporary macros to track where we do assignments - */ -#define tmpl_value_length_set(_tmpl, _len) (_tmpl)->data.literal.vb_length = (_len) -#define tmpl_value_type_set(_tmpl, _type) (_tmpl)->data.literal.type = (_type) /** @} */ /** @name Field accessors for #TMPL_TYPE_REGEX and #TMPL_TYPE_REGEX_XLAT_UNRESOLVED