Make sure variables are used initialized in amap_wiperange
authorstefan <stefan@openbsd.org>
Mon, 11 Jul 2016 08:38:49 +0000 (08:38 +0000)
committerstefan <stefan@openbsd.org>
Mon, 11 Jul 2016 08:38:49 +0000 (08:38 +0000)
commit14f3bdb35266e21ec294db521edd215e1f8a43e8
tree246b2992379ef4b6584eb8665d53f6cfd6a1c248
parent2c243dd600f5275f7b753846815273240e40e1cd
Make sure variables are used initialized in amap_wiperange

Uninitialized variables used in an if/else could cause a slower
codepath to be taken, but the end effect of both paths is the same.

Found by jsg@
sys/uvm/uvm_amap.c