Skip to content
Commit bf37784d authored by Emil Gydesen's avatar Emil Gydesen Committed by Maureen Helm
Browse files

Bluetooth: PACS: Fix logical dead paths



In pac_notify and pac_notify_loc coverity found logical dead
paths since if both sink and source notify was disabled,
the functions would still be compiled, but would
never get past the default case.

This is not a real issue as the functions were never called
in that case, but to make coverity happy, and to prevent
any future issues where the functions may be called
incorrectly, the static functions are now fully guarded.

Signed-off-by: default avatarEmil Gydesen <emil.gydesen@nordicsemi.no>
parent 9fc630d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment