https://git.reactos.org/?p=reactos.git;a=commitdiff;h=555eec03061a28858af8e…
commit 555eec03061a28858af8e4e0909f063a1f8940ec
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Sat Oct 9 16:01:06 2021 -0400
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Wed Oct 27 19:27:33 2021 -0400
[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: