diff options
author | Timotej S <6674623+underhood@users.noreply.github.com> | 2021-03-09 11:24:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 11:24:17 +0100 |
commit | a96fec94bab609d2a2d585b402e7cccf703dbe8a (patch) | |
tree | ac3c274f1a69b670e670176888d99d232cb8ead9 /aclk/legacy | |
parent | 10fa25913d8733d9fa1109ff90cc9dae95c2b947 (diff) |
remove unused fnc warning from ACLK Legacy (#10731)
Diffstat (limited to 'aclk/legacy')
-rw-r--r-- | aclk/legacy/aclk_lws_wss_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aclk/legacy/aclk_lws_wss_client.c b/aclk/legacy/aclk_lws_wss_client.c index f06df3f42b..df221dd60d 100644 --- a/aclk/legacy/aclk_lws_wss_client.c +++ b/aclk/legacy/aclk_lws_wss_client.c @@ -348,6 +348,7 @@ static inline int received_data_to_ringbuff(struct lws_ring *buffer, void *data, return 1; } +#ifdef ACLK_TRP_DEBUG_VERBOSE static const char *aclk_lws_callback_name(enum lws_callback_reasons reason) { switch (reason) { @@ -377,12 +378,11 @@ static const char *aclk_lws_callback_name(enum lws_callback_reasons reason) return "LWS_CALLBACK_EVENT_WAIT_CANCELLED"; default: // Not using an internal buffer here for thread-safety with unknown calling context. -#ifdef ACLK_TRP_DEBUG_VERBOSE error("Unknown LWS callback %u", reason); -#endif return "unknown"; } } +#endif void aclk_lws_wss_fail_report() { |