Quiet warnings. These do not appear to be actually used uninitialized,
but gcc's optimizer isn't smart enough to see that. Pre-initializing seems harmless enough. Approved by: re (rwatson)
This commit is contained in:
parent
0273079097
commit
0278f1c0a3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171238
@ -131,7 +131,7 @@ u_int32_t t, l, r;
|
||||
|
||||
void cast_setkey(cast_key* key, u_int8_t* rawkey, int keybytes)
|
||||
{
|
||||
u_int32_t t[4], z[4], x[4];
|
||||
u_int32_t t[4] = {0, 0, 0, 0}, z[4] = {0, 0, 0, 0}, x[4];
|
||||
int i;
|
||||
|
||||
/* Set number of rounds to 12 or 16, depending on key length */
|
||||
|
Loading…
Reference in New Issue
Block a user