From: jljusten Date: Mon, 26 May 2008 06:16:59 +0000 (+0000) Subject: edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Handle.c: X-Git-Tag: edk2-stable201903~20925 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=b96b676f111cb9d417575aeece3444a7dbd1d048 edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Handle.c: Resolve warning on GCC compiler. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5290 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Handle.c b/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Handle.c index 179079d3db..837c1491ee 100644 --- a/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Handle.c +++ b/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Handle.c @@ -110,7 +110,7 @@ Returns: // Start with the second protocol, the first one is sure on this handle. // VA_START (args, Interface); - VA_ARG (args, EFI_GUID *); + Protocol = VA_ARG (args, EFI_GUID *); // // Iterate protocols from the variable list.