mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
param: Do not check defaults_saved in is_default
We only call is_default if defaults_saved == true, so this static variable reference is not required. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Jan 30 03:31:29 CET 2014 on sn-devel-104
This commit is contained in:
parent
54f380744a
commit
c2b8d31b13
@ -3487,8 +3487,6 @@ static bool do_section(const char *pszSectionName, void *userdata)
|
||||
|
||||
static bool is_default(int i)
|
||||
{
|
||||
if (!defaults_saved)
|
||||
return false;
|
||||
switch (parm_table[i].type) {
|
||||
case P_LIST:
|
||||
case P_CMDLIST:
|
||||
|
Loading…
x
Reference in New Issue
Block a user