misc_items variable is uninitialzed in function stlink_dap_op_queue_run_internal, therefore stlink_usb.c fails to compile when the option -Werror=maybe-uninitialized is set (I've not set it intentionally, so I assume this is the default).
src/jtag/drivers/stlink_usb.c: In function ‘stlink_dap_op_queue_run_internal’:
src/jtag/drivers/stlink_usb.c:4608:20: error: ‘misc_items’ error: ‘misc_items’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
misc_items
variable is uninitialzed in functionstlink_dap_op_queue_run_internal
, thereforestlink_usb.c
fails to compile when the option-Werror=maybe-uninitialized
is set (I've not set it intentionally, so I assume this is the default).There is already an issue in the ST Forum: https://community.st.com/s/question/0D53W00001JCSdaSAH/how-to-connect-stm32h745idisco-with-openocd-using-openocd-