b1f42f2e71
In GCC 14.2.0, the keyvariable in usb_dc_ep_write is detected to be used before initialization, even though this usage should be safe. Fix by initializing the key variable to 0, and making the 2 if statements explicitly checking the same value. Signed-off-by: Jeremy Bettis <jbettis@google.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
usb_dc_dw.c | ||
usb_dc_dw_stm32.h | ||
usb_dc_it82xx2.c | ||
usb_dc_kinetis.c | ||
usb_dc_mcux.c | ||
usb_dc_native_posix.c | ||
usb_dc_native_posix_adapt.c | ||
usb_dc_native_posix_adapt.h | ||
usb_dc_nrfx.c | ||
usb_dc_numaker.c | ||
usb_dc_rpi_pico.c | ||
usb_dc_sam0.c | ||
usb_dc_sam_usbc.c | ||
usb_dc_sam_usbhs.c | ||
usb_dc_smartbond.c | ||
usb_dc_stm32.c |