The branch master has been updated
       via  b2e8bd7bd555ad6826dd44f38c68425d92e86e95 (commit)
      from  cda3ae5bd0798c56fef5a5c1462d51ca1776504e (commit)


- Log -----------------------------------------------------------------
commit b2e8bd7bd555ad6826dd44f38c68425d92e86e95
Author: Matt Caswell <[email protected]>
Date:   Tue Jun 14 16:54:08 2016 +0100

    Remove an unused variable assignment
    
    Reviewed-by: Rich Salz <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 crypto/x509v3/pcy_tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/x509v3/pcy_tree.c b/crypto/x509v3/pcy_tree.c
index 8c13c53..df50d80 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;
     }
 
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to