diff options
author | David Leonard <d@cvs.openbsd.org> | 2000-01-06 07:20:24 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 2000-01-06 07:20:24 +0000 |
commit | e2c278ee7f6235705675bf3273488f58f07d1df3 (patch) | |
tree | 0f3c014b74258230fdd743850a4b445c19a8805e /lib | |
parent | 82db8228ab48498434644bef349042bb9b8d2f14 (diff) |
unused var
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc_r/uthread/uthread_open.c | 3 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_priority_queue.c | 4 | ||||
-rw-r--r-- | lib/libpthread/uthread/uthread_open.c | 3 | ||||
-rw-r--r-- | lib/libpthread/uthread/uthread_priority_queue.c | 4 |
4 files changed, 6 insertions, 8 deletions
diff --git a/lib/libc_r/uthread/uthread_open.c b/lib/libc_r/uthread/uthread_open.c index 944e46cd109..bf55d7d8bb9 100644 --- a/lib/libc_r/uthread/uthread_open.c +++ b/lib/libc_r/uthread/uthread_open.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_open.c,v 1.5 1999/11/25 07:01:41 d Exp $ */ +/* $OpenBSD: uthread_open.c,v 1.6 2000/01/06 07:20:10 d Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -47,7 +47,6 @@ open(const char *path, int flags,...) { int fd; int mode = 0; - int status; va_list ap; /* This is a cancellation point: */ diff --git a/lib/libc_r/uthread/uthread_priority_queue.c b/lib/libc_r/uthread/uthread_priority_queue.c index eef7ed65379..bb40d6fd934 100644 --- a/lib/libc_r/uthread/uthread_priority_queue.c +++ b/lib/libc_r/uthread/uthread_priority_queue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_priority_queue.c,v 1.2 1999/11/25 07:01:41 d Exp $ */ +/* $OpenBSD: uthread_priority_queue.c,v 1.3 2000/01/06 07:20:23 d Exp $ */ /* * Copyright (c) 1998 Daniel Eischen <eischen@vigrid.com>. * All rights reserved. @@ -88,7 +88,7 @@ static int _pq_active = 0; int _pq_alloc(pq_queue_t *pq, int minprio, int maxprio) { - int i, ret = 0; + int ret = 0; int prioslots = maxprio - minprio + 1; if (pq == NULL) diff --git a/lib/libpthread/uthread/uthread_open.c b/lib/libpthread/uthread/uthread_open.c index 944e46cd109..bf55d7d8bb9 100644 --- a/lib/libpthread/uthread/uthread_open.c +++ b/lib/libpthread/uthread/uthread_open.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_open.c,v 1.5 1999/11/25 07:01:41 d Exp $ */ +/* $OpenBSD: uthread_open.c,v 1.6 2000/01/06 07:20:10 d Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -47,7 +47,6 @@ open(const char *path, int flags,...) { int fd; int mode = 0; - int status; va_list ap; /* This is a cancellation point: */ diff --git a/lib/libpthread/uthread/uthread_priority_queue.c b/lib/libpthread/uthread/uthread_priority_queue.c index eef7ed65379..bb40d6fd934 100644 --- a/lib/libpthread/uthread/uthread_priority_queue.c +++ b/lib/libpthread/uthread/uthread_priority_queue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_priority_queue.c,v 1.2 1999/11/25 07:01:41 d Exp $ */ +/* $OpenBSD: uthread_priority_queue.c,v 1.3 2000/01/06 07:20:23 d Exp $ */ /* * Copyright (c) 1998 Daniel Eischen <eischen@vigrid.com>. * All rights reserved. @@ -88,7 +88,7 @@ static int _pq_active = 0; int _pq_alloc(pq_queue_t *pq, int minprio, int maxprio) { - int i, ret = 0; + int ret = 0; int prioslots = maxprio - minprio + 1; if (pq == NULL) |