diff --git a/src/utils/configuration.cpp b/src/utils/configuration.cpp index 38ce89b..d93014a 100644 --- a/src/utils/configuration.cpp +++ b/src/utils/configuration.cpp @@ -287,7 +287,7 @@ bool SystemConfigurationImpl::getPropertyAsBoolean(const string &name, const boo int32 SystemConfigurationImpl::getPropertyAsInteger(const string &name, const int32 defaultValue) { - int32 retval; + int32 retval = defaultValue; _ibuffer.clear(); _obuffer.clear(); _obuffer.str(""); diff --git a/testApp/remote/testCodec.cpp b/testApp/remote/testCodec.cpp index d55ef62..67a0e0b 100644 --- a/testApp/remote/testCodec.cpp +++ b/testApp/remote/testCodec.cpp @@ -49,12 +49,14 @@ namespace epics { class ReadPollOneCallback { public: + ~ReadPollOneCallback() {} virtual void readPollOne() = 0; }; class WritePollOneCallback { public: + ~WritePollOneCallback() {} virtual void writePollOne() = 0 ; }; @@ -2618,7 +2620,7 @@ namespace epics { for (int32_t i = 0; i < header._payloadSize; i++) { if ((int8_t)i != header._payload->getByte()) { testFail("%s: (int8_t)%d == header._payload->getByte()", - CURRENT_FUNCTION, i); + CURRENT_FUNCTION, (int)i); } } } @@ -2823,7 +2825,7 @@ namespace epics { for (int32_t i = 0; i < header._payloadSize; i++) { if ((int8_t)i != header._payload->getByte()) { testFail("%s: (int8_t)%d == header._payload->getByte()", - CURRENT_FUNCTION, i); + CURRENT_FUNCTION, (int)i); } } diff --git a/testApp/remote/testServer.cpp b/testApp/remote/testServer.cpp index acd6863..c162de5 100644 --- a/testApp/remote/testServer.cpp +++ b/testApp/remote/testServer.cpp @@ -53,6 +53,9 @@ map structureStore; class StructureChangedCallback { public: POINTER_DEFINITIONS(StructureChangedCallback); + + ~StructureChangedCallback() {} + // TODO for now no BitSets, etc. virtual void structureChanged() = 0; };