svn commit: r250594 - head/sys/vm

Peter Wemm peter at FreeBSD.org
Mon May 13 07:09:32 UTC 2013


Author: peter
Date: Mon May 13 07:09:31 2013
New Revision: 250594
URL: http://svnweb.freebsd.org/changeset/base/250594

Log:
  Bandaid for compiling with gcc, which happens to be the default compiler
  for a number of platforms still.

Modified:
  head/sys/vm/vm_page.c

Modified: head/sys/vm/vm_page.c
==============================================================================
--- head/sys/vm/vm_page.c	Mon May 13 07:02:15 2013	(r250593)
+++ head/sys/vm/vm_page.c	Mon May 13 07:09:31 2013	(r250594)
@@ -1209,6 +1209,7 @@ vm_page_alloc(vm_object_t object, vm_pin
 	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)


More information about the svn-src-all mailing list