diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2022-04-30 23:53:28 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-04-30 23:53:28 +0200 |
commit | 0bca489b246d43df1c406b325b49d740141fdf75 (patch) | |
tree | 572d8ca7e72a20ddb384176b7ff54c8d7596807d | |
parent | 464875411926d4085e3496f94551e532676d2e9d (diff) | |
download | busybox-w32-0bca489b246d43df1c406b325b49d740141fdf75.tar.gz busybox-w32-0bca489b246d43df1c406b325b49d740141fdf75.tar.bz2 busybox-w32-0bca489b246d43df1c406b325b49d740141fdf75.zip |
seedrng: remove redundant assignment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | util-linux/seedrng.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/seedrng.c b/util-linux/seedrng.c index b79ce6627..a02609a92 100644 --- a/util-linux/seedrng.c +++ b/util-linux/seedrng.c | |||
@@ -166,7 +166,7 @@ int seedrng_main(int argc UNUSED_PARAM, char *argv[]) | |||
166 | int fd, dfd; | 166 | int fd, dfd; |
167 | uint8_t new_seed[MAX_SEED_LEN]; | 167 | uint8_t new_seed[MAX_SEED_LEN]; |
168 | size_t new_seed_len; | 168 | size_t new_seed_len; |
169 | bool new_seed_creditable, skip_credit = false; | 169 | bool new_seed_creditable, skip_credit; |
170 | struct timespec timestamp; | 170 | struct timespec timestamp; |
171 | sha256_ctx_t hash; | 171 | sha256_ctx_t hash; |
172 | 172 | ||
@@ -176,8 +176,8 @@ int seedrng_main(int argc UNUSED_PARAM, char *argv[]) | |||
176 | }; | 176 | }; |
177 | #if ENABLE_LONG_OPTS | 177 | #if ENABLE_LONG_OPTS |
178 | static const char longopts[] ALIGN1 = | 178 | static const char longopts[] ALIGN1 = |
179 | "seed-dir\0" Required_argument "d" | 179 | "seed-dir\0" Required_argument "d" |
180 | "skip-credit\0" No_argument "n" | 180 | "skip-credit\0" No_argument "n" |
181 | ; | 181 | ; |
182 | #endif | 182 | #endif |
183 | 183 | ||