diff options
Diffstat (limited to 'src/session.h')
-rw-r--r-- | src/session.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/session.h b/src/session.h index 6f7b5a12..e90a90d8 100644 --- a/src/session.h +++ b/src/session.h @@ -188,15 +188,22 @@ class session_t : public xml::xpath_t::scope_t // Debug options // - value_t option_trace_(xml::xpath_t::scope_t * locals) {} - value_t option_debug_(xml::xpath_t::scope_t * locals) {} + value_t option_trace_(xml::xpath_t::scope_t * locals) { + return NULL_VALUE; + } + value_t option_debug_(xml::xpath_t::scope_t * locals) { + return NULL_VALUE; + } - value_t option_verify(xml::xpath_t::scope_t *) {} + value_t option_verify(xml::xpath_t::scope_t *) { + return NULL_VALUE; + } value_t option_verbose(xml::xpath_t::scope_t *) { #if defined(LOGGING_ON) if (_log_level < LOG_INFO) _log_level = LOG_INFO; #endif + return NULL_VALUE; } // @@ -206,15 +213,18 @@ class session_t : public xml::xpath_t::scope_t value_t option_file_(xml::xpath_t::scope_t * locals) { assert(locals->args.size() == 1); data_file = locals->args[0].as_string(); + return NULL_VALUE; } #if 0 #if defined(USE_BOOST_PYTHON) value_t option_import_(xml::xpath_t::scope_t * locals) { python_import(optarg); + return NULL_VALUE; } value_t option_import_stdin(xml::xpath_t::scope_t * locals) { python_eval(std::cin, PY_EVAL_MULTI); + return NULL_VALUE; } #endif #endif |