Add a local variable initialization needed in the OBJT_DEFAULT case.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D2992
This commit is contained in:
markj 2015-07-05 22:26:19 +00:00
parent 36b302ff24
commit c78ab1ef94

View File

@ -1414,6 +1414,7 @@ vm_mmap(vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot,
return (EINVAL);
size = round_page(size);
object = NULL;
writecounted = FALSE;
/*