summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2012-01-18 17:24:23 +0000
committerchl <chl@openbsd.org>2012-01-18 17:24:23 +0000
commitd1cff8c899fc431bc93dab8ed6680fc11ec1ddd3 (patch)
tree3ac11cc570aca839083f86efbd038e048d6a0712
parentAdd missing header needed by iswspace() (diff)
downloadwireguard-openbsd-d1cff8c899fc431bc93dab8ed6680fc11ec1ddd3.tar.xz
wireguard-openbsd-d1cff8c899fc431bc93dab8ed6680fc11ec1ddd3.zip
remove unused variable
ok guenther@
-rw-r--r--lib/libpthread/uthread/uthread_preadv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_preadv.c b/lib/libpthread/uthread/uthread_preadv.c
index 934e1d84a77..c301afde7c5 100644
--- a/lib/libpthread/uthread/uthread_preadv.c
+++ b/lib/libpthread/uthread/uthread_preadv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_preadv.c,v 1.1 2012/01/17 02:52:39 guenther Exp $ */
+/* $OpenBSD: uthread_preadv.c,v 1.2 2012/01/18 17:24:23 chl Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -46,7 +46,6 @@ ssize_t
preadv(int fd, const struct iovec * iov, int iovcnt, off_t offset)
{
ssize_t ret;
- int type;
/* This is a cancellation point: */
_thread_enter_cancellation_point();