]> git.sur5r.net Git - openocd/commit
nrf51: remove dereference of null pointer
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 22 Apr 2014 19:53:50 +0000 (20:53 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Sun, 27 Apr 2014 09:16:47 +0000 (09:16 +0000)
commitcf094f22ca1088dad99c85d10adf95979ed41176
tree5a4dbba0f8c0d317b51cf5f4d78cb437025e2cb4
parent7bd295953d2f8e53e0eedb7aab41e1cc9324e913
nrf51: remove dereference of null pointer

found by clang 3.4.

Change-Id: Id499b546f65acd7a719498bc97e33b21d1ba565a
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/2119
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-by: Andrey Smirnov <andrew.smirnov@gmail.com>
src/flash/nor/nrf51.c