diff options
author | imp <imp@FreeBSD.org> | 2006-03-09 16:28:24 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-03-09 16:28:24 +0000 |
commit | 4e16f8107611368c9701ed13c6f6623a863d5429 (patch) | |
tree | 9d93dfd04c738fb0322691e964c984d6ef14f686 /sys | |
parent | 7570cde46bc05e0aa2cbeb7bffb61fd6e2bc53b7 (diff) | |
download | FreeBSD-src-4e16f8107611368c9701ed13c6f6623a863d5429.zip FreeBSD-src-4e16f8107611368c9701ed13c6f6623a863d5429.tar.gz |
Don't dereference an uninitialized pointer.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/exca/exca.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/exca/exca.c b/sys/dev/exca/exca.c index c2c1333..59ad8dd 100644 --- a/sys/dev/exca/exca.c +++ b/sys/dev/exca/exca.c @@ -179,8 +179,11 @@ exca_do_mem_map(struct exca_softc *sc, int win) struct mem_map_index_st *map; struct pccard_mem_handle *mem; uint32_t offset; +#if 0 int mem8 = (mem->kind == PCCARD_A_MEM_ATTR); - mem8 = 1; +#else + int mem8 = 1; +#endif map = &mem_map_index[win]; mem = &sc->mem[win]; |