Initialise dir to avoid a compiler warning.
authorRichard Levitte <levitte@openssl.org>
Thu, 23 Jun 2005 21:49:21 +0000 (21:49 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 23 Jun 2005 21:49:21 +0000 (21:49 +0000)
crypto/x509/by_dir.c

index d566791..b4a2171 100644 (file)
@@ -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;