fixed GNU and SUN PRO warnings

This commit is contained in:
Jeff Hill
2000-08-25 17:55:18 +00:00
parent b1d85b357c
commit 18b885af33
21 changed files with 76 additions and 74 deletions

View File

@@ -105,19 +105,19 @@ void searchTimer::setRetryInterval (unsigned retryNo)
// at least one response. However, dont reset this delay if we
// get a delayed response to an old search request.
//
void searchTimer::notifySearchResponse ( unsigned short retrySeqNo )
void searchTimer::notifySearchResponse ( unsigned short retrySeqNoIn )
{
bool reschedualNeeded;
this->lock ();
if ( this->retrySeqAtPassBegin <= retrySeqNo ) {
if ( this->retrySeqAtPassBegin <= retrySeqNoIn ) {
if ( this->searchResponsesWithinThisPass < UINT_MAX ) {
this->searchResponsesWithinThisPass++;
}
}
reschedualNeeded = ( retrySeqNo == this->retrySeqNo );
reschedualNeeded = ( retrySeqNoIn == this->retrySeqNo );
this->unlock ();