summaryrefslogtreecommitdiffstats
path: root/crypto/pqueue
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2010-06-12 14:13:23 +0000
committerBen Laurie <ben@openssl.org>2010-06-12 14:13:23 +0000
commitc8bbd98a2b0c2a5164c42f951cd2866512839b5a (patch)
treefe50b2de26e0f563ce0b21b88d80da407dbc7999 /crypto/pqueue
parent57ae37a00388ca177d67d4cee8db167f7e27fc7c (diff)
Fix warnings.
Diffstat (limited to 'crypto/pqueue')
-rw-r--r--crypto/pqueue/pqueue.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/pqueue/pqueue.c b/crypto/pqueue/pqueue.c
index 99a6fb874d..eab13a1250 100644
--- a/crypto/pqueue/pqueue.c
+++ b/crypto/pqueue/pqueue.c
@@ -167,14 +167,13 @@ pqueue_pop(pqueue_s *pq)
pitem *
pqueue_find(pqueue_s *pq, unsigned char *prio64be)
{
- pitem *next, *prev = NULL;
+ pitem *next;
pitem *found = NULL;
if ( pq->items == NULL)
return NULL;
- for ( next = pq->items; next->next != NULL;
- prev = next, next = next->next)
+ for ( next = pq->items; next->next != NULL; next = next->next)
{
if ( memcmp(next->priority, prio64be,8) == 0)
{