remove ugly warning-suppression hack from crypt - this invokes UB!
authorRich Felker <dalias@aerifal.cx>
Mon, 11 Apr 2011 05:50:26 +0000 (01:50 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 11 Apr 2011 05:50:26 +0000 (01:50 -0400)
src/misc/crypt.c

index f50aadf21a69526ee7b4211e5b57d4c9d9fd8e50..6885330f0532d4221ca3e2f3b8d25867100a3a62 100644 (file)
@@ -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;