Clean up build warnings from Darwin (clang).
This commit is contained in:
@@ -63,9 +63,7 @@ static const unsigned contiguousMsgCountWhichTriggersFlowControl = 10u;
|
||||
|
||||
class caErrorCode {
|
||||
public:
|
||||
caErrorCode ( int status ) : code ( status ) {};
|
||||
private:
|
||||
int code;
|
||||
caErrorCode ( int ) {};
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -34,9 +34,6 @@
|
||||
|
||||
#include "logClient.h"
|
||||
|
||||
static const int logClientSuccess = 0;
|
||||
static const int logClientError = -1;
|
||||
|
||||
typedef struct {
|
||||
char msgBuf[0x4000];
|
||||
struct sockaddr_in addr;
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
* .01 06-14-93 joh needs devAllocInterruptVector() routine
|
||||
*/
|
||||
|
||||
static const char sccsID[] = "@(#) $Revision-Id$";
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -407,8 +407,8 @@ MAIN(epicsCalcTest)
|
||||
testExpr(MAX( 1., 2.,Inf, 4., 5., 3.));
|
||||
testExpr(MAX( 1.,Inf, 3., 4., 5., 2.));
|
||||
testExpr(MAX(Inf, 2., 3., 4., 5., 1.));
|
||||
testExpr(MAX(1,2,3,4,5,6,7,8,9,10));
|
||||
testExpr(MAX(5,4,3,2,1,0,-1,-2,-3,-4));
|
||||
testExpr(MAX(1,2,3,4,5,6,7,8,9,10,11,12));
|
||||
testExpr(MAX(5,4,3,2,1,0,-1,-2,-3,-4,-5,-6));
|
||||
testExpr(MAX(-1,1,0));
|
||||
|
||||
testExpr(MIN(99));
|
||||
@@ -468,8 +468,8 @@ MAIN(epicsCalcTest)
|
||||
testExpr(MIN( 1., 2.,-Inf, 4., 5., 3.));
|
||||
testExpr(MIN( 1.,-Inf, 3., 4., 5., 2.));
|
||||
testExpr(MIN(-Inf, 2., 3., 4., 5., 1.));
|
||||
testExpr(MIN(1,2,3,4,5,6,7,8,9,10));
|
||||
testExpr(MIN(5,4,3,2,1,0,-1,-2,-3,-4));
|
||||
testExpr(MIN(1,2,3,4,5,6,7,8,9,10,11,12));
|
||||
testExpr(MIN(5,4,3,2,1,0,-1,-2,-3,-4,-5,-6));
|
||||
testExpr(MIN(1,-1,0));
|
||||
testExpr(MAX(MIN(0,2),MAX(0),MIN(3,2,1)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user