]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Revert "require that CONF_PARSER entries put their data somewhere"
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 14 Dec 2017 18:35:02 +0000 (18:35 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 14 Dec 2017 18:35:02 +0000 (18:35 +0000)
This reverts commit d40748b6c7572e79b50f988f096dfaa117ab3bd5.

src/main/cf_parse.c

index 678e424371512a8deae8630c081ed37b6a3181c2..150222a3e3cb33c91f82636b926f337e36573161 100644 (file)
@@ -1098,15 +1098,6 @@ int cf_section_parse(TALLOC_CTX *ctx, void *base, CONF_SECTION *cs)
                        continue;
                } /* else it's a CONF_PAIR */
 
-               /*
-                *      Nowhere to put the parsed data, ignore it.
-                */
-               if (!data) {
-                       WARN("%s[%d]: The item '%s' has nowhere to put its data",
-                            cs->item.filename, cs->item.lineno, rule->name);
-                       continue;
-               }
-
                /*
                 *      Pair either needs an output destination or
                 *      there needs to be a function associated with