* 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:
@ -295,7 +295,7 @@ sched_rr_get_interval (pid_t pid, struct timespec *interval)
|
||||
qindex = 0;
|
||||
vfindex = ((prisep >> 2) & 3) % 3;
|
||||
if (vfindex == 0)
|
||||
vfindex = wincap.is_server () || prisep & 3 == 0 ? 1 : 0;
|
||||
vfindex = wincap.is_server () || (prisep & 3) == 0 ? 1 : 0;
|
||||
else
|
||||
vfindex -= 1;
|
||||
slindex = ((prisep >> 4) & 3) % 3;
|
||||
|
Reference in New Issue
Block a user