Added extra warning levels and fixed existing warnings
This commit is contained in:
parent
a39e30d17e
commit
df0ebbbbcd
4 changed files with 16 additions and 31 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue