Initialize the uip to silence gcc warning that seems to sneak in in some
build environments. Reported by: alc, bf1783 at googlemail com
This commit is contained in:
parent
5c66449004
commit
7a8af8eee2
@ -569,6 +569,7 @@ swap_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot,
|
||||
vm_pindex_t pindex;
|
||||
struct uidinfo *uip;
|
||||
|
||||
uip = NULL;
|
||||
pindex = OFF_TO_IDX(offset + PAGE_MASK + size);
|
||||
if (handle) {
|
||||
mtx_lock(&Giant);
|
||||
|
Loading…
Reference in New Issue
Block a user