forked from Imagelibrary/rtems
2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 163 * libmisc/stackchk/check.c: Adjust conditional compilation.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user