forked from mirrors/gecko-dev
Bug 1860247 - Poison.cpp: do not use 'else' after 'return'. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D198695
This commit is contained in:
parent
821eeac789
commit
e59c20c0ea
1 changed files with 1 additions and 2 deletions
|
|
@ -127,9 +127,8 @@ static bool ProbeRegion(uintptr_t aRegion, uintptr_t aSize) {
|
||||||
if (madvise(reinterpret_cast<void*>(aRegion), aSize, MADV_NORMAL)) {
|
if (madvise(reinterpret_cast<void*>(aRegion), aSize, MADV_NORMAL)) {
|
||||||
# endif
|
# endif
|
||||||
return true;
|
return true;
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static uintptr_t GetDesiredRegionSize() { return sysconf(_SC_PAGESIZE); }
|
static uintptr_t GetDesiredRegionSize() { return sysconf(_SC_PAGESIZE); }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue