fixed sun pro warning

This commit is contained in:
Jeff Hill
2002-05-09 15:29:33 +00:00
parent dbfc2880c8
commit 3bbcf08dc3
+6 -6
View File
@@ -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 ) {