summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2023-06-07 13:18:26 +0200
committerTodd Short <todd.short@me.com>2023-06-10 19:23:59 -0400
commit4bcbf8d4445e763857563d9ca016972e095c622d (patch)
tree717f8203122e426aa3e4a5100a6dc9f773d8ec39
parentc4ce0e3303d586bc4ec41f380c94ccb4fb84e2d5 (diff)
Coverity 1531872: j is not used anywhere later, remove the assignment
-rw-r--r--crypto/x509/by_dir.c1
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;
}
/*