pull request #1132 - unnecessary options test
Pull request from argrath: optfn_pickup_types checks 'opts' for whether it is Null after having already used it without checking. Remove the unnecessary test. Closes #1132
This commit is contained in:
@@ -3285,8 +3285,6 @@ optfn_pickup_types(
|
||||
return optn_ok;
|
||||
}
|
||||
if (req == get_val || req == get_cnf_val) {
|
||||
if (!opts)
|
||||
return optn_err;
|
||||
oc_to_str(flags.pickup_types, ocl);
|
||||
Sprintf(opts, "%s", ocl[0] ? ocl : "all");
|
||||
return optn_ok;
|
||||
|
||||
Reference in New Issue
Block a user