don't return ERROR_OK in error cases
commitd983114855eaf7ab6c63f0e5e6a553096e862a31
authorDaniel Anselmi <danselmi@gmx.ch>
Sun, 2 Oct 2022 00:16:28 +0000 (2 02:16 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 8 Oct 2022 07:54:39 +0000 (8 07:54 +0000)
treede419cc9a2c882406c9b540dcc473f2c2630167c
parent0a7e17242037431671d52c7e92f72f216c6a4c57
don't return ERROR_OK in error cases

Change-Id: I7e046df85838692c9044fe9c9d67e8b2c821eb0f
Signed-off-by: Daniel Anselmi <danselmi@gmx.ch>
Reviewed-on: https://review.openocd.org/c/openocd/+/7236
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
src/pld/virtex2.c