diff options
author | wm4 <wm4@nowhere> | 2018-05-20 12:32:20 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-05-31 01:24:51 +0300 |
commit | f022bf61a97afc8ebec7865b0463c1fbf8018b1d (patch) | |
tree | 74ddd84d6c775ca25ccd41de08772c9722f768de /options/m_option.c | |
parent | b50d54ed409efab00866e099296729628577487d (diff) | |
download | mpv-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.c | 9 |
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) |