From 55ae03aee110faba770485d9ec7f8a45b4288797 Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sat, 29 Jul 2017 20:35:54 +0100 Subject: [PATCH] libratbox/src/ratbox_lib.c: avoid clang static analysis warning --- libratbox/src/ratbox_lib.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libratbox/src/ratbox_lib.c b/libratbox/src/ratbox_lib.c index 2a8af723..8b611e9b 100644 --- a/libratbox/src/ratbox_lib.c +++ b/libratbox/src/ratbox_lib.c @@ -223,8 +223,6 @@ rb_lib_loop(long delay) if(rb_io_supports_event()) { - if(delay == 0) - delay = -1; while(1) rb_select(-1); }