From 849195615bb8ca90ecce71e769e5eba5eb1f2458 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 4 Nov 2002 22:19:31 +0000 Subject: 2002-11-04 Joel Sherrill * cpu.c: Removed warning. --- cpukit/score/cpu/arm/ChangeLog | 4 ++++ cpukit/score/cpu/arm/cpu.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog index 1fdad4b602..741331eb75 100644 --- a/cpukit/score/cpu/arm/ChangeLog +++ b/cpukit/score/cpu/arm/ChangeLog @@ -1,3 +1,7 @@ +2002-11-04 Joel Sherrill + + * cpu.c: Removed warning. + 2002-11-01 Joel Sherrill * cpu.c: Removed warnings. diff --git a/cpukit/score/cpu/arm/cpu.c b/cpukit/score/cpu/arm/cpu.c index 3ae0df2474..96329200fb 100644 --- a/cpukit/score/cpu/arm/cpu.c +++ b/cpukit/score/cpu/arm/cpu.c @@ -50,7 +50,7 @@ void _CPU_Initialize( unsigned32 _CPU_ISR_Get_level( void ) { - unsigned32 reg; + unsigned32 reg = 0; /* to avoid warning */ asm volatile ("mrs %0, cpsr \n" \ "and %0, %0, #0xc0 \n" \ -- cgit v1.2.3