]> git.sur5r.net Git - openocd/commit
Simplify jtag_add_tlr:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 8 Jun 2009 10:57:10 +0000 (10:57 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 8 Jun 2009 10:57:10 +0000 (10:57 +0000)
commit8a89899860bd5b6cdd04846d1d4852847e2ac1dd
tree2dbb74d2b9e7c9d2c39ddde1aef44078d44dcbc5
parentd3d0f662ef730440e84f5e359f1e4bdc3c505efe
Simplify jtag_add_tlr:
- Use jtag_set_error instead of accessing jtag_error directly.
- Eliminate superfluous temporary variable.

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