Index: cppcheck.err =================================================================== diff -u -r182e1a0f7de23f13ea130efedc7b3c8e413e3b7e -r5c15c47de2e809f385e91e6136526020d227cb43 --- cppcheck.err (.../cppcheck.err) (revision 182e1a0f7de23f13ea130efedc7b3c8e413e3b7e) +++ cppcheck.err (.../cppcheck.err) (revision 5c15c47de2e809f385e91e6136526020d227cb43) @@ -40,23 +40,23 @@ [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/view/hd/alarm/VAlarmStatus.h:45]: (style) Class 'VAlarmStatus' has a constructor with 1 argument that is not explicit. Such constructors should in general be explicit for type safety reasons. Using the explicit keyword in the constructor means some mistakes when using the class can be avoided. -[sources/view/hd/alarm/VAlarmStatus.cpp:78]: (style) The function 'alarmPriorityText' is never used. -[sources/view/VEventSpy.cpp:135]: (style) The function 'doMouseReset' is never used. +[sources/view/hd/alarm/VAlarmStatus.cpp:77]: (style) The function 'alarmPriorityText' is never used. +[sources/view/VEventSpy.cpp:139]: (style) The function 'doMouseReset' is never used. [sources/view/hd/adjustment/VTreatmentAdjustmentUltrafiltrationConfirm.cpp:66]: (style) The function 'doOptionDuration' is never used. [sources/view/hd/adjustment/VTreatmentAdjustmentUltrafiltrationState.cpp:54]: (style) The function 'doResume' is never used. -[sources/view/VEventSpy.cpp:178]: (style) The function 'doTouchReset' is never used. +[sources/view/VEventSpy.cpp:182]: (style) The function 'doTouchReset' 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/hd/alarm/VAlarmStatus.cpp:117]: (style) The function 'id' is never used. -[sources/view/VCreateTreatment.cpp:348]: (style) The function 'onFinishedConfirm' is never used. -[sources/view/VCreateTreatment.cpp:183]: (style) The function 'onFinishedCreate' is never used. -[sources/view/VCreateTreatment.cpp:469]: (style) The function 'onFinishedPrime' is never used. -[sources/view/VCreateTreatment.cpp:112]: (style) The function 'onResetCreateTreatment' is never used. -[sources/view/VCreateTreatment.cpp:480]: (style) The function 'onStart' is never used. -[sources/storage/FileHandler.cpp:96]: (style) The function 'read' is never used. -[sources/view/hd/alarm/VAlarmStatus.cpp:128]: (style) The function 'requestOkay' is never used. -[sources/view/hd/alarm/VAlarmStatus.cpp:137]: (style) The function 'requestSilence' is never used. -[sources/view/VCreateTreatment.cpp:448]: (style) The function 'saveTreatmentRangesCSV' is never used. +[sources/view/hd/alarm/VAlarmStatus.cpp:116]: (style) The function 'id' is never used. +[sources/view/VCreateTreatment.cpp:345]: (style) The function 'onFinishedConfirm' is never used. +[sources/view/VCreateTreatment.cpp:181]: (style) The function 'onFinishedCreate' is never used. +[sources/view/VCreateTreatment.cpp:465]: (style) The function 'onFinishedPrime' is never used. +[sources/view/VCreateTreatment.cpp:111]: (style) The function 'onResetCreateTreatment' is never used. +[sources/view/VCreateTreatment.cpp:476]: (style) The function 'onStart' is never used. +[sources/storage/FileHandler.cpp:95]: (style) The function 'read' is never used. +[sources/view/hd/alarm/VAlarmStatus.cpp:127]: (style) The function 'requestOkay' is never used. +[sources/view/hd/alarm/VAlarmStatus.cpp:136]: (style) The function 'requestSilence' is never used. +[sources/view/VCreateTreatment.cpp:444]: (style) The function 'saveTreatmentRangesCSV' is never used. [sources/view/dg/data/VDGOperationModeData.cpp:41]: (style) The function 'text' is never used. [sources/MainTimer.cpp:116]: (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.