diff options
| author | Peter Jones <pjones@redhat.com> | 2021-02-22 17:25:24 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-02-25 10:15:14 -0500 |
| commit | 587b608b89def24717632fd5b3e548f2cf52c675 (patch) | |
| tree | c4551e2ed2b24646ea7c95f91e1a65daf7fecf0f /lib | |
| parent | c1722924cee57e1eb27cad656baf079bf809b8f6 (diff) | |
| download | efi-boot-shim-587b608b89def24717632fd5b3e548f2cf52c675.tar.gz efi-boot-shim-587b608b89def24717632fd5b3e548f2cf52c675.zip | |
Fix all the places we need UNUSED on arguments.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/print_crypto.c | 2 | ||||
| -rw-r--r-- | lib/simple_file.c | 4 |
2 files changed, 3 insertions, 3 deletions
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]; |
