param: Simplify set_param_opt()
authorVolker Lendecke <vl@samba.org>
Mon, 17 Aug 2015 19:07:37 +0000 (21:07 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 21 Aug 2015 09:43:05 +0000 (11:43 +0200)
commit0f600c34599a61a4c338b1e10af438016bec0b14
tree4bb6e5e5e6cf92c2b987a653819dee8df3ba67d0
parent78d7512db9e0098c5ae16111b1338eaa80673d5e
param: Simplify set_param_opt()

"not_added" is not a very good boolean flag concept... An early
return serves the same purpose just as well.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/param/loadparm.c