fixed sun pro warnings

This commit is contained in:
Jeff Hill
2001-07-16 16:59:37 +00:00
parent 13f8bc14ec
commit e095b7feba
4 changed files with 10 additions and 5 deletions
+5 -2
View File
@@ -304,6 +304,8 @@ cac::~cac ()
osiSockRelease ();
this->pTimerQueue->release ();
epicsThreadPrivateDelete ( this->isRecvProcessId );
}
// lock must be applied
@@ -1480,7 +1482,7 @@ bool cac::defaultExcep ( tcpiiu &iiu, const caHdrLargeArray &,
return true;
}
bool cac::eventAddExcep ( tcpiiu &iiu, const caHdrLargeArray &hdr,
bool cac::eventAddExcep ( tcpiiu & /* iiu */, const caHdrLargeArray &hdr,
const char *pCtx, unsigned status )
{
this->ioExceptionNotify ( hdr.m_available, status, pCtx,
@@ -1575,7 +1577,8 @@ bool cac::accessRightsRespAction ( tcpiiu &, const caHdrLargeArray &hdr, void *
return true;
}
bool cac::claimCIURespAction ( tcpiiu &iiu, const caHdrLargeArray &hdr, void *pMsgBdy )
bool cac::claimCIURespAction ( tcpiiu &iiu,
const caHdrLargeArray &hdr, void * /*pMsgBdy */ )
{
nciu * pChan = this->chanTable.lookup ( hdr.m_cid );
if ( pChan ) {
+1 -1
View File
@@ -114,7 +114,7 @@ void oldChannelNotify::exception ( int status, const char *pContext )
}
void oldChannelNotify::readException ( int status, const char *pContext,
unsigned type, arrayElementCount count, void *pValue )
unsigned type, arrayElementCount count, void * /* pValue */ )
{
this->cacCtx.exception ( status, pContext,
__FILE__, __LINE__, *this, type, count, CA_OP_GET );
+2 -1
View File
@@ -33,7 +33,8 @@ repeaterSubscribeTimer::~repeaterSubscribeTimer ()
this->timer.destroy ();
}
epicsTimerNotify::expireStatus repeaterSubscribeTimer::expire ( const epicsTime & currentTime )
epicsTimerNotify::expireStatus repeaterSubscribeTimer::
expire ( const epicsTime & /* currentTime */ )
{
static const unsigned nTriesToMsg = 50;
if ( this->attempts > nTriesToMsg && ! this->once ) {
+2 -1
View File
@@ -27,7 +27,8 @@ tcpSendWatchdog::~tcpSendWatchdog ()
this->timer.destroy ();
}
epicsTimerNotify::expireStatus tcpSendWatchdog::expire ( const epicsTime & currentTime )
epicsTimerNotify::expireStatus tcpSendWatchdog::expire (
const epicsTime & /* currentTime */ )
{
char hostName[128];
this->iiu.hostName ( hostName, sizeof ( hostName ) );