]> git.proxmox.com Git - mirror_edk2.git/commitdiff
edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Handle.c:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 26 May 2008 06:16:59 +0000 (06:16 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 26 May 2008 06:16:59 +0000 (06:16 +0000)
  Resolve warning on GCC compiler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5290 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Handle.c

index 179079d3dbb2cbc67886b2235cb90fafd463e231..837c1491ee36b17a015988758bee41c35942e20f 100644 (file)
@@ -110,7 +110,7 @@ Returns:
     // Start with the second protocol, the first one is sure on this handle.\r
     //\r
     VA_START (args, Interface);\r
-    VA_ARG (args, EFI_GUID *);\r
+    Protocol = VA_ARG (args, EFI_GUID *);\r
 \r
     //\r
     // Iterate protocols from the variable list.\r