From df6e3d1349a44f19b62aa8725ebd1a2dc4844dae Mon Sep 17 00:00:00 2001 From: yangxuan8282 Date: Fri, 19 Aug 2022 15:17:52 +0800 Subject: [PATCH] arch/arm/src/stm32f7/stm32_otghost.c: fix undeclared ret --- arch/arm/src/stm32f7/stm32_otghost.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/src/stm32f7/stm32_otghost.c b/arch/arm/src/stm32f7/stm32_otghost.c index 3c2160ee83..6cf0e6deb6 100644 --- a/arch/arm/src/stm32f7/stm32_otghost.c +++ b/arch/arm/src/stm32f7/stm32_otghost.c @@ -4684,6 +4684,7 @@ static ssize_t stm32_transfer(struct usbhost_driver_s *drvr, struct stm32_usbhost_s *priv = (struct stm32_usbhost_s *)drvr; unsigned int chidx = (unsigned int)ep; ssize_t nbytes; + int ret; uinfo("chidx: %d buflen: %d\n", (unsigned int)ep, buflen);