diff options
author | Ben Laurie <ben@openssl.org> | 2010-06-12 14:13:23 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2010-06-12 14:13:23 +0000 |
commit | c8bbd98a2b0c2a5164c42f951cd2866512839b5a (patch) | |
tree | fe50b2de26e0f563ce0b21b88d80da407dbc7999 /crypto/x509v3 | |
parent | 57ae37a00388ca177d67d4cee8db167f7e27fc7c (diff) | |
download | openssl-c8bbd98a2b0c2a5164c42f951cd2866512839b5a.tar.gz |
Fix warnings.
Diffstat (limited to 'crypto/x509v3')
-rw-r--r-- | crypto/x509v3/pcy_tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/x509v3/pcy_tree.c b/crypto/x509v3/pcy_tree.c index 92f6b24556..bb9777348f 100644 --- a/crypto/x509v3/pcy_tree.c +++ b/crypto/x509v3/pcy_tree.c @@ -341,9 +341,8 @@ static int tree_link_nodes(X509_POLICY_LEVEL *curr, const X509_POLICY_CACHE *cache) { int i; - X509_POLICY_LEVEL *last; X509_POLICY_DATA *data; - last = curr - 1; + for (i = 0; i < sk_X509_POLICY_DATA_num(cache->data); i++) { data = sk_X509_POLICY_DATA_value(cache->data, i); |