fftools/cmdutils: group related calls together

For readability only, should have no functional effect.
This commit is contained in:
Anton Khirnov 2024-10-07 11:46:15 +02:00
parent c4122406f6
commit e56d676050
1 changed files with 2 additions and 1 deletions

View File

@ -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])