We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfc133d commit 0f1f838Copy full SHA for 0f1f838
subsys/bluetooth/audio/cap_handover.c
@@ -23,6 +23,7 @@
23
#include <zephyr/logging/log.h>
24
#include <zephyr/sys/__assert.h>
25
#include <zephyr/sys/util.h>
26
+#include <zephyr/toolchain.h>
27
28
#include "bap_endpoint.h"
29
#include "cap_internal.h"
@@ -146,7 +147,7 @@ void bt_cap_handover_broadcast_source_stopped(uint8_t reason)
146
147
if (proc_param->is_unicast_to_broadcast) {
148
LOG_DBG("Unexpected broadcast source stop with reason 0x%02x", reason);
149
- const int err = bt_cap_initiator_broadcast_audio_delete(
150
+ __maybe_unused const int err = bt_cap_initiator_broadcast_audio_delete(
151
proc_param->unicast_to_broadcast.broadcast_source);
152
153
__ASSERT_NO_MSG(err == 0);
0 commit comments