summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/arm/shared
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-01-04 23:30:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-01-04 23:30:45 +0000
commitaaca9427493f2af249d71169b7c2ed77d7ddf7ca (patch)
treef0c2d9bd895bcfb74ba7d4b374f7d5257cacadc1 /c/src/lib/libcpu/arm/shared
parent2005-01-04 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-aaca9427493f2af249d71169b7c2ed77d7ddf7ca.tar.bz2
2005-01-04 Joel Sherrill <joel@OARcorp.com>
* at91rm9200/clock/clock.c, at91rm9200/irq/irq.c, at91rm9200/pmc/pmc.c, mc9328mxl/clock/clockdrv.c, mc9328mxl/irq/irq.c, mc9328mxl/irq/irq.h, shared/arm920/mmu.c: Remove warnings.
Diffstat (limited to 'c/src/lib/libcpu/arm/shared')
-rw-r--r--c/src/lib/libcpu/arm/shared/arm920/mmu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/arm/shared/arm920/mmu.c b/c/src/lib/libcpu/arm/shared/arm920/mmu.c
index 967768d911..a2182431cf 100644
--- a/c/src/lib/libcpu/arm/shared/arm920/mmu.c
+++ b/c/src/lib/libcpu/arm/shared/arm920/mmu.c
@@ -77,8 +77,8 @@ void mmu_init(mmu_sect_map_t *map)
/* create a 1:1 mapping of the entire address space */
i = 0;
while(map[i].size != 0) {
- int c;
- int b;
+ int c = 0; /* to avoid uninitialized warnings */
+ int b = 0; /* to avoid uninitialized warnings */
int pbase;
int vbase;
int sects;