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:
PatR
2023-11-14 11:43:43 -08:00

View File

@@ -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;