Pass me the pointy hat please. Be sure to return a value in a non-void

function.  I've been running with this buried in the mountains of compiler
output for about a month on my desktop.
This commit is contained in:
Peter Wemm 2002-02-20 22:25:54 +00:00
parent 114730b0a8
commit 98f1484cd9
2 changed files with 2 additions and 2 deletions

View file

@ -665,7 +665,7 @@ pmap_extract(pmap, va)
vm_offset_t pdirindex;
if (pmap == 0)
return;
return 0;
pdirindex = va >> PDRSHIFT;
rtval = pmap->pm_pdir[pdirindex];
if (rtval != 0) {

View file

@ -665,7 +665,7 @@ pmap_extract(pmap, va)
vm_offset_t pdirindex;
if (pmap == 0)
return;
return 0;
pdirindex = va >> PDRSHIFT;
rtval = pmap->pm_pdir[pdirindex];
if (rtval != 0) {