From: Alan T. DeKok Date: Fri, 12 Aug 2022 15:49:39 +0000 (-0400) Subject: remove unnecessary brackets X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff3f2a1464c74ca6b44e240c911bacf84d71bbbe;p=thirdparty%2Ffreeradius-server.git remove unnecessary brackets --- diff --git a/src/lib/server/tmpl_dcursor.c b/src/lib/server/tmpl_dcursor.c index d9deea7df40..14064858d78 100644 --- a/src/lib/server/tmpl_dcursor.c +++ b/src/lib/server/tmpl_dcursor.c @@ -171,7 +171,7 @@ fr_pair_t *_tmpl_cursor_eval(fr_pair_t *curr, tmpl_dcursor_ctx_t *cc) * If no pair was found and there is a fill * callback, call that, depending on the suffix */ - if ((!vp) && (cc->build) && (ar)) switch (ar->ar_num) { + if (!vp && cc->build && ar) switch (ar->ar_num) { case NUM_UNSPEC: case NUM_LAST: case 0: