From 31d1fde037d78e2c2becdedb9016a859e5e38437 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 7 Aug 2012 21:20:47 +1000 Subject: s3-param: Remove never-reached condition for opt_list == NULL All the callers provide a parametric options pointer to fill in. Andrew Bartlett --- source3/param/loadparm.c | 4 ---- 1 file changed, 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; -- cgit