mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s3-param: Remove never-reached condition for opt_list == NULL
All the callers provide a parametric options pointer to fill in. Andrew Bartlett
This commit is contained in:
parent
d65bded0c2
commit
31d1fde037
@ -2254,10 +2254,6 @@ static void set_param_opt(struct parmlist_entry **opt_list,
|
|||||||
struct parmlist_entry *new_opt, *opt;
|
struct parmlist_entry *new_opt, *opt;
|
||||||
bool not_added;
|
bool not_added;
|
||||||
|
|
||||||
if (opt_list == NULL) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
opt = *opt_list;
|
opt = *opt_list;
|
||||||
not_added = true;
|
not_added = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user