]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove dead code
authorAlan T. DeKok <aland@freeradius.org>
Thu, 30 Jan 2025 15:49:08 +0000 (10:49 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 30 Jan 2025 15:59:36 +0000 (10:59 -0500)
src/lib/server/tmpl_tokenize.c

index 2d5cb95a4f0a975f5b3016fac0db6a6b1de318b5..7b4fb62382dbc71d6943cf5408bb6e7bdd4a339f 100644 (file)
@@ -4322,7 +4322,7 @@ int tmpl_resolve(tmpl_t *vpt, tmpl_res_rules_t const *tr_rules)
                        } else if (vpt->quote != T_BARE_WORD) {
                                dst_type = FR_TYPE_STRING;      /* quoted strings are strings */
 
-                       } else if (!enumv || (strncmp(vpt->data.unescaped, "::", 2) != 0)) {
+                       } else if (strncmp(vpt->data.unescaped, "::", 2) != 0) {
                                /*
                                 *      The rest of the code should have errored out before this.
                                 */