Clean up build warnings from Darwin (clang).

This commit is contained in:
Andrew Johnson
2014-05-30 12:36:50 -05:00
parent c980613bd8
commit 9e1ebf8d0f
7 changed files with 8 additions and 15 deletions
+1 -3
View File
@@ -63,9 +63,7 @@ static const unsigned contiguousMsgCountWhichTriggersFlowControl = 10u;
class caErrorCode {
public:
caErrorCode ( int status ) : code ( status ) {};
private:
int code;
caErrorCode ( int ) {};
};
/*
+1 -1
View File
@@ -591,7 +591,7 @@ void ca_client_context :: whenThereIsAnExceptionDestroySyncGroupIO (
}
else {
// dont reverse the lock hierarchy
epicsGuardRelease < epicsMutex > guardRelease ();
epicsGuardRelease < epicsMutex > guardRelease ( guard );
{
//
// we will definately stall out here if all of the
+2
View File
@@ -44,8 +44,10 @@
using namespace std;
#if 0
const unsigned mSecPerSec = 1000u;
const unsigned uSecPerSec = 1000u * mSecPerSec;
#endif
tcpSendThread::tcpSendThread (
class tcpiiu & iiuIn, const char * pName,
@@ -34,8 +34,6 @@ const nothrow_t nothrow ;
}
#endif
static const caHdr nill_msg = { 0u, 0u, 0u, 0u, 0u, 0u };
casStrmClient::pCASMsgHandler const casStrmClient::msgHandlers[] =
{
& casStrmClient::versionAction,