Index: cppcheck.err =================================================================== diff -u -r510ea07f96362a18f9961f41b5b91740df075c1f -rd0a65109913c9f959d594615d3022c040123a008 --- cppcheck.err (.../cppcheck.err) (revision 510ea07f96362a18f9961f41b5b91740df075c1f) +++ cppcheck.err (.../cppcheck.err) (revision d0a65109913c9f959d594615d3022c040123a008) @@ -37,42 +37,46 @@ } } When you see this message it is always safe to reduce the variable scope 1 level. +[sources/canbus/MessageInterpreter.cpp:333]: (error) syntax error [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/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/hd/alarm/VAlarmStatus.cpp:93]: (style) The function 'doClearCondition' is never used. [sources/view/VTreatmentEnd.cpp:35]: (style) The function 'doEndTreatmentRequest' 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:566]: (style) The function 'doFinishedPrime' is never used. -[sources/view/VBluetooth.cpp:115]: (style) The function 'doGetDevices' is never used. +[sources/view/VBluetooth.cpp:121]: (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/VBluetooth.cpp:131]: (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:54]: (style) The function 'doManualBPMeasureEntry' is never used. +[sources/view/VVitals.cpp:69]: (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: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:860]: (style) The function 'doSelectParameters' is never used. -[sources/view/hd/alarm/VAlarmStatus.cpp:74]: (style) The function 'doSilence' is never used. +[sources/view/hd/alarm/VAlarmStatus.cpp:76]: (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:41]: (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/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/utility/types.cpp:28]: (style) The function 'floatCompare' is never used. +[sources/model/MDGDebugText.cpp:25]: (style) The function 'fromByteArray' 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:57]: (style) The function 'onQuit' is never used. [sources/storage/FileHandler.cpp:95]: (style) The function 'read' 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. +[sources/model/MAbstract.cpp:30]: (style) The function 'toVariantList' 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.