diff options
| author | Gary Lin <glin@suse.com> | 2016-07-18 14:59:33 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2016-09-06 14:56:36 -0400 |
| commit | cc1fe3c6695f5edebe7608f2467b24634d4448bc (patch) | |
| tree | 4c6b16ebd65ab6cac2ed5f97e36104a53fe04b7f | |
| parent | 937503156b73626b0efa88913673d9f452d1f579 (diff) | |
| download | efi-boot-shim-cc1fe3c6695f5edebe7608f2467b24634d4448bc.tar.gz efi-boot-shim-cc1fe3c6695f5edebe7608f2467b24634d4448bc.zip | |
shim: remove unused variable
Fix the compilation error from gcc:
shim.c: In function ‘handle_image’:
shim.c:1121:15: error: unused variable ‘size’ [-Werror=unused-variable]
unsigned int size;
^~~~
Signed-off-by: Gary Lin <glin@suse.com>
| -rw-r--r-- | shim.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1131,7 +1131,6 @@ static EFI_STATUS handle_image (void *data, unsigned int datasize, EFI_STATUS efi_status; char *buffer; int i; - unsigned int size; EFI_IMAGE_SECTION_HEADER *Section; char *base, *end; PE_COFF_LOADER_IMAGE_CONTEXT context; |
