summaryrefslogtreecommitdiff
path: root/tests/Kref
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-09-28 19:47:54 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2017-09-28 19:55:39 +0200
commit3f98abd3b7077057dd8d58352921ed27a4aeb699 (patch)
tree570d320fc7ebd513e7fd24e67a6386bcbd28fdc6 /tests/Kref
parent85452ab66e188327bb8d65c5dd3c165529037846 (diff)
Refactor get_value()
- Get rid of the use_defaults* variables and clean up the defaults logic. As a side effect, '_write_to_conf' is now set in all paths and doesn't need to be set initially in the function. - Rename 'new_val' to just 'val'. - Clean up the range handling for INT/HEX a bit. - Other minor nits.
Diffstat (limited to 'tests/Kref')
0 files changed, 0 insertions, 0 deletions