From 587b608b89def24717632fd5b3e548f2cf52c675 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 22 Feb 2021 17:25:24 -0500 Subject: Fix all the places we need UNUSED on arguments. Signed-off-by: Peter Jones --- lib/print_crypto.c | 2 +- lib/simple_file.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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 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]; -- cgit v1.2.3