]> git.sur5r.net Git - openocd/commit
flash: nor: jtagspi: fix jtagspi_read_status() warning
authorPaul Fertser <fercerpav@gmail.com>
Sun, 14 Jan 2018 16:28:20 +0000 (19:28 +0300)
committerPaul Fertser <fercerpav@gmail.com>
Tue, 30 Jan 2018 07:36:51 +0000 (07:36 +0000)
commit3c9bd7c6f30a34e3930e44dd2e8ce5f5a877b4eb
treee86027fde829390b0736b1f6ca219b6a3e902127
parentab597027ea98d4fa39980f9674dced42b5193b79
flash: nor: jtagspi: fix jtagspi_read_status() warning

Clang static analyzer says that in certain cases "Assigned value is
garbage or undefined" there.

Change-Id: Ib35a4cf7a553ba9461270a0dc4c4b9b205091e73
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/4338
Tested-by: jenkins
src/flash/nor/jtagspi.c