summaryrefslogtreecommitdiffstats
path: root/crypto/pqueue
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-06-15 17:25:15 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-06-15 17:25:15 +0000
commite97359435ee15e6d2c0580c76a58040e8dc3ce60 (patch)
tree01c3ecc781efc58b6efb927129cdfe511644a3d5 /crypto/pqueue
parentafce9bcca15bbf4a015d3f678cec5501ca1092eb (diff)
Fix warnings (From HEAD, original patch by Ben).
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)
{