Skip to content

Commit

Permalink
lib: ostream-multiplex - ignore flush return value
Browse files Browse the repository at this point in the history
There's nothing that can be done about it at close() time. Silences static
analyzer warnings.
  • Loading branch information
sirainen committed Oct 10, 2017
1 parent 95c4374 commit 6139e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/ostream-multiplex.c
Expand Up @@ -131,7 +131,7 @@ o_stream_multiplex_ochannel_close(struct iostream_private *stream, bool close_pa
{
struct multiplex_ochannel *const *channelp;
struct multiplex_ochannel *channel = (struct multiplex_ochannel*)stream;
o_stream_flush(&channel->ostream.ostream);
(void)o_stream_flush(&channel->ostream.ostream);

channel->closed = TRUE;
if (close_parent) {
Expand Down

0 comments on commit 6139e5f

Please sign in to comment.