From 16d7b65331f469935c6f630edc0f3a0be74dedb3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 16 Nov 2010 17:50:26 +0000 Subject: 2010-11-16 Joel Sherrill * 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. --- cpukit/score/src/threadstackallocate.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cpukit/score/src/threadstackallocate.c') 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 ); -- cgit v1.2.3