changeset 30728:3dd526b691bc

Remove unused static function m_config_get_option_ptr().
author cehoyos
date Sat, 27 Feb 2010 20:52:06 +0000
parents dd2e39036f3c
children 9553ab9ca41c
files m_config.c
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/m_config.c	Sat Feb 27 20:50:20 2010 +0000
+++ b/m_config.c	Sat Feb 27 20:52:06 2010 +0000
@@ -415,19 +415,6 @@
     return NULL;
 }
 
-static 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) {