Fixed HPUX warnings.

This commit is contained in:
Ralph Lange
2001-07-26 08:58:34 +00:00
parent bbd6c9ef90
commit 8a99fac979
4 changed files with 4 additions and 7 deletions
+1 -3
View File
@@ -135,9 +135,7 @@ inline double epicsTimer::getExpireDelay ()
}
return delay;
}
else {
return - DBL_MAX;
}
return - DBL_MAX;
}
extern "C" {
+1 -3
View File
@@ -157,9 +157,7 @@ epicsTimer::expireInfo timer::getExpireInfo () const
if ( this->curState == statePending || this->queue.pExpireTmr == this ) {
return expireInfo ( true, this->exp );
}
else {
return expireInfo ( false, epicsTime() );
}
return expireInfo ( false, epicsTime() );
}
void timer::show ( unsigned int level ) const
+1 -1
View File
@@ -114,7 +114,7 @@ class timerQueueActive : public epicsTimerQueueActive,
public timerQueueActiveMgrPrivate {
public:
timerQueueActive ( bool okToShare, unsigned priority );
~timerQueueActive () = 0;
virtual ~timerQueueActive () = 0;
epicsTimer & createTimer ();
void show ( unsigned int level ) const;
bool sharingOK () const;
+1
View File
@@ -151,6 +151,7 @@ double timerQueue::process ( const epicsTime & currentTime )
return DBL_MAX;
}
}
return DBL_MAX; // Never here; compiler happy
}
epicsTimer & timerQueue::createTimer ()