strat: build sysmodules with -Wextra/-Werror

This commit is contained in:
Michael Scire 2021-10-06 23:22:54 -07:00
parent e8f1efd01b
commit 6a53726833
61 changed files with 433 additions and 217 deletions

View file

@ -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;
}