summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/param/loadparm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index a546d51438..deb7d2284f 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -2428,9 +2428,6 @@ BOOL lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue
static BOOL do_parameter(const char *pszParmName, const char *pszParmValue)
{
- if (!bInGlobalSection)
- return (True);
-
return (lp_do_parameter(bInGlobalSection ? -2 : iServiceIndex,
pszParmName, pszParmValue));
}
@@ -2631,9 +2628,6 @@ static BOOL do_section(const char *pszSectionName)
return (True);
}
- if (!bInGlobalSection)
- return (True);
-
/* if we have a current service, tidy it up before moving on */
bRetval = True;