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>
|
2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
Coverity Id 164/UNINIT
|
Coverity Id 164/UNINIT
|
||||||
|
|||||||
@@ -403,12 +403,11 @@ void Stack_check_Dump_threads_usage(
|
|||||||
the_thread = 0;
|
the_thread = 0;
|
||||||
current = 0;
|
current = 0;
|
||||||
} else
|
} else
|
||||||
#else
|
#endif
|
||||||
{
|
{
|
||||||
stack = &the_thread->Start.Initial_stack;
|
stack = &the_thread->Start.Initial_stack;
|
||||||
current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
|
current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
low = Stack_check_usable_stack_start(stack);
|
low = Stack_check_usable_stack_start(stack);
|
||||||
size = Stack_check_usable_stack_size(stack);
|
size = Stack_check_usable_stack_size(stack);
|
||||||
|
|||||||
Reference in New Issue
Block a user