From: Timo Sirainen Date: Tue, 10 Oct 2017 12:38:13 +0000 (+0300) Subject: lib: ostream-multiplex - ignore flush return value X-Git-Tag: 2.3.0.rc1~849 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6139e5f5cae82fa04b45e8366c24facf246e6292;p=thirdparty%2Fdovecot%2Fcore.git lib: ostream-multiplex - ignore flush return value There's nothing that can be done about it at close() time. Silences static analyzer warnings. --- 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) {