From d4a97df3fd193e25c47135221e19c8631e136619 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 25 Aug 2010 20:15:56 +0000 Subject: 2010-08-25 Joel Sherrill Coverity Id 163 * libmisc/stackchk/check.c: Adjust conditional compilation. --- cpukit/libmisc/stackchk/check.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpukit/libmisc') diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c index 3c864a4880..1dfa137589 100644 --- a/cpukit/libmisc/stackchk/check.c +++ b/cpukit/libmisc/stackchk/check.c @@ -403,12 +403,11 @@ void Stack_check_Dump_threads_usage( the_thread = 0; current = 0; } else - #else + #endif { stack = &the_thread->Start.Initial_stack; current = (void *)_CPU_Context_Get_SP( &the_thread->Registers ); } - #endif low = Stack_check_usable_stack_start(stack); size = Stack_check_usable_stack_size(stack); -- cgit v1.2.3