From e755a4ca10aad316c3620223206d63982793b26c Mon Sep 17 00:00:00 2001 From: jcarsey Date: Tue, 7 May 2013 17:57:58 +0000 Subject: ShellPkg: Fixed build error 'variable set but not used' GCC toolchain cannot build ShellPkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Harry Liebel Signed-off-by: Olivier Martin Reviewed-by: Jaben Carsey git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14326 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c') diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c index 5edb9d7735..98ef4b88f3 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c @@ -81,13 +81,11 @@ LoadDriver( { EFI_HANDLE LoadedDriverHandle; EFI_STATUS Status; - EFI_DEVICE_PATH_PROTOCOL *Node; EFI_DEVICE_PATH_PROTOCOL *FilePath; EFI_LOADED_IMAGE_PROTOCOL *LoadedDriverImage; LoadedDriverImage = NULL; FilePath = NULL; - Node = NULL; LoadedDriverHandle = NULL; Status = EFI_SUCCESS; -- cgit v1.2.3