Added extra warning levels and fixed existing warnings

This commit is contained in:
Jozef Nagy 2025-01-31 21:22:48 +01:00
parent a39e30d17e
commit df0ebbbbcd
Signed by untrusted user who does not match committer: crz
GPG key ID: 459A4811CEAC7068
4 changed files with 16 additions and 31 deletions

View file

@ -119,7 +119,6 @@ void *mem_alloc(size_t n)
int mem_allocat(void *addr, size_t npages)
{
EFI_STATUS status;
void *alloc;
status = gBootServices->AllocatePages(AllocateAddress, EfiLoaderData, (EFI_UINTN)npages, addr);
if (EFI_ERROR(status)) {