]> git.sur5r.net Git - openocd/commit
warnings: null pointer check fix
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 31 Oct 2011 20:21:35 +0000 (21:21 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 31 Oct 2011 20:43:36 +0000 (20:43 +0000)
commit9b9092b7faa5859dd1a14489a312465782e2bef1
treed4a2ca4d5f74f5425056aaa9bbd197250760f588
parent9933fa334de551096674d4044ed7ac2152213e8b
warnings: null pointer check fix

rewrite broken null pointer check code by reducing scope
of variable.

Change-Id: I8254f6849b187e5c9cd083053cdc11973c6fe339
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/142
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/target_request.c