Don't dereference an uninitialized pointer.

This commit is contained in:
imp 2006-03-09 16:28:24 +00:00
parent 7570cde46b
commit 4e16f81076

View File

@ -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];