Bandaid for compiling with gcc, which happens to be the default compiler

for a number of platforms still.
This commit is contained in:
Peter Wemm 2013-05-13 07:09:31 +00:00
parent 779aaa5564
commit df839389c5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250594

View File

@ -1209,6 +1209,7 @@ vm_page_alloc(vm_object_t object, vm_pindex_t pindex, int req)
vm_page_t m, mpred;
int flags, req_class;
mpred = 0; /* XXX: pacify gcc */
KASSERT((object != NULL) == ((req & VM_ALLOC_NOOBJ) == 0),
("vm_page_alloc: inconsistent object/req"));
if (object != NULL)