From 1570194cfd89631ab9516e4dc7761827928b4757 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Thu, 18 Feb 2010 10:07:51 -0800 Subject: [PATCH] kernel - Fix bogus compiler warning * NULL out an object to fix a bogus compiler warning. --- sys/vm/vm_map.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index e684370481..0d82a27678 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -2766,6 +2766,7 @@ vm_map_split(vm_map_entry_t entry) break; default: /* not reached */ + new_object = NULL; KKASSERT(0); } if (new_object == NULL) -- 2.11.4.GIT