From e8dc3d32c471e6c053bf105fd0a0778af0a3f608 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 26 Oct 2009 08:07:50 +0000 Subject: =?UTF-8?q?2009-10-26=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * sp09/screen09.c: Eliminate unused var warning. --- testsuites/sptests/ChangeLog | 4 ++++ testsuites/sptests/sp09/screen09.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog index 4f27556c19..2e1c6abc90 100644 --- a/testsuites/sptests/ChangeLog +++ b/testsuites/sptests/ChangeLog @@ -1,3 +1,7 @@ +2009-10-26 Ralf Corsépius + + * sp09/screen09.c: Eliminate unused var warning. + 2009-10-24 Ralf Corsépius * sp27/init.c, spsize/init.c: Fix prototypes. diff --git a/testsuites/sptests/sp09/screen09.c b/testsuites/sptests/sp09/screen09.c index 5d50ec9667..6e0d510af2 100644 --- a/testsuites/sptests/sp09/screen09.c +++ b/testsuites/sptests/sp09/screen09.c @@ -22,9 +22,8 @@ void Screen9() { void *converted; rtems_status_code status; - rtems_isr_entry old_service_routine; - #if ((CPU_SIMPLE_VECTORED_INTERRUPTS == FALSE) || \ +#if ((CPU_SIMPLE_VECTORED_INTERRUPTS == FALSE) || \ defined(_C3x) || defined(_C4x)) puts( "TA1 - rtems_interrupt_catch - " @@ -33,7 +32,8 @@ void Screen9() puts( "TA1 - rtems_interrupt_catch - " "old isr RTEMS_INVALID_ADDRESS - SKIPPED" ); - #else +#else + rtems_isr_entry old_service_routine; status = rtems_interrupt_catch( Service_routine, ISR_INTERRUPT_MAXIMUM_VECTOR_NUMBER + 10, @@ -61,7 +61,7 @@ void Screen9() "rtems_interrupt_catch with invalid old isr pointer" ); puts( "TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS" ); - #endif +#endif /* send invalid id */ status = rtems_signal_send( 100, RTEMS_SIGNAL_1 ); -- cgit v1.2.3