Skip to content

Commit 1249c09

Browse files
committed
remove dead code
1 parent be07beb commit 1249c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/server/tmpl_tokenize.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4322,7 +4322,7 @@ int tmpl_resolve(tmpl_t *vpt, tmpl_res_rules_t const *tr_rules)
43224322
} else if (vpt->quote != T_BARE_WORD) {
43234323
dst_type = FR_TYPE_STRING; /* quoted strings are strings */
43244324

4325-
} else if (!enumv || (strncmp(vpt->data.unescaped, "::", 2) != 0)) {
4325+
} else if (strncmp(vpt->data.unescaped, "::", 2) != 0) {
43264326
/*
43274327
* The rest of the code should have errored out before this.
43284328
*/

0 commit comments

Comments
 (0)