From 3f16fba4f879d2d79dc4576b63edb299ab0207e4 Mon Sep 17 00:00:00 2001 From: David Garske Date: Fri, 15 Sep 2017 09:15:50 -0700 Subject: [PATCH] Fix build warning with possible use of unitialized `ret`. --- wolfcrypt/benchmark/benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/benchmark/benchmark.c b/wolfcrypt/benchmark/benchmark.c index 2de5c16a0..e0d747b06 100644 --- a/wolfcrypt/benchmark/benchmark.c +++ b/wolfcrypt/benchmark/benchmark.c @@ -2549,7 +2549,7 @@ void bench_rsaKeyGen(int doAsync) { RsaKey genKey[BENCH_MAX_PENDING]; double start; - int ret, i, count = 0, times, pending = 0; + int ret = 0, i, count = 0, times, pending = 0; int k, keySz; const int keySizes[2] = {1024, 2048}; const long rsa_e_val = 65537;