Skip to content

Commit

Permalink
Fix init of consecRCPs.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeteDavidson committed Mar 14, 2017
1 parent df9affb commit c070be1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pmodeme.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ class ModemEngineBody : public PObject
DLEData dleData;
PINDEX dataCount;
PBoolean moreFrames;
int consecRCPs = 0;
int consecRCPs;
FCS fcs;

Profile P;
Expand Down Expand Up @@ -1272,7 +1272,8 @@ ModemEngineBody::ModemEngineBody(ModemEngine &_parent, const PNotifier &_callbac
state(stCommand),
dataType(EngineBase::dtNone),
sendOnIdle(EngineBase::dtNone),
pPlayTone(NULL)
pPlayTone(NULL),
consecRCPs(0)
{
for (int i = 0 ; i < mceNumberOfItems ; i++) {
activeEngines[i] = NULL;
Expand Down

0 comments on commit c070be1

Please sign in to comment.