diff options
author | wm4 <wm4@nowhere> | 2019-10-31 17:42:41 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-10-31 17:42:41 +0100 |
commit | 821320252e535e3762b2b63e4375b931d6b67ffa (patch) | |
tree | 1c14564c6a170df25f9df3cf4afff3be6d5eafe6 /options/m_option.c | |
parent | 706e708d2f17c68ceb13443fffd25053020da126 (diff) | |
download | mpv-821320252e535e3762b2b63e4375b931d6b67ffa.tar.bz2 mpv-821320252e535e3762b2b63e4375b931d6b67ffa.tar.xz |
m_option: remove an unused function
I think the last real use of this went away in 2014 or so.
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 d69d19fa08..892016c935 100644 --- a/options/m_option.c +++ b/options/m_option.c @@ -85,15 +85,6 @@ int m_option_required_params(const m_option_t *opt) return 1; } -const m_option_t *m_option_list_find(const m_option_t *list, const char *name) -{ - for (int i = 0; list[i].name; i++) { - if (strcmp(list[i].name, name) == 0) - return &list[i]; - } - return NULL; -} - int m_option_set_node_or_string(struct mp_log *log, const m_option_t *opt, const char *name, void *dst, struct mpv_node *src) { |