git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d65bded
)
s3-param: Remove never-reached condition for opt_list == NULL
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 7 Aug 2012 11:20:47 +0000
(21:20 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 7 Aug 2012 13:20:54 +0000
(23:20 +1000)
All the callers provide a parametric options pointer to fill in.
Andrew Bartlett
source3/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source3/param/loadparm.c
b/source3/param/loadparm.c
index 9c49eb094b4a815ed70609f3f518d0a02ceea0bc..6895ebe4d07e05c5eaa38e17c49d9c11a9a18313 100644
(file)
--- 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;