better variable name
This commit is contained in:
@@ -146,11 +146,11 @@ cac::~cac ()
|
||||
//
|
||||
{
|
||||
epicsAutoMutex autoMutex ( this->defaultMutex );
|
||||
tsDLIterBD < cacLocalChannelIO > iter ( this->localChanList.first () );
|
||||
while ( iter.valid () ) {
|
||||
tsDLIterBD < cacLocalChannelIO > pnext = iter.itemAfter ();
|
||||
iter->destroy ();
|
||||
iter = pnext;
|
||||
tsDLIterBD < cacLocalChannelIO > lclChan ( this->localChanList.first () );
|
||||
while ( lclChan.valid () ) {
|
||||
tsDLIterBD < cacLocalChannelIO > pnext = lclChan.itemAfter ();
|
||||
lclChan->destroy ();
|
||||
lclChan = pnext;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -23,9 +23,9 @@ cacChannel::cacChannel () : pChannelIO (0)
|
||||
|
||||
cacChannel::~cacChannel ()
|
||||
{
|
||||
cacChannelIO *pIO = this->pChannelIO;
|
||||
if ( pIO ) {
|
||||
pIO->destroy ();
|
||||
cacChannelIO *pChanIO = this->pChannelIO;
|
||||
if ( pChanIO ) {
|
||||
pChanIO->destroy ();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user