]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove unnecessary brackets
authorAlan T. DeKok <aland@freeradius.org>
Fri, 12 Aug 2022 15:49:39 +0000 (11:49 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 12 Aug 2022 15:49:39 +0000 (11:49 -0400)
src/lib/server/tmpl_dcursor.c

index d9deea7df40edfe091464f4031b36e69f82f528c..14064858d78a2f915607a47cdad3f8aaf9ddb435 100644 (file)
@@ -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: