* process.c (sys_waitid): Remove unused variable.
This commit is contained in:
parent
30145dda9d
commit
3eb9491673
@ -2086,11 +2086,9 @@ static const struct xlat waitid_types[] = {
|
||||
};
|
||||
|
||||
int
|
||||
sys_waitid(tcp)
|
||||
struct tcb *tcp;
|
||||
sys_waitid(struct tcb *tcp)
|
||||
{
|
||||
siginfo_t si;
|
||||
int exited;
|
||||
|
||||
if (entering(tcp)) {
|
||||
printxval(waitid_types, tcp->u_arg[0], "P_???");
|
||||
@ -2098,7 +2096,6 @@ struct tcb *tcp;
|
||||
}
|
||||
else {
|
||||
/* siginfo */
|
||||
exited = 0;
|
||||
if (!tcp->u_arg[2])
|
||||
tprintf("NULL");
|
||||
else if (syserror(tcp))
|
||||
|
Loading…
x
Reference in New Issue
Block a user