From: Ben Laurie Date: Tue, 9 Nov 1999 12:09:24 +0000 (+0000) Subject: Fix (spurious) warnings. X-Git-Tag: OpenSSL_0_9_5beta1~453 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=95fdc5eef9f4b9c5cf296dd9d51a39eb07bb0aaa;hp=5fe2085bbaee223088800f00d7e702542579a3d7 Fix (spurious) warnings. --- diff --git a/apps/ca.c b/apps/ca.c index 93f992b2f4..fc3fae2c19 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -266,7 +266,7 @@ int MAIN(int argc, char **argv) #undef BSIZE #define BSIZE 256 MS_STATIC char buf[3][BSIZE]; - char *randfile; + char *randfile=NULL; #ifdef EFENCE EF_PROTECT_FREE=1; diff --git a/crypto/dh/dhtest.c b/crypto/dh/dhtest.c index 687ce71611..dbdb963828 100644 --- a/crypto/dh/dhtest.c +++ b/crypto/dh/dhtest.c @@ -89,7 +89,8 @@ static void MS_CALLBACK cb(int p, int n, void *arg); int main(int argc, char *argv[]) { - DH *a,*b; + DH *a; + DH *b=NULL; char buf[12]; unsigned char *abuf=NULL,*bbuf=NULL; int i,alen,blen,aout,bout,ret=1;