Remove an unused variable assignment

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Matt Caswell 2016-06-14 16:54:08 +01:00
parent cda3ae5bd0
commit b2e8bd7bd5

View File

@ -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;
}