From 3bbcf08dc3711c6752e38dd5777208488078d11d Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 9 May 2002 15:29:33 +0000 Subject: [PATCH] fixed sun pro warning --- src/ca/oldCAC.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ca/oldCAC.cpp b/src/ca/oldCAC.cpp index 28979ac2a..7436326f1 100644 --- a/src/ca/oldCAC.cpp +++ b/src/ca/oldCAC.cpp @@ -223,11 +223,11 @@ void oldCAC::attachToClientCtx () epicsThreadPrivateSet ( caClientContextId, this ); } -void oldCAC::incrementOutstandingIO ( unsigned ioSeqNo ) +void oldCAC::incrementOutstandingIO ( unsigned ioSeqNoIn ) { - if ( this->ioSeqNo == ioSeqNo ) { + if ( this->ioSeqNo == ioSeqNoIn ) { epicsGuard < oldCACMutex > guard ( this->mutex ); - if ( this->ioSeqNo == ioSeqNo ) { + if ( this->ioSeqNo == ioSeqNoIn ) { if ( this->pndRecvCnt < UINT_MAX ) { this->pndRecvCnt++; } @@ -239,16 +239,16 @@ void oldCAC::incrementOutstandingIO ( unsigned ioSeqNo ) } } -void oldCAC::decrementOutstandingIO ( unsigned ioSeqNo ) +void oldCAC::decrementOutstandingIO ( unsigned ioSeqNoIn ) { - if ( this->ioSeqNo != ioSeqNo ) { + if ( this->ioSeqNo != ioSeqNoIn ) { return; } bool signalNeeded; { epicsGuard < oldCACMutex > guard ( this->mutex ); - if ( this->ioSeqNo == ioSeqNo ) { + if ( this->ioSeqNo == ioSeqNoIn ) { if ( this->pndRecvCnt > 0u ) { this->pndRecvCnt--; if ( this->pndRecvCnt == 0u ) {