Skip to content

Commit

Permalink
DSDYSF: initialize fields
Browse files Browse the repository at this point in the history
  • Loading branch information
f4exb committed Jan 14, 2017
1 parent b35571a commit a575609
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ysf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,17 @@ DSDYSF::DSDYSF(DSDDecoder *dsdDecoder) :
m_pn(0x1c9),
m_fichError(FICHNoError)
{
memset(m_dest, 0, 10+1);
memset(m_src, 0, 10+1);
memset(m_downlink, 0, 10+1);
memset(m_uplink, 0, 10+1);
memset(m_rem1, 0, 5+1);
memset(m_rem2, 0, 5+1);
memset(m_rem3, 0, 5+1);
memset(m_rem4, 0, 5+1);
memset(m_destId, 0, 5+1);
memset(m_srcId, 0, 5+1);

w = 0;
x = 0;
y = 0;
Expand Down

0 comments on commit a575609

Please sign in to comment.