diff --git a/src/cas/example/simple/exPV.cc b/src/cas/example/simple/exPV.cc index 31e5e7b66..7d2112750 100644 --- a/src/cas/example/simple/exPV.cc +++ b/src/cas/example/simple/exPV.cc @@ -41,6 +41,9 @@ exPV::exPV (pvInfo &setup, bool preCreateFlag, bool scanOnIn) : this->pScanTimer = new exScanTimer (this->getScanPeriod(), *this); } + else { + this->pScanTimer = 0; + } } //