[mod_shout] fix build with new clang on macOS

fix error: ignoring return value of function declared with warn_unused_result attribute [-Werror,-Wunused-result]
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
This commit is contained in:
Seven Du 2024-02-27 09:22:19 +08:00 committed by Andrey Volk
parent 96de8fd377
commit cbe11b0197
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ static void *SWITCH_THREAD_FUNC write_stream_thread(switch_thread_t *thread, voi
}
} else {
memset(mp3buf, 0, 128);
shout_send(context->shout, mp3buf, 128);
ret = shout_send(context->shout, mp3buf, 128);
}
shout_sync(context->shout);