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)
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to