Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm_adi_v5: fix scan-build warning [2/3]
Commit d01b3d6 ("arm_adi_v5: separate ROM table parsing from command output [3/3]") introduces a new scan-build warning because removing one return in case of error causes using uninitialized values. Add back the return on error. Change-Id: I10ddc548b756d34aaccc0511f091b4caa5ec271a Signed-off-by: Antonio Borneo <[email protected]> Fixes: d01b3d6 ("arm_adi_v5: separate ROM table parsing from command output [3/3]") Reviewed-on: https://review.openocd.org/c/openocd/+/7011 Tested-by: jenkins Reviewed-by: Tomas Vanek <[email protected]>
- Loading branch information