mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 14:05:17 -04:00
strat: build sysmodules with -Wextra/-Werror
This commit is contained in:
parent
e8f1efd01b
commit
6a53726833
61 changed files with 433 additions and 217 deletions
|
@ -52,7 +52,7 @@ namespace ams::mem::impl::heap {
|
|||
this->use_virtual_memory = false;
|
||||
} else {
|
||||
/* We were not provided with a region to use as backing. */
|
||||
void *mem;
|
||||
void *mem = nullptr;
|
||||
if (auto err = AllocateVirtualMemory(std::addressof(mem), size); err != 0) {
|
||||
return err;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue