diff options
author | wm4 <wm4@nowhere> | 2018-05-20 13:35:32 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-05-24 19:56:35 +0200 |
commit | 4e9166f22d9e72100d11b5f7e0798d84ece4d2ac (patch) | |
tree | 71e8b7524eb41d285a61acff94623e17edca5e53 /options/m_config.c | |
parent | a7c853fc64dbb7a75f04219d34d061863098395a (diff) | |
download | mpv-4e9166f22d9e72100d11b5f7e0798d84ece4d2ac.tar.bz2 mpv-4e9166f22d9e72100d11b5f7e0798d84ece4d2ac.tar.xz |
m_config: remove an unused function
Diffstat (limited to 'options/m_config.c')
-rw-r--r-- | options/m_config.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/options/m_config.c b/options/m_config.c index 6bbd569fe4..2f63cf5363 100644 --- a/options/m_config.c +++ b/options/m_config.c @@ -1423,17 +1423,6 @@ void m_config_cache_set_dispatch_change_cb(struct m_config_cache *cache, } } -bool m_config_is_in_group(struct m_config *config, - const struct m_sub_options *group, - struct m_config_option *co) -{ - for (int n = 0; n < config->num_groups; n++) { - if (config->groups[n].group == group) - return is_group_included(config, co->group, n); - } - return false; -} - void *mp_get_config_group(void *ta_parent, struct mpv_global *global, const struct m_sub_options *group) { |