From: Richard Levitte Date: Thu, 23 Jun 2005 21:49:21 +0000 (+0000) Subject: Initialise dir to avoid a compiler warning. X-Git-Tag: OpenSSL_0_9_8k^2~1980 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=816f74d1c7b36de22f0a88870cc6968dac2dc26e;p=oweals%2Fopenssl.git Initialise dir to avoid a compiler warning. --- 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;