summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-06-14 16:54:08 +0100
committerMatt Caswell <matt@openssl.org>2016-06-14 17:35:30 +0100
commitb2e8bd7bd555ad6826dd44f38c68425d92e86e95 (patch)
treedcbd46aa86902c6572965c860353876f31d9f09a /crypto/x509v3
parentcda3ae5bd0798c56fef5a5c1462d51ca1776504e (diff)
Remove an unused variable assignment
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509v3')
-rw-r--r--crypto/x509v3/pcy_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/pcy_tree.c b/crypto/x509v3/pcy_tree.c
index 8c13c53fc7..df50d803e2 100644
--- a/crypto/x509v3/pcy_tree.c
+++ b/crypto/x509v3/pcy_tree.c
@@ -118,7 +118,7 @@ static int tree_init(X509_POLICY_TREE **ptree, STACK_OF(X509) *certs,
X509_check_purpose(x, -1, 0);
/* If cache is NULL, likely ENOMEM: return immediately */
- if ((cache = policy_cache_set(x)) == NULL)
+ if (policy_cache_set(x) == NULL)
return X509_PCY_TREE_INTERNAL;
}