diff options
author | wm4 <wm4@nowhere> | 2019-07-12 04:05:05 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:05 +0200 |
commit | b37a9685ad6714b6482cc276c06a2bf7cb0688bd (patch) | |
tree | 7a25f09ce41fdac61ac276efa1aea8898ba7f428 /options/m_config.c | |
parent | e265c07547a4db87dde0dcdfdb25ef2e33659d38 (diff) | |
download | mpv-b37a9685ad6714b6482cc276c06a2bf7cb0688bd.tar.bz2 mpv-b37a9685ad6714b6482cc276c06a2bf7cb0688bd.tar.xz |
m_config: remove an unused function
This was one of those "shouldn't exist" type of functions that could
access internals that were supposed to be isolated away, but some code
needed to access it anyway.
It looks like the last use of it went away in 2016, shortly after it was
introduced.
Diffstat (limited to 'options/m_config.c')
-rw-r--r-- | options/m_config.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/options/m_config.c b/options/m_config.c index e66b487df2..92bb47d789 100644 --- a/options/m_config.c +++ b/options/m_config.c @@ -1491,8 +1491,3 @@ void mp_read_option_raw(struct mpv_global *global, const char *name, memset(dst, 0, co->opt->type->size); m_option_copy(co->opt, dst, gdata->udata + co->opt->offset); } - -struct m_config *mp_get_root_config(struct mpv_global *global) -{ - return global->config->root; -} |