]> git.sur5r.net Git - openocd/commit
target: hla: check return value of hl_dcc_read
authorPaul Fertser <fercerpav@gmail.com>
Sat, 13 Jan 2018 14:15:29 +0000 (17:15 +0300)
committerPaul Fertser <fercerpav@gmail.com>
Tue, 13 Mar 2018 08:42:17 +0000 (08:42 +0000)
commit6e76e56e2e34b78e4f0fad4238c2de85b1983305
treefba555cc65af5fed4cff3114aad2238b9d41bb51
parenta957a1c8433f45452902de3060364122602e6e1c
target: hla: check return value of hl_dcc_read

This should fix "Assigned value is garbage or undefined" warning
reported by clang:
http://build.openocd.org/job/openocd-clang/doclinks/1/report-391318.html

Change-Id: Ib9488fadca871814328501e415f88822291e0c96
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/4332
Tested-by: jenkins
src/target/hla_target.c