summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-07 21:29:53 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-07 17:16:37 +0200
commitd825adf86a91aa08588ef5fa95ce3f91abb9fd40 (patch)
treea20c05f700c394d6533fced7a016edefb14809b2 /source3/param
parent31d1fde037d78e2c2becdedb9016a859e5e38437 (diff)
downloadsamba-d825adf86a91aa08588ef5fa95ce3f91abb9fd40.tar.gz
samba-d825adf86a91aa08588ef5fa95ce3f91abb9fd40.tar.bz2
samba-d825adf86a91aa08588ef5fa95ce3f91abb9fd40.zip
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 <abartlet@samba.org> Autobuild-Date(master): Tue Aug 7 17:16:38 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/param')
-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 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"));
}