]> git.sur5r.net Git - openocd/commit
flash/nor/core: fix warning in flash_iterate_address_range_inner
authorTomas Vanek <vanekt@fbl.cz>
Thu, 18 Jan 2018 08:42:41 +0000 (09:42 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Sat, 3 Mar 2018 09:41:25 +0000 (09:41 +0000)
commita088e3942300a02a7a170aa26d780dd156baf0b4
treecab18190cd2df88f1b6916b770aaf6e82d916073
parente8b2e62d45a7e62bc0d982f6d778d86accfee060
flash/nor/core: fix warning in flash_iterate_address_range_inner

Refactor the code to improve readability.

Reported by Clang static analyzer.

Change-Id: I671447050e93c6f067917c4456b36ac11abb4663
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4355
Tested-by: jenkins
src/flash/nor/core.c