summaryrefslogtreecommitdiff
path: root/lib/libpthread/uthread/uthread_fd.c
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2002-11-12 20:12:46 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2002-11-12 20:12:46 +0000
commitb20c0b1d969bff5c5467d89843b2191e898343e2 (patch)
treecab28954008fe19f088ef2e393c8e0ed7d54c8fd /lib/libpthread/uthread/uthread_fd.c
parente0230372e5261e72b6c7e3219309646683f8a05d (diff)
get rid of compiler warnings
Diffstat (limited to 'lib/libpthread/uthread/uthread_fd.c')
-rw-r--r--lib/libpthread/uthread/uthread_fd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_fd.c b/lib/libpthread/uthread/uthread_fd.c
index 19bc48f2cc9..12b325c93d9 100644
--- a/lib/libpthread/uthread/uthread_fd.c
+++ b/lib/libpthread/uthread/uthread_fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_fd.c,v 1.14 2002/11/05 22:19:56 marc Exp $ */
+/* $OpenBSD: uthread_fd.c,v 1.15 2002/11/12 20:12:45 marc Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -279,7 +279,6 @@ _thread_fd_unlock(int fd, int lock_type, const char *fname, int lineno)
void
_thread_fd_unlock_owned(pthread_t pthread)
{
- struct pthread *saved_thread = _get_curthread();
struct fd_table_entry *entry;
int do_unlock;
int fd;