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 d56679177bf4451c86b87f5164b252967e81035c..b4a21716f213321348c86f016fbf652e6a1dd339 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;