]> git.sur5r.net Git - openocd/commit
NOR/CORE: fix clang warning
authorAntonio Borneo <borneo.antonio@gmail.com>
Sun, 23 Oct 2011 04:12:57 +0000 (12:12 +0800)
committerØyvind Harboe <oyvindharboe@gmail.com>
Sun, 23 Oct 2011 14:37:48 +0000 (14:37 +0000)
commit40c425e4005b6c00cab3ff2cd620cd3d6ae66514
tree7b941261c5526f68236a0bbb7e626b046b9ac65b
parent7b94f4c99d7f7970c4f8bf51d477d88b93a4278c
NOR/CORE: fix clang warning

The fix is inline with the Linux coding style that forbids
assignment in if condition

Change-Id: I10338a249bcfeff87d8596f7e17f209e26b41678
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/86
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
src/flash/nor/core.c