← Commit list

0bca489b2

Denys Vlasenko
Denys Vlasenko
2022-04-30
SUCCESS Duration: 160s

Subject

seedrng: remove redundant assignment

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/seedrng.c+3 -3
@@ -166,7 +166,7 @@ int seedrng_main(int argc UNUSED_PARAM, char *argv[])
int fd, dfd;
uint8_t new_seed[MAX_SEED_LEN];
size_t new_seed_len;
- bool new_seed_creditable, skip_credit = false;
+ bool new_seed_creditable, skip_credit;
struct timespec timestamp;
sha256_ctx_t hash;
@@ -176,8 +176,8 @@ int seedrng_main(int argc UNUSED_PARAM, char *argv[])
};
#if ENABLE_LONG_OPTS
static const char longopts[] ALIGN1 =
- "seed-dir\0" Required_argument "d"
- "skip-credit\0" No_argument "n"
+ "seed-dir\0" Required_argument "d"
+ "skip-credit\0" No_argument "n"
;
#endif