fixed gnu warnings

This commit is contained in:
Jeff Hill
2001-09-07 23:32:26 +00:00
parent 6426c3093e
commit 6b2ff88e40

View File

@@ -1782,7 +1782,6 @@ void cac::preemptiveCallbackUnlock ()
epicsAutoMutex autoMutex ( this->mutex );
assert ( this->recvThreadsPendingCount > 0 );
this->recvThreadsPendingCount--;
unsigned noThreadsWaiting;
if ( this->pCallbackLocker ) {
if ( this->recvThreadsPendingCount == 1u ) {
signalRequired = true;
@@ -1791,6 +1790,9 @@ void cac::preemptiveCallbackUnlock ()
signalRequired = false;
}
}
else {
signalRequired = false;
}
}
if ( signalRequired ) {
this->noRecvThreadsPending.signal ();