libratbox/src/ratbox_lib.c: avoid clang static analysis warning

This commit is contained in:
Simon Arlott 2017-07-29 20:35:54 +01:00 committed by Aaron Jones
parent ae6ce6100a
commit 55ae03aee1
No known key found for this signature in database
GPG key ID: 8AF0737488AB3012

View file

@ -223,8 +223,6 @@ rb_lib_loop(long delay)
if(rb_io_supports_event()) if(rb_io_supports_event())
{ {
if(delay == 0)
delay = -1;
while(1) while(1)
rb_select(-1); rb_select(-1);
} }