Address codereview comment from Steve Grubb <sgrubb@redhat.com>:
authordbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 17 Sep 2009 19:20:18 +0000 (19:20 +0000)
committerdbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 17 Sep 2009 19:20:18 +0000 (19:20 +0000)
commite961bd14d93a3c4bae5ff52e28e049b1a96dd485
tree8f8bbc04d123371ee5339b3c1c9013af3be04472
parent9536577c0214d6f59e9589fce75f295755fa9f6c
Address codereview comment from Steve Grubb <sgrubb@redhat.com>:
avoid a duplicate test.

Plus other cleanup in the same code: be "static", sane line lengths
for source and diagnostics, and fix misleading variable names.

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