CID 426426 code maintainability warning, stored NULL value overwritten before used

This commit is contained in:
JacobBarthelmeh
2024-10-23 18:05:12 -06:00
parent 077b070132
commit 52ba700eb3

View File

@ -1766,7 +1766,6 @@ WOLF_STACK_OF(WOLFSSL_X509_OBJECT)* wolfSSL_X509_STORE_get0_objects(
}
obj->type = WOLFSSL_X509_LU_X509;
obj->data.x509 = x509;
x509 = NULL;
}
while (wolfSSL_sk_X509_num(cert_stack) > 0) {