summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authord <d@openbsd.org>2000-01-06 07:20:10 +0000
committerd <d@openbsd.org>2000-01-06 07:20:10 +0000
commit523c765a1ac2c3871915844a850145209b8e5706 (patch)
treee1aaef3cea5bcf4f7ad40f21f80effa5ea80b855 /lib/libpthread
parentunused var, test lock return (diff)
downloadwireguard-openbsd-523c765a1ac2c3871915844a850145209b8e5706.tar.xz
wireguard-openbsd-523c765a1ac2c3871915844a850145209b8e5706.zip
unused var
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/uthread/uthread_open.c3
-rw-r--r--lib/libpthread/uthread/uthread_priority_queue.c4
2 files changed, 3 insertions, 4 deletions
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)