Clear unused variables in X509_print_ex()

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18167)
This commit is contained in:
zhouzilong 2022-04-25 14:40:24 +08:00 committed by Tomas Mraz
parent 6009997abd
commit 36699c12d3
1 changed files with 1 additions and 2 deletions

View File

@ -55,7 +55,7 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
{
long l;
int ret = 0, i;
char *m = NULL, mlch = ' ';
char mlch = ' ';
int nmindent = 0, printok = 0;
EVP_PKEY *pkey = NULL;
const char *neg;
@ -222,7 +222,6 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
}
ret = 1;
err:
OPENSSL_free(m);
return ret;
}