diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-06-07 13:18:26 +0200 |
---|---|---|
committer | Todd Short <todd.short@me.com> | 2023-06-10 19:23:59 -0400 |
commit | 4bcbf8d4445e763857563d9ca016972e095c622d (patch) | |
tree | 717f8203122e426aa3e4a5100a6dc9f773d8ec39 /crypto/x509 | |
parent | c4ce0e3303d586bc4ec41f380c94ccb4fb84e2d5 (diff) | |
download | openssl-4bcbf8d4445e763857563d9ca016972e095c622d.tar.gz |
Coverity 1531872: j is not used anywhere later, remove the assignment
Diffstat (limited to 'crypto/x509')
-rw-r--r-- | crypto/x509/by_dir.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c index cd1b53740b..ced670cc84 100644 --- a/crypto/x509/by_dir.c +++ b/crypto/x509/by_dir.c @@ -358,7 +358,6 @@ static int get_cert_by_subject_ex(X509_LOOKUP *xl, X509_LOOKUP_TYPE type, tmp = sk_X509_OBJECT_value(xl->store_ctx->objs, j); X509_STORE_unlock(xl->store_ctx); } else { - j = -1; tmp = NULL; } /* |