2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>

Coverity Id 163
	* libmisc/stackchk/check.c: Adjust conditional compilation.
This commit is contained in:
Joel Sherrill
2010-08-25 20:15:56 +00:00
parent 4b556660f1
commit d4a97df3fd
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 163
* libmisc/stackchk/check.c: Adjust conditional compilation.
2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 164/UNINIT

View File

@@ -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);