From e095b7feba31261c87dc1916d3c4bcc6beaa296e Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 16 Jul 2001 16:59:37 +0000 Subject: [PATCH] fixed sun pro warnings --- src/ca/cac.cpp | 7 +++++-- src/ca/oldChannelNotify.cpp | 2 +- src/ca/repeaterSubscribeTimer.cpp | 3 ++- src/ca/tcpSendWatchdog.cpp | 3 ++- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/ca/cac.cpp b/src/ca/cac.cpp index 0fa4658c2..c7e12d732 100644 --- a/src/ca/cac.cpp +++ b/src/ca/cac.cpp @@ -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 ) { diff --git a/src/ca/oldChannelNotify.cpp b/src/ca/oldChannelNotify.cpp index 1e0ea94b7..bee8f321f 100644 --- a/src/ca/oldChannelNotify.cpp +++ b/src/ca/oldChannelNotify.cpp @@ -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 ); diff --git a/src/ca/repeaterSubscribeTimer.cpp b/src/ca/repeaterSubscribeTimer.cpp index 193ba4594..1df81c159 100644 --- a/src/ca/repeaterSubscribeTimer.cpp +++ b/src/ca/repeaterSubscribeTimer.cpp @@ -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 ) { diff --git a/src/ca/tcpSendWatchdog.cpp b/src/ca/tcpSendWatchdog.cpp index 4ff1c69d9..8f6e62c4e 100644 --- a/src/ca/tcpSendWatchdog.cpp +++ b/src/ca/tcpSendWatchdog.cpp @@ -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 ) );