From 80af118676b5d80a4bb00a0bb814f8b9b7246dc3 Mon Sep 17 00:00:00 2001 From: Joost Rijneveld Date: Mon, 8 Apr 2019 13:30:39 +0200 Subject: [PATCH] Prevent uninitialized variable warning --- crypto_sign/sphincs-shake256-128f-simple/clean/wots.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto_sign/sphincs-shake256-128f-simple/clean/wots.c b/crypto_sign/sphincs-shake256-128f-simple/clean/wots.c index 9bdeebab..16e41af4 100644 --- a/crypto_sign/sphincs-shake256-128f-simple/clean/wots.c +++ b/crypto_sign/sphincs-shake256-128f-simple/clean/wots.c @@ -56,7 +56,7 @@ static void gen_chain(unsigned char *out, const unsigned char *in, static void base_w(int *output, const int out_len, const unsigned char *input) { int in = 0; int out = 0; - unsigned char total; + unsigned char total = 0; int bits = 0; int consumed;