From: Zbigniew Jędrzejewski-Szmek Date: Mon, 9 Dec 2024 15:04:40 +0000 (+0100) Subject: systemd-cryptenroll: drop unnecessary {} X-Git-Tag: v257~5^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=be733b272b68d7d7f86d881f4969960315318590;p=thirdparty%2Fsystemd.git systemd-cryptenroll: drop unnecessary {} --- diff --git a/src/cryptenroll/cryptenroll.c b/src/cryptenroll/cryptenroll.c index 280d5107904..e5ddec63118 100644 --- a/src/cryptenroll/cryptenroll.c +++ b/src/cryptenroll/cryptenroll.c @@ -314,7 +314,7 @@ static int parse_argv(int argc, char *argv[]) { assert(argc >= 0); assert(argv); - while ((c = getopt_long(argc, argv, "h", options, NULL)) >= 0) { + while ((c = getopt_long(argc, argv, "h", options, NULL)) >= 0) switch (c) { @@ -645,7 +645,6 @@ static int parse_argv(int argc, char *argv[]) { default: assert_not_reached(); } - } if (argc > optind+1) return log_error_errno(SYNTHETIC_ERRNO(EINVAL),