seedrng: remove redundant assignment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
4648754119
commit
0bca489b24
@ -166,7 +166,7 @@ int seedrng_main(int argc UNUSED_PARAM, char *argv[])
|
|||||||
int fd, dfd;
|
int fd, dfd;
|
||||||
uint8_t new_seed[MAX_SEED_LEN];
|
uint8_t new_seed[MAX_SEED_LEN];
|
||||||
size_t new_seed_len;
|
size_t new_seed_len;
|
||||||
bool new_seed_creditable, skip_credit = false;
|
bool new_seed_creditable, skip_credit;
|
||||||
struct timespec timestamp;
|
struct timespec timestamp;
|
||||||
sha256_ctx_t hash;
|
sha256_ctx_t hash;
|
||||||
|
|
||||||
@ -176,8 +176,8 @@ int seedrng_main(int argc UNUSED_PARAM, char *argv[])
|
|||||||
};
|
};
|
||||||
#if ENABLE_LONG_OPTS
|
#if ENABLE_LONG_OPTS
|
||||||
static const char longopts[] ALIGN1 =
|
static const char longopts[] ALIGN1 =
|
||||||
"seed-dir\0" Required_argument "d"
|
"seed-dir\0" Required_argument "d"
|
||||||
"skip-credit\0" No_argument "n"
|
"skip-credit\0" No_argument "n"
|
||||||
;
|
;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user