summaryrefslogtreecommitdiffstats
path: root/options/m_option.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-20 12:32:20 +0200
committerJan Ekström <jeebjp@gmail.com>2018-05-31 01:24:51 +0300
commitf022bf61a97afc8ebec7865b0463c1fbf8018b1d (patch)
tree74ddd84d6c775ca25ccd41de08772c9722f768de /options/m_option.c
parentb50d54ed409efab00866e099296729628577487d (diff)
downloadmpv-f022bf61a97afc8ebec7865b0463c1fbf8018b1d.tar.bz2
mpv-f022bf61a97afc8ebec7865b0463c1fbf8018b1d.tar.xz
m_option: remove an unused field
Diffstat (limited to 'options/m_option.c')
-rw-r--r--options/m_option.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/options/m_option.c b/options/m_option.c
index e0f3dc5c76..1fde03cccd 100644
--- a/options/m_option.c
+++ b/options/m_option.c
@@ -3019,15 +3019,6 @@ static int parse_obj_settings(struct mp_log *log, struct bstr opt, int op,
skip = true;
}
- if (_ret && desc.init_options) {
- struct m_config *config = m_config_from_obj_desc_noalloc(NULL, log, &desc);
- bstr s = bstr0(desc.init_options);
- m_obj_parse_sub_config(log, opt, str, &s, config,
- M_SETOPT_CHECK_ONLY, nopos, NULL, list, &plist);
- assert(s.len == 0);
- talloc_free(config);
- }
-
if (has_param) {
struct m_config *config = NULL;
if (!skip)