librb: rb_lib_loop: avoid clang static analysis warning

This commit is contained in:
Simon Arlott 2017-07-29 20:35:54 +01:00
parent 209c57fbbf
commit 45285c4a73
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24

View file

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