From: Alan T. DeKok Date: Mon, 18 Dec 2023 01:06:30 +0000 (-0500) Subject: -Wunused X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=104f1d2422f6dadc5526c92666a285cc01519907;p=thirdparty%2Ffreeradius-server.git -Wunused --- diff --git a/src/modules/rlm_files/rlm_files.c b/src/modules/rlm_files/rlm_files.c index b66e70877e9..2d62cecf8be 100644 --- a/src/modules/rlm_files/rlm_files.c +++ b/src/modules/rlm_files/rlm_files.c @@ -156,11 +156,7 @@ static int getusersfile(TALLOC_CTX *ctx, char const *filename, fr_htrie_t **ptre reply_head = NULL; /* - * Look for improper use of '=' in the - * check items. They should be using - * '==' for on-the-wire RADIUS attributes, - * and probably ':=' for server - * configuration items. + * Do various sanity checks. */ while ((map = map_list_next(&entry->check, map))) { if (!tmpl_is_attr(map->lhs)) { @@ -168,7 +164,6 @@ static int getusersfile(TALLOC_CTX *ctx, char const *filename, fr_htrie_t **ptre entry->filename, entry->lineno, map->lhs->name); return -1; } - da = tmpl_attr_tail_da(map->lhs); /* * Disallow regexes for now.