diff options
| author | christos <christos@NetBSD.org> | 2013-10-19 17:45:00 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2013-10-19 17:45:00 +0000 |
| commit | 89ccee1087fade92db83838bcc3ab14d1de529d1 (patch) | |
| tree | 8c176e284e4f75e4b7aca7bc60ee1d8afd08e7fa /tests/include/sys/t_socket.c | |
| parent | 088cddd76096850a8d40ab2a2097f44b477f2771 (diff) | |
fix unused variable warnings
Diffstat (limited to 'tests/include/sys/t_socket.c')
| -rw-r--r-- | tests/include/sys/t_socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/include/sys/t_socket.c b/tests/include/sys/t_socket.c index c98c419cad3..ad4d2e6c29d 100644 --- a/tests/include/sys/t_socket.c +++ b/tests/include/sys/t_socket.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_socket.c,v 1.2 2013/09/05 12:22:10 pooka Exp $ */ +/* $NetBSD: t_socket.c,v 1.3 2013/10/19 17:45:00 christos Exp $ */ #include <sys/types.h> #include <sys/mount.h> @@ -83,7 +83,7 @@ ATF_TC_BODY(cmsg_sendfd, tc) struct cmsghdr *cmp; struct msghdr msg; struct sockaddr_un sun; - struct lwp *l1, *l2; + struct lwp *l1; struct iovec iov; socklen_t sl; int s1, s2, sgot; @@ -109,7 +109,7 @@ ATF_TC_BODY(cmsg_sendfd, tc) /* create second process for test */ RZ(rump_pub_lwproc_rfork(RUMP_RFCFDG)); - l2 = rump_pub_lwproc_curlwp(); + (void)rump_pub_lwproc_curlwp(); /* connect to unix domain socket */ memset(&sun, 0, sizeof(sun)); |
