From 816f74d1c7b36de22f0a88870cc6968dac2dc26e Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 23 Jun 2005 21:49:21 +0000 Subject: [PATCH] Initialise dir to avoid a compiler warning. --- crypto/x509/by_dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c index d56679177b..b4a21716f2 100644 --- a/crypto/x509/by_dir.c +++ b/crypto/x509/by_dir.c @@ -114,7 +114,7 @@ static int dir_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl, { int ret=0; BY_DIR *ld; - char *dir; + char *dir = NULL; ld=(BY_DIR *)ctx->method_data; -- 2.25.1