From: Alan T. DeKok Date: Fri, 3 Aug 2018 16:40:52 +0000 (-0400) Subject: no longer have this X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c2aaeff6ed794c1e98cffaabc4230d23afdda31;p=thirdparty%2Ffreeradius-server.git no longer have this --- diff --git a/src/lib/server/cf_parse.c b/src/lib/server/cf_parse.c index 3378d0254a1..b42d29de112 100644 --- a/src/lib/server/cf_parse.c +++ b/src/lib/server/cf_parse.c @@ -1414,15 +1414,6 @@ int cf_section_parse_pass2(void *base, CONF_SECTION *cs) return 0; } -/* - * Fixme? Swapout with an iterative API. - */ -const CONF_PARSER *cf_section_parse_table(CONF_SECTION *cs) -{ - if (!cs) return NULL; - - return cs->variables; -} /** Add a single rule to a #CONF_SECTION * diff --git a/src/lib/server/cf_parse.h b/src/lib/server/cf_parse.h index 1872ae7b376..c4803d1b9fb 100644 --- a/src/lib/server/cf_parse.h +++ b/src/lib/server/cf_parse.h @@ -459,7 +459,6 @@ int cf_pair_parse(TALLOC_CTX *ctx, CONF_SECTION *cs, char const *name, unsigned int type, void *data, char const *dflt, FR_TOKEN dflt_quote) CC_HINT(nonnull(2,3)); int cf_section_parse(TALLOC_CTX *ctx, void *base, CONF_SECTION *cs); int cf_section_parse_pass2(void *base, CONF_SECTION *cs); -CONF_PARSER const *cf_section_parse_table(CONF_SECTION *cs); /* * Runtime parse rules diff --git a/src/lib/server/cf_priv.h b/src/lib/server/cf_priv.h index bec0862210a..6306fc06298 100644 --- a/src/lib/server/cf_priv.h +++ b/src/lib/server/cf_priv.h @@ -102,7 +102,6 @@ struct cf_section { int depth; CONF_SECTION *template; - CONF_PARSER const *variables; //!< the section was parsed with. }; /** Internal data that is associated with a configuration section diff --git a/src/lib/server/cf_util.c b/src/lib/server/cf_util.c index 1958096193c..f1460f80fd2 100644 --- a/src/lib/server/cf_util.c +++ b/src/lib/server/cf_util.c @@ -842,7 +842,6 @@ CONF_SECTION *cf_section_dup(TALLOC_CTX *ctx, CONF_SECTION *parent, CONF_SECTION new->template = cs->template; new->base = cs->base; new->depth = cs->depth; - new->variables = cs->variables; } new->item.lineno = cs->item.lineno;