summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2012-01-18 17:24:24 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2012-01-18 17:24:24 +0000
commit0ec82c3d7552767eb33970908c28998cda26b470 (patch)
treeae72603ed8c841ca93868a910a1285fc2991dd1a /lib
parent01c8e05f48211a9e4ae045000decf04d3e4fe6af (diff)
remove unused variable
ok guenther@
Diffstat (limited to 'lib')
-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();