From e56d676050d38949947f91de1fcede45897a5817 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 7 Oct 2024 11:46:15 +0200 Subject: [PATCH] fftools/cmdutils: group related calls together For readability only, should have no functional effect. --- fftools/cmdutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 9beed94ead..9eb49dbf20 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -551,11 +551,12 @@ static void check_options(const OptionDef *po) void parse_loglevel(int argc, char **argv, const OptionDef *options) { - int idx = locate_option(argc, argv, options, "loglevel"); + int idx; char *env; check_options(options); + idx = locate_option(argc, argv, options, "loglevel"); if (!idx) idx = locate_option(argc, argv, options, "v"); if (idx && argv[idx + 1])