target/adi_v5_swd: fix clang static analyzer warning 74/5374/3
authorTomas Vanek <vanekt@fbl.cz>
Fri, 20 Dec 2019 22:41:55 +0000 (23:41 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Sun, 23 Feb 2020 21:36:36 +0000 (21:36 +0000)
commit35f846fd52e27fabcdea383a6be5056a9213c939
treec50dab457d29fb6e3f947916be3e11ff26aeb2ef
parent1ef468edc50e83261e1ab8a104716cdaa9e84945
target/adi_v5_swd: fix clang static analyzer warning

Change-Id: I24b3e74b62fad469e3150ad97a10a9ab69c2793b
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/5374
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
src/target/adi_v5_swd.c