From cc1fe3c6695f5edebe7608f2467b24634d4448bc Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Mon, 18 Jul 2016 14:59:33 +0800 Subject: shim: remove unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- shim.c | 1 - 1 file changed, 1 deletion(-) (limited to 'shim.c') diff --git a/shim.c b/shim.c index 40be4c7a..88b88380 100644 --- a/shim.c +++ b/shim.c @@ -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; -- cgit v1.2.3