From fc8a8aab531a214a58697130ff217b65f79c9b2a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 16 Nov 2010 17:41:56 +0000 Subject: 2010-11-16 Joel Sherrill * cpu.c: Remove unused variable reported by clang. --- cpukit/score/cpu/sparc/cpu.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'cpukit/score/cpu/sparc/cpu.c') diff --git a/cpukit/score/cpu/sparc/cpu.c b/cpukit/score/cpu/sparc/cpu.c index e45d252163..52ba52f738 100644 --- a/cpukit/score/cpu/sparc/cpu.c +++ b/cpukit/score/cpu/sparc/cpu.c @@ -281,7 +281,6 @@ void _CPU_Context_Initialize( ) { uint32_t stack_high; /* highest "stack aligned" address */ - uint32_t the_size; uint32_t tmp_psr; /* @@ -292,8 +291,6 @@ void _CPU_Context_Initialize( stack_high = ((uint32_t)(stack_base) + size); stack_high &= ~(CPU_STACK_ALIGNMENT - 1); - the_size = size & ~(CPU_STACK_ALIGNMENT - 1); - /* * See the README in this directory for a diagram of the stack. */ -- cgit v1.2.3