arch/arm/src/stm32/stm32_usbdev.c: Fix some new warnings reported by gcc 8.3.1 in build tests.

This commit is contained in:
Gregory Nutt 2019-10-03 16:34:14 -06:00
parent 8ffa77b167
commit cc485f2e2c

View File

@ -1747,6 +1747,11 @@ static void stm32_ep0setup(struct stm32_usbdev_s *priv)
ep0->stalled = 0;
ep0->txbusy = 0;
value.w = 0;
index.w = 0;
len.w = 0;
response.w = 0;
/* Check to see if called from the DATA phase of a SETUP Transfer */
if (priv->ep0state != EP0STATE_SETUP_READY)