From 01612447847063c2c9b574a3df6c197d26fd1533 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 11 Apr 2011 01:50:26 -0400 Subject: remove ugly warning-suppression hack from crypt - this invokes UB! --- src/misc/crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/misc/crypt.c') 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; -- cgit v1.2.1