From 555eec03061a28858af8e4e0909f063a1f8940ec Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sat, 9 Oct 2021 16:01:06 -0400 Subject: [PATCH] [USBEHCI] Avoid uninitialized return status in EHCI_ReopenEndpoint. Powered by clang-cl. --- drivers/usb/usbehci/usbehci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/usbehci/usbehci.c b/drivers/usb/usbehci/usbehci.c index bdfd889ff1f..d7ce4aae37a 100644 --- a/drivers/usb/usbehci/usbehci.c +++ b/drivers/usb/usbehci/usbehci.c @@ -603,6 +603,7 @@ EHCI_ReopenEndpoint(IN PVOID ehciExtension, QH->sqh.HwQH.EndpointCaps.HubAddr = EndpointProperties->HubAddr; + MPStatus = MP_STATUS_SUCCESS; break; default: