]> granicus.if.org Git - strace/commitdiff
* process.c (sys_waitid): Remove unused variable.
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 9 Sep 2010 23:08:59 +0000 (23:08 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 9 Sep 2010 23:20:10 +0000 (23:20 +0000)
process.c

index cb927f26232f3e32637c1ebd937b9bf5fc0d3438..8999fc67d052b26f97d3f83179138265acc3198b 100644 (file)
--- a/process.c
+++ b/process.c
@@ -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))