diff options
| author | Garming Sam <garming@catalyst.net.nz> | 2014-02-18 10:24:59 +1300 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-05-07 19:49:14 +0200 |
| commit | 4a86b693fd14ec9d156b8285a625b7c6e0e690ef (patch) | |
| tree | cd8c350b835c3937bbd83867cf2f5ccfa91e46aa /source3/param/loadparm.c | |
| parent | 29cdb716d0283d1cb67713f4bb6eb08e28dd98d5 (diff) | |
| download | samba-4a86b693fd14ec9d156b8285a625b7c6e0e690ef.tar.gz samba-4a86b693fd14ec9d156b8285a625b7c6e0e690ef.tar.xz samba-4a86b693fd14ec9d156b8285a625b7c6e0e690ef.zip | |
param: remove lp_string_is_valid_boolean
This call is never made in the code and should in fact crash if it was ever called with a valid boolean
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-on: https://gerrit.samba.org/106
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/param/loadparm.c')
| -rw-r--r-- | source3/param/loadparm.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index efaa93b237..fdc4d52eeb 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -2041,15 +2041,6 @@ void show_parameter_list(void) } /*************************************************************************** - Check if a given string correctly represents a boolean value. -***************************************************************************/ - -bool lp_string_is_valid_boolean(const char *parm_value) -{ - return set_boolean(parm_value, NULL); -} - -/*************************************************************************** Get the standard string representation of a boolean value ("yes" or "no") ***************************************************************************/ |
