Don't dereference an uninitialized pointer.

This commit is contained in:
Warner Losh 2006-03-09 16:28:24 +00:00
parent 7c25496e63
commit 837d712d07
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156503

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