Skip to content

Commit

Permalink
jtag: fix warning (uninitialized tms)
Browse files Browse the repository at this point in the history
  • Loading branch information
trabucayre committed Jul 27, 2023
1 parent ab9eff7 commit 3955a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jtag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ int Jtag::shiftIR(unsigned char *tdi, unsigned char *tdo, int irlen, int end_sta

void Jtag::set_state(int newState)
{
unsigned char tms;
unsigned char tms = 0;
while (newState != _state) {
display("_state : %16s(%02d) -> %s(%02d) ",
getStateName((tapState_t)_state),
Expand Down

0 comments on commit 3955a70

Please sign in to comment.