From 09e4dbeb5c0ef7d9e178e81f73c9e43f8ef48559 Mon Sep 17 00:00:00 2001 From: erictian Date: Tue, 10 Apr 2012 06:33:40 +0000 Subject: [PATCH] MdeModulePkg: Fix build warning on Xhci driver with XCode 32 tool chain. Signed-off-by: Tian Feng Reviewed-by: Sun Rui git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13177 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c b/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c index 5d1f2b96dd..bfe1cd89fc 100644 --- a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c +++ b/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c @@ -921,7 +921,8 @@ XhcCheckUrbResult ( ASSERT ((Xhc != NULL) && (Urb != NULL)); - Status = EFI_SUCCESS; + Status = EFI_SUCCESS; + AsyncUrb = NULL; if (Urb->Finished) { goto EXIT;