]> git.sur5r.net Git - openocd/commit
Simplify jtag_add_pathmove:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 8 Jun 2009 10:57:18 +0000 (10:57 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 8 Jun 2009 10:57:18 +0000 (10:57 +0000)
commit521d8d5bfaebe69f507de42847360486290248ee
treee8cc28e1f7a9b810997680b4b837da51e398f8f2
parent8a89899860bd5b6cdd04846d1d4852847e2ac1dd
Simplify jtag_add_pathmove:
- Use jtag_set_error instead of accessing jtag_error directly.
- Eliminate superfluous retval temporary variable.
- Reduce scope of loop induction variable.
- Wrap to fit within 80 columns.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2123 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/jtag/jtag.c