fixed gnu warnings
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user