From dc2a0923a26a03bf9d0e5bc537f47dc513aabdee Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 13 Dec 2009 13:21:30 -0800 Subject: [PATCH] Avoid another checker warning. --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.c b/io.c index 2c162a6e..7f023fce 100644 --- a/io.c +++ b/io.c @@ -776,7 +776,7 @@ static char *perform_io(size_t needed, int flags) iobuf.in.len += n; } - if (iobuf.out_fd >= 0 && FD_ISSET(iobuf.out_fd, &w_fds)) { + if (out && FD_ISSET(iobuf.out_fd, &w_fds)) { size_t len = iobuf.raw_flushing_ends_before ? iobuf.raw_flushing_ends_before - out->pos : out->len; int n; -- 2.34.1