diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-08-25 20:15:56 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-08-25 20:15:56 +0000 |
commit | d4a97df3fd193e25c47135221e19c8631e136619 (patch) | |
tree | a9c0d9e47405a21aea34202955ab96941e768833 /cpukit | |
parent | 2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-d4a97df3fd193e25c47135221e19c8631e136619.tar.bz2 |
2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 163
* libmisc/stackchk/check.c: Adjust conditional compilation.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libmisc/stackchk/check.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 4489bc258e..4eb08755b3 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 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 Coverity Id 165/UNINIT * posix/src/prwlockinit.c, posix/src/pspininit.c, 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); |