From d825adf86a91aa08588ef5fa95ce3f91abb9fd40 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 7 Aug 2012 21:29:53 +1000 Subject: s3-param: Remove never-reached condition for popts == NULL All the callers provide a parametric options pointer to fill in. Andrew Bartlett Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Tue Aug 7 17:16:38 CEST 2012 on sn-devel-104 --- source3/param/loadparm.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source3/param') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 6895ebe4d0..d4ee8a22f2 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1495,10 +1495,6 @@ static void free_param_opts(struct parmlist_entry **popts) { struct parmlist_entry *opt, *next_opt; - if (popts == NULL) { - return; - } - if (*popts != NULL) { DEBUG(5, ("Freeing parametrics:\n")); } -- cgit