* localtime.cc (increment_overflow): Mark as non-inline to prevent compiler
from complaining about the very thing we're trying to test. * ntea.cc (read_ea): Reorganize to avoid a new compiler warning/error. * sched.cc (sched_rr_get_interval): Ditto. * select.cc (peek_serial): Ditto. * libc/rexec.cc (ruserpass): Ditto. * posix_ipc.cc (ipc_names): Make static to avoid a compiler warning (and it's the right thing to do anyway).
This commit is contained in:
@ -921,7 +921,7 @@ peek_serial (select_record *s, bool)
|
||||
set_handle_or_return_if_not_open (h, s);
|
||||
int ready = 0;
|
||||
|
||||
if (s->read_selected && s->read_ready || (s->write_selected && s->write_ready))
|
||||
if ((s->read_selected && s->read_ready) || (s->write_selected && s->write_ready))
|
||||
{
|
||||
select_printf ("already ready");
|
||||
ready = 1;
|
||||
|
Reference in New Issue
Block a user