From e82a9d10e72feb2e5c8c47028556d37ef87ab2eb Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 28 Jan 2018 16:05:04 +0100 Subject: Fix warning * trans/streamio.c (io_select_common): Do not needlessly check that buffer_writable is not NULL, it is a static inline. --- trans/streamio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trans/streamio.c') diff --git a/trans/streamio.c b/trans/streamio.c index f276ad6b..84588248 100644 --- a/trans/streamio.c +++ b/trans/streamio.c @@ -574,7 +574,7 @@ io_select_common (struct trivfs_protid *cred, available |= SELECT_READ; if ((*type & SELECT_WRITE) && (!(cred->po->openmodes & O_WRITE) || - (buffer_writable && buffer_writable (output_buffer)))) + (buffer_writable (output_buffer)))) available |= SELECT_WRITE; if (available) -- cgit v1.2.3