summaryrefslogtreecommitdiff
path: root/regress/sys
diff options
context:
space:
mode:
authorMasao Uebayashi <uebayasi@cvs.openbsd.org>2015-08-02 02:42:23 +0000
committerMasao Uebayashi <uebayasi@cvs.openbsd.org>2015-08-02 02:42:23 +0000
commitbdb5e9667b377ffa836601b73cfb8f254b54bc6a (patch)
treed896e9b58bb4e692f1c8d0753a278fb043d05787 /regress/sys
parent34b733bd201a53c8d53faea1f633b5964886981f (diff)
Kill a useless assignment.
Diffstat (limited to 'regress/sys')
-rw-r--r--regress/sys/kern/kqueue/kqueue-process.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/regress/sys/kern/kqueue/kqueue-process.c b/regress/sys/kern/kqueue/kqueue-process.c
index 0658931eca0..0c602593998 100644
--- a/regress/sys/kern/kqueue/kqueue-process.c
+++ b/regress/sys/kern/kqueue/kqueue-process.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kqueue-process.c,v 1.6 2015/08/02 00:47:25 uebayasi Exp $ */
+/* $OpenBSD: kqueue-process.c,v 1.7 2015/08/02 02:42:22 uebayasi Exp $ */
/*
* Written by Artur Grabowski <art@openbsd.org> 2002 Public Domain
*/
@@ -115,7 +115,6 @@ do_process(void)
ASSX(ke.filter == EVFILT_PROC);
switch (ke.fflags) {
case NOTE_EXIT:
- didchild = 1;
ASSX((pid_t)ke.ident == pid);
fprintf(stderr, "exit %d\n", pid);
break;