diff options
author | Tomas Vanek <vanekt@fbl.cz> | 2018-02-09 17:51:27 +0100 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2018-06-15 20:07:22 +0100 |
commit | 62b088df4eeb30997278a45f3ee5abc5d9ea2aff (patch) | |
tree | 72b4a4b4678cfdf250b06b65681fbd5ecc2b6302 /tcl/target | |
parent | f05bcdebbb6673ec5bff2bd1f3c44767568008d9 (diff) |
src/flash/tms470: remove testing of sectors[].is_erased state
The erase check routine checked sectors only if is_erased != 1
Check sector unconditionally.
While on it fix clang static analyzer warnings.
Change-Id: I9988615fd8530c55a9b0c54b1900f89b550345e9
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4401
Tested-by: jenkins
Diffstat (limited to 'tcl/target')
0 files changed, 0 insertions, 0 deletions