From 87166e1fb6941280fc0827909d944b806461727d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Fri, 7 Dec 2001 17:02:01 +0000 Subject: [PATCH] fix warnings (one of them was clearly justified) --- apps/speed.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/speed.c b/apps/speed.c index 11085eed23..795a1430c8 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -352,7 +352,7 @@ int MAIN(int argc, char **argv) ENGINE *e; unsigned char *buf=NULL,*buf2=NULL; int mret=1; - long count,rsa_count,save_count=0; + long count=0,rsa_count,save_count=0; int i,j,k; #ifndef OPENSSL_NO_RSA unsigned rsa_num; @@ -424,7 +424,7 @@ int MAIN(int argc, char **argv) #define D_CBC_BF 13 #define D_CBC_CAST 14 #define D_EVP 15 - double d; + double d=0; long c[ALGOR_NUM][SIZE_NUM]; #define R_DSA_512 0 #define R_DSA_1024 1 @@ -1501,7 +1501,7 @@ show_res: #endif #ifdef HZ #define as_string(s) (#s) - printf("HZ=%g", HZ); + printf("HZ=%g", (double)HZ); # ifdef _SC_CLK_TCK printf(" [sysconf value]"); # endif -- 2.34.1