fixed gnu warnings

This commit is contained in:
Jeff Hill
2002-11-01 18:13:51 +00:00
parent 250a5418c1
commit e772ce948c
8 changed files with 23 additions and 19 deletions

View File

@@ -73,7 +73,7 @@ epicsTimerQueueActiveForC::~epicsTimerQueueActiveForC ()
void epicsTimerQueueActiveForC::release () epicsThrows (())
{
epicsSingleton < timerQueueActiveMgr >::reference pMgr =
timerQueueMgrEPICS;
timerQueueMgrEPICS.getReference ();
pMgr->release ( *this );
}
@@ -179,7 +179,8 @@ extern "C" epicsTimerQueueId epicsShareAPI
epicsTimerQueueAllocate ( int okToShare, unsigned int threadPriority )
{
try {
epicsSingleton < timerQueueActiveMgr >::reference ref = timerQueueMgrEPICS;
epicsSingleton < timerQueueActiveMgr >::reference ref =
timerQueueMgrEPICS.getReference ();
epicsTimerQueueActiveForC & tmr =
ref->allocate ( okToShare ? true : false, threadPriority );
return &tmr;