mirror of
https://github.com/samba-team/samba.git
synced 2025-11-18 00:23:50 +03:00
param: Remove unused lp_is_default (once used by SWAT)
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
committed by
Michael Adam
parent
02d60cd028
commit
ebb04f4037
@@ -3555,17 +3555,6 @@ static void dump_globals(FILE *f)
|
||||
|
||||
}
|
||||
|
||||
/***************************************************************************
|
||||
Return true if a local parameter is currently set to the global default.
|
||||
***************************************************************************/
|
||||
|
||||
bool lp_is_default(int snum, struct parm_struct *parm)
|
||||
{
|
||||
return lpcfg_equal_parameter(parm->type,
|
||||
lp_parm_ptr(ServicePtrs[snum], parm),
|
||||
lp_parm_ptr(NULL, parm));
|
||||
}
|
||||
|
||||
/***************************************************************************
|
||||
Display the contents of a single services record.
|
||||
***************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user