diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2019-11-13 15:23:06 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2019-11-13 15:23:06 -0500 |
commit | e9fd366044e271632dc0e4f96e1c14f8e87213ae (patch) | |
tree | 58801c53deeef9119dbba18ac765d967637e7bc2 /src/test/base32_tests.cpp | |
parent | cba2710220d76bbe790b04088839cbbd410436de (diff) |
refactor: Remove null setting check in GetSetting()
Also rename the "result_complete" variable in GetSettingsList() to "done" to be
more consistent with GetSetting().
This change doesn't affect current behavior but could be useful in the future
to support dynamically changing settings at runtime and adding new settings
sources, because it lets high priority sources reset settings back to default
(see test).
By removing a special case for null, this change also helps merge code treat
settings values more like black boxes, and interfere less with settings parsing
and retrieval.
Diffstat (limited to 'src/test/base32_tests.cpp')
0 files changed, 0 insertions, 0 deletions