From ffb596373f11fd1a58aded452a26a666c552003d Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 1 Jan 2020 20:48:11 +0100 Subject: [PATCH] cppcheck --- armsrc/des.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armsrc/des.c b/armsrc/des.c index b84bc4c30..ccd32be7d 100644 --- a/armsrc/des.c +++ b/armsrc/des.c @@ -272,7 +272,7 @@ uint8_t substitute(uint8_t a, uint8_t *sbp) { uint32_t des_f(uint32_t r, uint8_t *kr) { uint8_t i; uint32_t t = 0, ret; - uint64_t data; + uint64_t data = 0; uint8_t *sbp; /* sboxpointer */ permute((uint8_t *)e_permtab, (uint8_t *)&r, (uint8_t *)&data); for (i = 0; i < 6; ++i)