ntofutils linting report

src/DIMData.cpp:180:1: warning: when initialized here [-Wreorder] src/DIMData.cpp:343:1: warning: when initialized here [-Wreorder] src/DIMData.cpp:353:1: warning: when initialized here [-Wreorder] src/DIMData.cpp:596:12: warning: enumeration value 'TypeInvalid' not handled in switch [-Wswitch] src/DIMUtils.cpp:57:1: warning: no return statement in function returning non-void [-Wreturn-type] src/DIMUtils.cpp:71:1: warning: no return statement in function returning non-void [-Wreturn-type] src/DaqTypes.cpp:698:14: warning: variable 'nbWord' set but not used [-Wunused-but-set-variable] src/DaqTypes.cpp:900:1: warning: when initialized here [-Wreorder] tests/test_AcquisitionData.cpp:86:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] tests/test_DIMParamList.cpp:113:22: warning: unused variable 'ptr' [-Wunused-variable] src/DaqTypes.cpp:729:13: warning: Value stored to 'nbWord' is never read src/easylogging++.cc:3251:9: warning: Value stored to 'buf' is never read src/easylogging++.cc:3268:9: warning: Value stored to 'buf' is never read src/easylogging++.cc:3280:9: warning: Value stored to 'buf' is never read tests/test_DIMParamList.cpp:113:22: warning: Value stored to 'ptr' during its initialization is never read include/DIMUtils.hpp:52:5: warning: Class 'DIMScopedConnection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] include/NTOFLogging.hpp:0:0: warning: This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [noValidConfiguration] include/easylogging++.h:0:0: warning: This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [noValidConfiguration] src/DIMData.cpp:287:21: warning: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] src/DIMDataSetProxy.cpp:54:0: warning: Unmatched suppression: constParameter [unmatchedSuppression] src/DIMParamListProxy.cpp:54:0: warning: Unmatched suppression: constParameter [unmatchedSuppression] src/DaqTypes.cpp:698:21: warning: Variable 'nbWord' is assigned a value that is never used. [unreadVariable] src/DaqTypes.cpp:729:20: warning: Variable 'nbWord' is assigned a value that is never used. [unreadVariable] src/easylogging++.cc:2296:20: warning: Redundant initialization for 'dateIndex'. The initialized value is overwritten before it is read. [redundantInitialization] src/easylogging++.cc:2293:27: note: dateIndex is initialized src/easylogging++.cc:2296:20: note: dateIndex is overwritten src/easylogging++.cc:1049:16: warning: The comparison 'status == -1' is always true. [knownConditionTrueFalse] src/easylogging++.cc:1021:19: note: 'status' is assigned value '-1' here. src/easylogging++.cc:1049:16: note: The comparison 'status == -1' is always true. src/easylogging++.cc:3072:34: warning: The lock is ineffective because the mutex is locked at the same scope as the mutex itself. [localMutex] tests/test_DIMDataSet.cpp:125:53: warning: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. [unknownMacro] tests/test_helpers.hpp:47:1: warning: There is an unknown macro here somewhere. Configuration is required. If CPPUNIT_NS_BEGIN is a macro then please configure it. [unknownMacro]