Missing checks of return values of settings_runtime_set() #30191
Labels
area: Bluetooth
area: Tests
Issues related to a particular existing or missing test
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Hello,
As shown in the API documentation, function settings_runtime_set() is used to set a value with a specific key to a module handler, returns 0 on success, non-zero on failure. But in the following codes, the return values are not error checked.
zephyr/tests/bluetooth/ll_settings/src/main.c
Lines 39 to 47 in 0a0404d
However, in the same file, the return values of the following call sites are checked, which have the same code structure.
zephyr/tests/bluetooth/ll_settings/src/main.c
Lines 22 to 32 in 0a0404d
The text was updated successfully, but these errors were encountered: