summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MokManager.c2
-rw-r--r--fallback.c2
-rw-r--r--httpboot.c2
-rw-r--r--lib/print_crypto.c2
-rw-r--r--lib/simple_file.c4
-rw-r--r--netboot.c4
-rw-r--r--pe.c2
7 files changed, 9 insertions, 9 deletions
diff --git a/MokManager.c b/MokManager.c
index e94c82ba..5a851d86 100644
--- a/MokManager.c
+++ b/MokManager.c
@@ -2094,7 +2094,7 @@ static void free_menu(mok_menu_item * menu_item, CHAR16 ** menu_strings)
FreePool(menu_item);
}
-static EFI_STATUS enter_mok_menu(EFI_HANDLE image_handle,
+static EFI_STATUS enter_mok_menu(EFI_HANDLE image_handle UNUSED,
void *MokNew, UINTN MokNewSize,
void *MokDel, UINTN MokDelSize,
void *MokSB, UINTN MokSBSize,
diff --git a/fallback.c b/fallback.c
index 12e8064c..fc81c5e4 100644
--- a/fallback.c
+++ b/fallback.c
@@ -600,7 +600,7 @@ err:
}
EFI_STATUS
-populate_stanza(CHAR16 *dirname, CHAR16 *filename, CHAR16 *csv)
+populate_stanza(CHAR16 *dirname, CHAR16 *filename UNUSED, CHAR16 *csv)
{
CHAR16 *file = csv;
VerbosePrint(L"CSV data: \"%s\"\n", csv);
diff --git a/httpboot.c b/httpboot.c
index 7b976365..bedb99d2 100644
--- a/httpboot.c
+++ b/httpboot.c
@@ -404,7 +404,7 @@ set_ip4(EFI_HANDLE *nic, IPv4_DEVICE_PATH *ip4node)
}
static VOID EFIAPI
-httpnotify (EFI_EVENT Event, VOID *Context)
+httpnotify (EFI_EVENT Event UNUSED, VOID *Context)
{
*((BOOLEAN *) Context) = TRUE;
}
diff --git a/lib/print_crypto.c b/lib/print_crypto.c
index 1bab0a6c..39dfd2c0 100644
--- a/lib/print_crypto.c
+++ b/lib/print_crypto.c
@@ -15,7 +15,7 @@
#include <console.h>
static int
-print_errors_cb(const char *str, size_t len, void *u)
+print_errors_cb(const char *str, size_t len, void *u UNUSED)
{
console_print(L"%a", str);
diff --git a/lib/simple_file.c b/lib/simple_file.c
index 384b20ec..e6544709 100644
--- a/lib/simple_file.c
+++ b/lib/simple_file.c
@@ -66,8 +66,8 @@ simple_file_open(EFI_HANDLE image, CHAR16 *name, EFI_FILE **file, UINT64 mode)
}
EFI_STATUS
-simple_dir_read_all_by_handle(EFI_HANDLE image, EFI_FILE *file, CHAR16* name, EFI_FILE_INFO **entries,
- int *count)
+simple_dir_read_all_by_handle(EFI_HANDLE image UNUSED, EFI_FILE *file,
+ CHAR16* name, EFI_FILE_INFO **entries, int *count)
{
EFI_STATUS efi_status;
char buf[4096];
diff --git a/netboot.c b/netboot.c
index ec13c64a..25a6df7f 100644
--- a/netboot.c
+++ b/netboot.c
@@ -288,7 +288,7 @@ static EFI_STATUS parseDhcp4()
return EFI_SUCCESS;
}
-EFI_STATUS parseNetbootinfo(EFI_HANDLE image_handle)
+EFI_STATUS parseNetbootinfo(EFI_HANDLE image_handle UNUSED)
{
EFI_STATUS efi_status;
@@ -309,7 +309,7 @@ EFI_STATUS parseNetbootinfo(EFI_HANDLE image_handle)
return efi_status;
}
-EFI_STATUS FetchNetbootimage(EFI_HANDLE image_handle, VOID **buffer, UINT64 *bufsiz)
+EFI_STATUS FetchNetbootimage(EFI_HANDLE image_handle UNUSED, VOID **buffer, UINT64 *bufsiz)
{
EFI_STATUS efi_status;
EFI_PXE_BASE_CODE_TFTP_OPCODE read = EFI_PXE_BASE_CODE_TFTP_READ_FILE;
diff --git a/pe.c b/pe.c
index d1c105eb..e4e7133d 100644
--- a/pe.c
+++ b/pe.c
@@ -188,7 +188,7 @@ relocate_coff (PE_COFF_LOADER_IMAGE_CONTEXT *context,
EFI_STATUS
get_section_vma (UINTN section_num,
- char *buffer, size_t bufsz,
+ char *buffer, size_t bufsz UNUSED,
PE_COFF_LOADER_IMAGE_CONTEXT *context,
char **basep, size_t *sizep,
EFI_IMAGE_SECTION_HEADER **sectionp)