Module: xenomai-forge Branch: master Commit: 9d7b0ee45f596ecd3c9e2b6246f69c74cab95b90 URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=9d7b0ee45f596ecd3c9e2b6246f69c74cab95b90
Author: Philippe Gerum <r...@xenomai.org> Date: Fri Jun 1 10:17:09 2012 +0200 nucleus/debug: fix unused variable warning --- kernel/cobalt/nucleus/debug.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/cobalt/nucleus/debug.c b/kernel/cobalt/nucleus/debug.c index bacb9da..2d2ae85 100644 --- a/kernel/cobalt/nucleus/debug.c +++ b/kernel/cobalt/nucleus/debug.c @@ -37,6 +37,8 @@ #include <nucleus/heap.h> #include <nucleus/sys_ppd.h> +#ifdef CONFIG_XENO_OPT_DEBUG_TRACE_RELAX + #define SYMBOL_HSLOTS (1 << 8) struct hashed_symbol { @@ -93,7 +95,6 @@ out: return s; } -#ifdef CONFIG_XENO_OPT_DEBUG_TRACE_RELAX /* * We define a static limit (RELAX_SPOTNR) for spot records to limit * the memory consumption (we pull record memory from the system _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git