summaryrefslogtreecommitdiff
path: root/regress/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-07-28 19:35:40 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-07-28 19:35:40 +0000
commit6fcbbdae0cb98c09ca165e9528a823160aaed92e (patch)
treef78599b90188130ae9cd727d20c011f1840a4200 /regress/sys
parentc65eb6dac1a01e8aedf3be76a030db86be9264f4 (diff)
Remove statement with no effect.
Diffstat (limited to 'regress/sys')
-rw-r--r--regress/sys/kern/unfdpass/unfdpass.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/regress/sys/kern/unfdpass/unfdpass.c b/regress/sys/kern/unfdpass/unfdpass.c
index a45f8a7bc67..5112e70902a 100644
--- a/regress/sys/kern/unfdpass/unfdpass.c
+++ b/regress/sys/kern/unfdpass/unfdpass.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unfdpass.c,v 1.10 2004/04/27 18:51:17 millert Exp $ */
+/* $OpenBSD: unfdpass.c,v 1.11 2004/07/28 19:35:39 millert Exp $ */
/* $NetBSD: unfdpass.c,v 1.3 1998/06/24 23:51:30 thorpej Exp $ */
/*-
@@ -187,7 +187,6 @@ main(int argc, char *argv[])
if (msg.msg_flags & MSG_CTRUNC)
errx(1, "lost control message data");
- cmp = CMSG_FIRSTHDR(&msg);
for (cmp = CMSG_FIRSTHDR(&msg); cmp != NULL;
cmp = CMSG_NXTHDR(&msg, cmp)) {
if (cmp->cmsg_level != SOL_SOCKET)