[rtems commit] sparc irq-shared.c: Fix unused variable warning
Joel Sherrill
joel at rtems.org
Sat Sep 21 21:19:51 UTC 2013
Module: rtems
Branch: master
Commit: df74da01b79717c54dfb244039fefb8238181233
Changeset: http://git.rtems.org/rtems/commit/?id=df74da01b79717c54dfb244039fefb8238181233
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Sat Sep 21 15:38:48 2013 -0500
sparc irq-shared.c: Fix unused variable warning
---
c/src/lib/libbsp/sparc/shared/irq/irq-shared.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/irq/irq-shared.c b/c/src/lib/libbsp/sparc/shared/irq/irq-shared.c
index d2e7768..c84eeb3 100644
--- a/c/src/lib/libbsp/sparc/shared/irq/irq-shared.c
+++ b/c/src/lib/libbsp/sparc/shared/irq/irq-shared.c
@@ -29,7 +29,7 @@ void BSP_shared_interrupt_init(void)
{
rtems_vector_number vector;
rtems_isr_entry previous_isr;
- int sc, i;
+ int i;
for (i=0; i <= BSP_INTERRUPT_VECTOR_MAX_STD; i++) {
vector = SPARC_ASYNCHRONOUS_TRAP(i) + 0x10;
More information about the vc
mailing list