Skip to content

Commit

Permalink
[mod_shout] fix build with new clang on macOS
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
seven1240 authored and andywolk committed Jan 17, 2025
1 parent 96de8fd commit cbe11b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod/formats/mod_shout/mod_shout.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cbe11b0

Please sign in to comment.