From 7a8af8eee2a8440ab2070ad29c669384567969bb Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Wed, 24 Jun 2009 09:26:33 +0000 Subject: [PATCH] Initialize the uip to silence gcc warning that seems to sneak in in some build environments. Reported by: alc, bf1783 at googlemail com --- sys/vm/swap_pager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index bcc414916639..de33ebaadda1 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -569,6 +569,7 @@ swap_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_pindex_t pindex; struct uidinfo *uip; + uip = NULL; pindex = OFF_TO_IDX(offset + PAGE_MASK + size); if (handle) { mtx_lock(&Giant);