diff options
Diffstat (limited to 'ext/io/wait/wait.c')
-rw-r--r-- | ext/io/wait/wait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/wait/wait.c b/ext/io/wait/wait.c index 24d4ec091f..5986f61b39 100644 --- a/ext/io/wait/wait.c +++ b/ext/io/wait/wait.c @@ -30,7 +30,7 @@ #ifdef HAVE_RB_W32_IS_SOCKET #define FIONREAD_POSSIBLE_P(fd) rb_w32_is_socket(fd) #else -#define FIONREAD_POSSIBLE_P(fd) ((fd),Qtrue) +#define FIONREAD_POSSIBLE_P(fd) ((void)(fd),Qtrue) #endif static VALUE io_ready_p _((VALUE io)); |