This was tripping up on false being a zero value. When comparing (with cmp) against the zero value of the struct, the desired value is confused with the zero value.
Now the module uses a pointer to detect whether or not a value has been set to handle the case that false is the intended setting.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
Description of changes:
This was tripping up on false being a zero value. When comparing (with cmp) against the zero value of the struct, the desired value is confused with the zero value.
Now the module uses a pointer to detect whether or not a value has been set to handle the case that
false
is the intended setting.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.