diff options
author | kib <kib@FreeBSD.org> | 2009-06-24 09:26:33 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2009-06-24 09:26:33 +0000 |
commit | 3dfa8ddd10eccf46b004958dbed0745512f56645 (patch) | |
tree | 18fccf51c6e86009d18e84cddafa33c482f922fe /sys/vm | |
parent | f32ae09bf94b0716fbd66e27b9610b162d7a92b1 (diff) | |
download | FreeBSD-src-3dfa8ddd10eccf46b004958dbed0745512f56645.zip FreeBSD-src-3dfa8ddd10eccf46b004958dbed0745512f56645.tar.gz |
Initialize the uip to silence gcc warning that seems to sneak in in some
build environments.
Reported by: alc, bf1783 at googlemail com
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/swap_pager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index bcc4149..de33eba 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); |