diff options
author | wm4 <wm4@nowhere> | 2018-05-24 19:54:47 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-05-24 19:56:39 +0200 |
commit | 85271021215b3e3fd002c3c55eefd9ff38946bd9 (patch) | |
tree | c36eae0f2a599342fd1fcd1c0a13b11e19f71ae8 /options/m_config.c | |
parent | 982416266c9596bec0ee4a1b1098d37a0f79ad94 (diff) | |
download | mpv-85271021215b3e3fd002c3c55eefd9ff38946bd9.tar.bz2 mpv-85271021215b3e3fd002c3c55eefd9ff38946bd9.tar.xz |
m_config: remove a redundant condition
Always true, because a few lines above it checks for the same thing.
Diffstat (limited to 'options/m_config.c')
-rw-r--r-- | options/m_config.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/options/m_config.c b/options/m_config.c index 4adb64384e..f808b1c1c7 100644 --- a/options/m_config.c +++ b/options/m_config.c @@ -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; |