diff options
author | 2000-01-06 07:15:05 +0000 | |
---|---|---|
committer | 2000-01-06 07:15:05 +0000 | |
commit | c7eaac1424d0b7a74cca74e4345305882b622e8b (patch) | |
tree | de1b81d73fb8e78a92d547a93c36b8ac28b2f262 /lib/libpthread | |
parent | _SPINLOCK_INIT, unused vars (diff) | |
download | wireguard-openbsd-c7eaac1424d0b7a74cca74e4345305882b622e8b.tar.xz wireguard-openbsd-c7eaac1424d0b7a74cca74e4345305882b622e8b.zip |
unused vars
Diffstat (limited to 'lib/libpthread')
-rw-r--r-- | lib/libpthread/uthread/uthread_create.c | 4 | ||||
-rw-r--r-- | lib/libpthread/uthread/uthread_detach.c | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/lib/libpthread/uthread/uthread_create.c b/lib/libpthread/uthread/uthread_create.c index 9fc67e94227..3a9499d0a1c 100644 --- a/lib/libpthread/uthread/uthread_create.c +++ b/lib/libpthread/uthread/uthread_create.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_create.c,v 1.12 1999/11/30 04:51:56 d Exp $ */ +/* $OpenBSD: uthread_create.c,v 1.13 2000/01/06 07:15:05 d Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -50,9 +50,7 @@ pthread_create(pthread_t * thread, const pthread_attr_t * attr, void *(*start_routine) (void *), void *arg) { int f_gc = 0; - int i; int ret = 0; - int status; pthread_t gc_thread; pthread_t new_thread; pthread_attr_t pattr; diff --git a/lib/libpthread/uthread/uthread_detach.c b/lib/libpthread/uthread/uthread_detach.c index 181f73b942f..d6accdc13cf 100644 --- a/lib/libpthread/uthread/uthread_detach.c +++ b/lib/libpthread/uthread/uthread_detach.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_detach.c,v 1.5 1999/11/25 07:01:33 d Exp $ */ +/* $OpenBSD: uthread_detach.c,v 1.6 2000/01/06 07:15:05 d Exp $ */ /* * Copyright (c) 1995 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -41,7 +41,6 @@ int pthread_detach(pthread_t pthread) { int rval = 0; - int status; pthread_t next_thread; /* Check for invalid calling parameters: */ |