A bunch of other minor issues reported by PVS-Studio

This commit is contained in:
Tim Wojtulewicz 2023-01-14 16:35:49 -07:00
parent 53f2364a86
commit 35ee96c4cb
7 changed files with 15 additions and 11 deletions

View file

@ -349,7 +349,7 @@ static bool read_random_seeds(const char* read_file, uint32_t* seed,
// Read seeds for hmac-md5/siphash/highwayhash.
for ( auto& v : buf )
{
int tmp;
uint32_t tmp;
if ( fscanf(f, "%u", &tmp) != 1 )
{
fclose(f);