changeset 34170:a05c274e1409

Fix parse_call_func return value.
author reimar
date Tue, 25 Oct 2011 20:38:09 +0000
parents 9b617726812c
children cca4f430b0f4
files m_option.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/m_option.c	Tue Oct 25 20:18:35 2011 +0000
+++ b/m_option.c	Tue Oct 25 20:38:09 2011 +0000
@@ -717,6 +717,7 @@
 
 static int parse_call_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) {
   ((m_opt_func_param_t) opt->p)(opt,param);
+  return 1;
 }
 
 // special variant, will not have a history/be able to