[git commit] seedrng: remove redundant assignment

Denys Vlasenko vda.linux at googlemail.com
Sat Apr 30 21:53:28 UTC 2022


commit: https://git.busybox.net/busybox/commit/?id=0bca489b246d43df1c406b325b49d740141fdf75
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 util-linux/seedrng.c | 6 +++---
 1 file 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[])
 	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
 


More information about the busybox-cvs mailing list