cortex_m: add missing error checking
commit2ea7a42e22b0a5df0fc9fd8b4db4b154cb4be228
authorØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 1 Nov 2011 21:53:54 +0000 (1 22:53 +0100)
committerPeter Stuge <peter@stuge.se>
Tue, 1 Nov 2011 22:12:59 +0000 (1 22:12 +0000)
treef69f4f0b00d705829d0e313d665659ffcd0f3ae3
parent06216744ed1bae8a92333c13ae9b1e270e4c0747
cortex_m: add missing error checking

found by clang.

Change-Id: I099c6fe6b044dba36c20221cb439bdcba5a6bb6f
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/152
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se>
src/target/cortex_m.c