diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-08-30 21:24:48 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-08-30 21:45:06 -0700 |
commit | 4d66819a175b1b24d9ece3264b4b2f7a6bfab9d1 (patch) | |
tree | ddf25e3a539e7f7a76886dd2ba0e707d9d022a40 /src/til_settings.c | |
parent | 5bbf4dff64f2b559540f47a9d8de99353004dce4 (diff) |
til_setup: add helper for setup_func baking fails
This introduces til_setup_free_with_failed_setting_ret_err()
which just does the common idiom of:
- free the setup
- store the failed setting
- return with err code
so all these failure cases can be reduced to just a direct return
of calling this function.
Diffstat (limited to 'src/til_settings.c')
0 files changed, 0 insertions, 0 deletions