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/include | |
| parent | 29cdb716d0283d1cb67713f4bb6eb08e28dd98d5 (diff) | |
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/include')
| -rw-r--r-- | source3/include/proto.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 0a4db861a8..4948fc3f38 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1031,7 +1031,6 @@ bool lp_canonicalize_parameter_with_value(const char *parm_name, const char **canon_parm, const char **canon_val); void show_parameter_list(void); -bool lp_string_is_valid_boolean(const char *parm_value); bool lp_invert_boolean(const char *str, const char **inverse_str); bool lp_canonicalize_boolean(const char *str, const char**canon_str); bool service_ok(int iService); |
