Index: cppcheck.err =================================================================== diff -u -r5215e145a0f26a20c99e3f10af6ac8a9c3b67383 -re5a802bc26647388cfea4f1d46ae22570ec2dba3 --- cppcheck.err (.../cppcheck.err) (revision 5215e145a0f26a20c99e3f10af6ac8a9c3b67383) +++ cppcheck.err (.../cppcheck.err) (revision e5a802bc26647388cfea4f1d46ae22570ec2dba3) @@ -1,3 +1,5 @@ +[sources/model/hd/adjustment/MTreatmentAdjustUltrafiltrationEditResponse.h:67] -> [sources/model/hd/adjustment/MTreatmentAdjustUltrafiltrationConfirmResponse.h:61]: (warning) The class 'MAdjustUltrafiltrationEditResponse' defines member variable with name 'stringPrefix' also defined in its parent class 'MAdjustUltrafiltrationConfirmResponse'. +[sources/model/hd/adjustment/MTreatmentAdjustUltrafiltrationEditResponse.h:79] -> [sources/model/hd/adjustment/MTreatmentAdjustUltrafiltrationConfirmResponse.h:79]: (warning) The class 'MAdjustUltrafiltrationEditResponse' defines member variable with name '_data' also defined in its parent class 'MAdjustUltrafiltrationConfirmResponse'. [sources/MainTimer.cpp:69]: (style) The scope of the variable 'oH' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced: void f(int x) { @@ -37,9 +39,8 @@ } } When you see this message it is always safe to reduce the variable scope 1 level. -[sources/model/hd/adjustment/MTreatmentAdjustUltrafiltrationEditResponse.h:67] -> [sources/model/hd/adjustment/MTreatmentAdjustUltrafiltrationConfirmResponse.h:61]: (warning) The class 'MAdjustUltrafiltrationEditResponse' defines member variable with name 'stringPrefix' also defined in its parent class 'MAdjustUltrafiltrationConfirmResponse'. -[sources/model/hd/adjustment/MTreatmentAdjustUltrafiltrationEditResponse.h:79] -> [sources/model/hd/adjustment/MTreatmentAdjustUltrafiltrationConfirmResponse.h:79]: (warning) The class 'MAdjustUltrafiltrationEditResponse' defines member variable with name '_data' also defined in its parent class 'MAdjustUltrafiltrationConfirmResponse'. -[sources/AlarmGenerator.cpp:68]: (style) The function 'ALARM_ID_BLE_CUFF' is never used. +[sources/AlarmGenerator.cpp:70]: (style) The function 'ALARM_ID_BLE_CUFF' is never used. +[sources/storage/Logger.cpp:316]: (style) The function 'concurrentExportLogs' is never used. [sources/view/VTreatmentCreate.cpp:892]: (style) The function 'doCancelConfirmParameters' is never used. [sources/view/VTreatmentCreate.cpp:881]: (style) The function 'doCancelSelectingParameters' is never used. [sources/view/VTreatmentBegin.cpp:48]: (style) The function 'doCheckBLE' is never used. @@ -66,16 +67,16 @@ [sources/view/VTreatmentBegin.cpp:72]: (style) The function 'doStartTreatment' is never used. [sources/view/VEventSpy.cpp:182]: (style) The function 'doTouchReset' is never used. [sources/view/hd/adjustment/VTreatmentAdjustmentRecirculate.cpp:75]: (style) The function 'doTreatmentEnd' is never used. -[sources/view/VVitals.cpp:56]: (style) The function 'doUpdateBPMeasureInterval' is never used. [sources/view/hd/alarm/VAlarmStatus.cpp:55]: (style) The function 'doUserActionEnd' is never used. [sources/view/hd/alarm/VAlarmStatus.cpp:65]: (style) The function 'doUserActionOk' is never used. [sources/view/hd/alarm/VAlarmStatus.cpp:35]: (style) The function 'doUserActionResume' is never used. [sources/view/hd/alarm/VAlarmStatus.cpp:45]: (style) The function 'doUserActionRinseback' is never used. +[sources/view/VTreatmentBegin.cpp:37]: (style) The function 'doUserModifiedParameters' is never used. [sources/utility/types.cpp:28]: (style) The function 'floatCompare' is never used. [sources/utility/types.cpp:44]: (style) The function 'getBits' is never used. [sources/view/VBluetoothDeviceInfo.cpp:68]: (style) The function 'isConnected' is never used. [sources/bluetooth/BLEScanner.cpp:55]: (style) The function 'onQuit' is never used. [sources/storage/FileHandler.cpp:166]: (style) The function 'removeFiles' is never used. [sources/view/VTreatmentCreate.cpp:546]: (style) The function 'saveTreatmentRangesCSV' is never used. -[sources/MainTimer.cpp:116]: (style) The function 'timerEvent' is never used. +[sources/bluetooth/BLEScanner.cpp:96]: (style) The function 'timerEvent' is never used. (information) Cppcheck cannot find all the include files. Cppcheck can check the code without the include files found. But the results will probably be more accurate if all the include files are found. Please check your project's include directories and add all of them as include directories for Cppcheck. To see what files Cppcheck cannot find use --check-config.