mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
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:
parent
114730b0a8
commit
98f1484cd9
2 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue