Skip to content

Commit

Permalink
Fixed wrongly overwritten variable in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
azonenberg committed Jul 23, 2018
1 parent c012b8e commit 81be883
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions JtagDevice.cpp
Expand Up @@ -61,9 +61,6 @@ JtagDevice::JtagDevice(unsigned int idcode, JtagInterface* iface, size_t pos, si
, m_iface(iface)
, m_pos(pos)
{
//should be set by derived class
m_irlength = 0;

memset(m_cachedIR, 0xFF, sizeof(m_cachedIR));
}

Expand Down

0 comments on commit 81be883

Please sign in to comment.