summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadstackallocate.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 17:50:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 17:50:26 +0000
commit16d7b65331f469935c6f630edc0f3a0be74dedb3 (patch)
treece86edbbbae009498ed4cadfb0d7e50471413f81 /cpukit/score/src/threadstackallocate.c
parent2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-16d7b65331f469935c6f630edc0f3a0be74dedb3.tar.bz2
2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/objectnametoid.c, score/src/objectnametoidstring.c: Remove useless variable pointed out by clang. * score/src/threadstackallocate.c: Remove useless variable initialization pointed out by clang.
Diffstat (limited to 'cpukit/score/src/threadstackallocate.c')
-rw-r--r--cpukit/score/src/threadstackallocate.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpukit/score/src/threadstackallocate.c b/cpukit/score/src/threadstackallocate.c
index 35c08ec1df..6f427e6e8c 100644
--- a/cpukit/score/src/threadstackallocate.c
+++ b/cpukit/score/src/threadstackallocate.c
@@ -1,8 +1,7 @@
/*
- * Thread Handler
+ * Thread Handler - Stack Allocate Helper
*
- *
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2010.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -47,7 +46,7 @@ size_t _Thread_Stack_Allocate(
)
{
void *stack_addr = 0;
- size_t the_stack_size = stack_size;
+ size_t the_stack_size;
the_stack_size = _Stack_Ensure_minimum( stack_size );