summaryrefslogtreecommitdiff
path: root/src/jtag/bitbang.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-13 08:05:10 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-13 08:05:10 +0000
commit979d6b794362c8e2e0dc4d0e7040ae7be862462a (patch)
tree2d2278d0f5fc63ac14a02cf0c82bd68a003c744c /src/jtag/bitbang.c
parentcb0bc93c0610dcd4290712791ffb6e1cd56fa22e (diff)
downloadopenocd+libswd-979d6b794362c8e2e0dc4d0e7040ae7be862462a.tar.gz
openocd+libswd-979d6b794362c8e2e0dc4d0e7040ae7be862462a.tar.bz2
openocd+libswd-979d6b794362c8e2e0dc4d0e7040ae7be862462a.tar.xz
openocd+libswd-979d6b794362c8e2e0dc4d0e7040ae7be862462a.zip
marked infinite loop in code w/TODO and fixed warning.
git-svn-id: svn://svn.berlios.de/openocd/trunk@508 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/bitbang.c')
-rw-r--r--src/jtag/bitbang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/bitbang.c b/src/jtag/bitbang.c
index e5e1438a..f12355c6 100644
--- a/src/jtag/bitbang.c
+++ b/src/jtag/bitbang.c
@@ -75,7 +75,7 @@ void bitbang_path_move(pathmove_command_t *cmd)
{
int num_states = cmd->num_states;
int state_count;
- int tms;
+ int tms = 0;
state_count = 0;
while (num_states)