From 6139e5f5cae82fa04b45e8366c24facf246e6292 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 10 Oct 2017 15:38:13 +0300 Subject: [PATCH] lib: ostream-multiplex - ignore flush return value There's nothing that can be done about it at close() time. Silences static analyzer warnings. --- src/lib/ostream-multiplex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ostream-multiplex.c b/src/lib/ostream-multiplex.c index 14e703e75b..6789391979 100644 --- a/src/lib/ostream-multiplex.c +++ b/src/lib/ostream-multiplex.c @@ -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) { -- 2.47.3