From: Arran Cudbard-Bell Date: Thu, 14 Dec 2017 18:35:02 +0000 (+0000) Subject: Revert "require that CONF_PARSER entries put their data somewhere" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b2f6a348c43ff71d3d2acd09e71005f11ab04fd;p=thirdparty%2Ffreeradius-server.git Revert "require that CONF_PARSER entries put their data somewhere" This reverts commit d40748b6c7572e79b50f988f096dfaa117ab3bd5. --- diff --git a/src/main/cf_parse.c b/src/main/cf_parse.c index 678e4243715..150222a3e3c 100644 --- a/src/main/cf_parse.c +++ b/src/main/cf_parse.c @@ -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