From: Rich Felker Date: Mon, 11 Apr 2011 05:50:26 +0000 (-0400) Subject: remove ugly warning-suppression hack from crypt - this invokes UB! X-Git-Tag: v0.7.8~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=01612447847063c2c9b574a3df6c197d26fd1533;p=oweals%2Fmusl.git remove ugly warning-suppression hack from crypt - this invokes UB! --- diff --git a/src/misc/crypt.c b/src/misc/crypt.c index f50aadf2..6885330f 100644 --- a/src/misc/crypt.c +++ b/src/misc/crypt.c @@ -2391,7 +2391,7 @@ static void des_setkey(struct des_ctx *ctx, const unsigned char *key) static void do_des(struct des_ctx *ctx, uint32_t *l_out, uint32_t *r_out, int count) { uint32_t l, r, *kl, *kr; - uint32_t f = f; /* silence gcc */ + uint32_t f; uint32_t r48l, r48r; int round;