mirror of https://github.com/mpv-player/mpv
m_config.c: Remove unused function m_config_get_option_ptr
This commit is contained in:
parent
0f2daad81d
commit
1ade57af4b
14
m_config.c
14
m_config.c
|
@ -403,20 +403,6 @@ m_config_get_option(m_config_t *config, char* arg) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
const void*
|
||||
m_config_get_option_ptr(m_config_t *config, char* arg) {
|
||||
const m_option_t* conf;
|
||||
|
||||
#ifdef MP_DEBUG
|
||||
assert(config != NULL);
|
||||
assert(arg != NULL);
|
||||
#endif
|
||||
|
||||
conf = m_config_get_option(config,arg);
|
||||
if(!conf) return NULL;
|
||||
return conf->p;
|
||||
}
|
||||
|
||||
void
|
||||
m_config_print_option_list(m_config_t *config) {
|
||||
char min[50],max[50];
|
||||
|
|
Loading…
Reference in New Issue