mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
m_config: remove a redundant condition
Always true, because a few lines above it checks for the same thing.
This commit is contained in:
parent
982416266c
commit
8527102121
@ -550,9 +550,7 @@ static void add_sub_group(struct m_config *config, const char *name_prefix,
|
||||
.group_index = group_index,
|
||||
.is_hidden = !!opt->deprecation_message,
|
||||
};
|
||||
|
||||
if (opt->type != &m_option_type_subconfig)
|
||||
MP_TARRAY_APPEND(config, config->opts, config->num_opts, co);
|
||||
MP_TARRAY_APPEND(config, config->opts, config->num_opts, co);
|
||||
}
|
||||
|
||||
config->groups[group_index].co_end_index = config->num_opts;
|
||||
|
Loading…
Reference in New Issue
Block a user