summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread/uthread_priority_queue.c
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/uthread/uthread_priority_queue.c
parentunused var, test lock return (diff)
downloadwireguard-openbsd-523c765a1ac2c3871915844a850145209b8e5706.tar.xz
wireguard-openbsd-523c765a1ac2c3871915844a850145209b8e5706.zip
unused var
Diffstat (limited to 'lib/libpthread/uthread/uthread_priority_queue.c')
-rw-r--r--lib/libpthread/uthread/uthread_priority_queue.c4
1 files changed, 2 insertions, 2 deletions
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)