summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-11 01:50:26 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-11 01:50:26 -0400
commit01612447847063c2c9b574a3df6c197d26fd1533 (patch)
treeedfdf5a7e0eb64a082b1ccb94964d223d1227823 /src/misc
parent5eaa22132b8bf22f4074baed2eb1eb9b9a799fd5 (diff)
downloadmusl-01612447847063c2c9b574a3df6c197d26fd1533.tar.gz
remove ugly warning-suppression hack from crypt - this invokes UB!
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/crypt.c2
1 files changed, 1 insertions, 1 deletions
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;