summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-07 21:20:47 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-07 23:20:54 +1000
commit31d1fde037d78e2c2becdedb9016a859e5e38437 (patch)
treed9408b6c78d0948222b21555b76aac96bcf698ca /source3
parentd65bded0c2435a62bf0fe33828d6dc5b9a74f936 (diff)
downloadsamba-31d1fde037d78e2c2becdedb9016a859e5e38437.tar.gz
samba-31d1fde037d78e2c2becdedb9016a859e5e38437.tar.bz2
samba-31d1fde037d78e2c2becdedb9016a859e5e38437.zip
s3-param: Remove never-reached condition for opt_list == NULL
All the callers provide a parametric options pointer to fill in. Andrew Bartlett
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 9c49eb094b..6895ebe4d0 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2254,10 +2254,6 @@ static void set_param_opt(struct parmlist_entry **opt_list,
struct parmlist_entry *new_opt, *opt;
bool not_added;
- if (opt_list == NULL) {
- return;
- }
-
opt = *opt_list;
not_added = true;