diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-09 15:35:10 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-10 10:17:33 -0500 |
commit | ef4c4612e2c21feae24c0ea47a83942cbcebc465 (patch) | |
tree | a5415da86f64e02c33a54c9da7dcf134762c0be1 /c/src/lib/libbsp/arm/nds/libnds/source/common/card.c | |
parent | powerpc/ep1a: Remove if 0 sections (diff) | |
download | rtems-ef4c4612e2c21feae24c0ea47a83942cbcebc465.tar.bz2 |
arm/nds: Warning clean up
This patch eliminates most of the warnings in this BSP but attempts
very little clean up. This BSP includes copies of a lot of code
from free NDS libraries and modifications should be kept to a minimum.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/arm/nds/libnds/source/common/card.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/nds/libnds/source/common/card.c b/c/src/lib/libbsp/arm/nds/libnds/source/common/card.c index 7cde3811e7..523bb6ca68 100644 --- a/c/src/lib/libbsp/arm/nds/libnds/source/common/card.c +++ b/c/src/lib/libbsp/arm/nds/libnds/source/common/card.c @@ -173,6 +173,7 @@ int cardEepromGetType(void) sysSetBusOwners(BUS_OWNER_ARM9, BUS_OWNER_ARM9); #endif + (void) c03; /* avoid set but not used warning */ c03=cardEepromCommand(0x03,0); c05=cardEepromCommand(0x05,0); c9f=cardEepromCommand(0x9f,0); |