Index: cppcheck.err =================================================================== diff -u -r71fc7ad7203bc8c72b550745853ec453f8247f09 -rd9c602dc1f1e5ba34bc665264d739ce6509e0198 --- cppcheck.err (.../cppcheck.err) (revision 71fc7ad7203bc8c72b550745853ec453f8247f09) +++ cppcheck.err (.../cppcheck.err) (revision d9c602dc1f1e5ba34bc665264d739ce6509e0198) @@ -39,33 +39,40 @@ 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/view/hd/alarm/VAlarmStatus.h:52]: (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/VTreatmentCreate.cpp:891]: (style) The function 'doCancelConfirmParameters' is never used. -[sources/view/VTreatmentCreate.cpp:880]: (style) The function 'doCancelSelectingParameters' is never used. +[sources/view/VTreatmentCreate.cpp:882]: (style) The function 'doCancelConfirmParameters' is never used. +[sources/view/VTreatmentCreate.cpp:871]: (style) The function 'doCancelSelectingParameters' is never used. +[sources/view/VTreatmentBegin.cpp:48]: (style) The function 'doCheckBLE' is never used. +[sources/view/hd/alarm/VAlarmStatus.cpp:91]: (style) The function 'doClearCondition' is never used. [sources/view/VTreatmentEnd.cpp:35]: (style) The function 'doEndTreatmentRequest' is never used. -[sources/view/VTreatmentCreate.cpp:437]: (style) The function 'doFinishedConfirm' is never used. +[sources/view/VTreatmentCreate.cpp:439]: (style) The function 'doFinishedConfirm' is never used. [sources/view/VTreatmentCreate.cpp:196]: (style) The function 'doFinishedCreate' is never used. -[sources/view/VTreatmentCreate.cpp:565]: (style) The function 'doFinishedPrime' is never used. -[sources/view/VTreatmentCreate.cpp:817]: (style) The function 'doGetOperatingParameterNames' is never used. -[sources/view/VTreatmentCreate.cpp:836]: (style) The function 'doGetOperatingParameterValues' is never used. -[sources/view/VTreatmentCreate.cpp:784]: (style) The function 'doGetPrescriptionParameterNames' is never used. -[sources/view/VTreatmentCreate.cpp:801]: (style) The function 'doGetPrescriptionParameterValues' is never used. +[sources/view/VTreatmentCreate.cpp:566]: (style) The function 'doFinishedPrime' is never used. +[sources/view/VBluetooth.cpp:115]: (style) The function 'doGetDevices' is never used. +[sources/view/VTreatmentCreate.cpp:808]: (style) The function 'doGetOperatingParameterNames' is never used. +[sources/view/VTreatmentCreate.cpp:827]: (style) The function 'doGetOperatingParameterValues' is never used. +[sources/view/VBluetooth.cpp:125]: (style) The function 'doGetPairedDevices' is never used. +[sources/view/VTreatmentCreate.cpp:775]: (style) The function 'doGetPrescriptionParameterNames' is never used. +[sources/view/VTreatmentCreate.cpp:792]: (style) The function 'doGetPrescriptionParameterValues' is never used. +[sources/view/VVitals.cpp:55]: (style) The function 'doManualBPMeasureEntry' 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/VTreatmentCreate.cpp:904]: (style) The function 'doRequestPop' is never used. +[sources/view/VTreatmentCreate.cpp:895]: (style) The function 'doRequestPop' is never used. [sources/view/VTreatmentCreate.cpp:125]: (style) The function 'doResetCreateTreatment' is never used. [sources/view/hd/adjustment/VTreatmentAdjustmentUltrafiltrationState.cpp:54]: (style) The function 'doResume' is never used. -[sources/view/VTreatmentCreate.cpp:869]: (style) The function 'doSelectParameters' is never used. -[sources/view/VTreatmentCreate.cpp:575]: (style) The function 'doStartTreatment' is never used. +[sources/view/VTreatmentCreate.cpp:860]: (style) The function 'doSelectParameters' is never used. +[sources/view/hd/alarm/VAlarmStatus.cpp:74]: (style) The function 'doSilence' is never used. +[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/VVitals.cpp:42]: (style) The function 'doUpdateBPMeasureInterval' is never used. +[sources/view/hd/alarm/VAlarmStatus.cpp:53]: (style) The function 'doUserActionEnd' is never used. +[sources/view/hd/alarm/VAlarmStatus.cpp:63]: (style) The function 'doUserActionOk' is never used. +[sources/view/hd/alarm/VAlarmStatus.cpp:33]: (style) The function 'doUserActionResume' is never used. +[sources/view/hd/alarm/VAlarmStatus.cpp:43]: (style) The function 'doUserActionRinseback' 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/hd/alarm/VAlarmStatus.cpp:128]: (style) The function 'onRequestOkay' is never used. -[sources/view/hd/alarm/VAlarmStatus.cpp:149]: (style) The function 'onRequestSilence' is never used. +[sources/view/VBluetoothDeviceInfo.cpp:68]: (style) The function 'isConnected' is never used. +[sources/bluetooth/BLEScanner.cpp:57]: (style) The function 'onQuit' is never used. [sources/storage/FileHandler.cpp:95]: (style) The function 'read' is never used. -[sources/view/VTreatmentCreate.cpp:544]: (style) The function 'saveTreatmentRangesCSV' is never used. -[sources/view/dg/data/VDGOperationModeData.cpp:41]: (style) The function 'text' is never used. +[sources/view/VTreatmentCreate.cpp:545]: (style) The function 'saveTreatmentRangesCSV' 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.