diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 17:38:24 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-04 03:29:15 -0800 |
commit | c5eb8e29bdc296c2d0b25cc771639567b5f7707f (patch) | |
tree | 49861352c57f3a331a2b4a173e6d8b679100e7ef /src/target/armv7a.c | |
parent | eae56d27c3892188560918526710d44d147b0c8d (diff) | |
download | openocd_libswd-c5eb8e29bdc296c2d0b25cc771639567b5f7707f.tar.gz openocd_libswd-c5eb8e29bdc296c2d0b25cc771639567b5f7707f.tar.bz2 openocd_libswd-c5eb8e29bdc296c2d0b25cc771639567b5f7707f.tar.xz openocd_libswd-c5eb8e29bdc296c2d0b25cc771639567b5f7707f.zip |
check top-level command registrations
When calling module_register_commands, the return value needs to be
checked for failures. Instead of duplicating code, use an array of
function pointers to the identical registration functions to iterate
over during startup.
Diffstat (limited to 'src/target/armv7a.c')
0 files changed, 0 insertions, 0 deletions