target/target: fix clang static analyzer warnings 79/5379/2
authorTomas Vanek <vanekt@fbl.cz>
Fri, 20 Dec 2019 22:48:13 +0000 (23:48 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Thu, 16 Jan 2020 09:45:58 +0000 (09:45 +0000)
commit57afa176ce858ad6505a9a962df5d7e978d349bf
tree6d1693868d9f60b7146d1ef2bd8887846a3906d7
parentb04d9c05f0eadc7161465755c05a1f3c1bd6a85b
target/target: fix clang static analyzer warnings

Change-Id: I23e6586be60915f21a7179a994a1ec93fb9b2c36
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/5379
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
src/target/target.c