Index: etc/reports/cppcheck/cppcheck.err =================================================================== diff -u -r11560b63360025c294edabc6f5f6da97ad1f20c3 -ra58f91b077c8131bea3dbde0fc338adb113fc9f3 --- etc/reports/cppcheck/cppcheck.err (.../cppcheck.err) (revision 11560b63360025c294edabc6f5f6da97ad1f20c3) +++ etc/reports/cppcheck/cppcheck.err (.../cppcheck.err) (revision a58f91b077c8131bea3dbde0fc338adb113fc9f3) @@ -1,4 +1,4 @@ -04/22/2025 21:26 +04/25/2025 20:19 Behrouz NematiPour /home/denali/Public/luis/application/sources/canbus/MessageAcknowModel.h:58:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning '_sequence' a value by passing the value to the constructor in the initialization list. [useInitializationList] _sequence = vSequence ; @@ -48,7 +48,7 @@ /home/denali/Public/luis/application/sources/ApplicationPost.cpp:303:10: note: Condition '!ok' is always false if ( ! ok ) emit didFail(Gui::GuiAlarmID::ALARM_ID_UI_POST_FAILURE_SOUND); ^ -/home/denali/Public/luis/application/sources/MainTimer.cpp:78:16: 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: +/home/denali/Public/luis/application/sources/MainTimer.cpp:75:16: 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) { int i = 0; @@ -63,7 +63,7 @@ When you see this message it is always safe to reduce the variable scope 1 level. [variableScope] static int oH,oM,oS; int cH,cM,cS; ^ -/home/denali/Public/luis/application/sources/MainTimer.cpp:78:19: style: The scope of the variable 'oM' 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: +/home/denali/Public/luis/application/sources/MainTimer.cpp:75:19: style: The scope of the variable 'oM' 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) { int i = 0; @@ -78,7 +78,7 @@ When you see this message it is always safe to reduce the variable scope 1 level. [variableScope] static int oH,oM,oS; int cH,cM,cS; ^ -/home/denali/Public/luis/application/sources/MainTimer.cpp:78:22: style: The scope of the variable 'oS' 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: +/home/denali/Public/luis/application/sources/MainTimer.cpp:75:22: style: The scope of the variable 'oS' 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) { int i = 0; @@ -93,79 +93,79 @@ When you see this message it is always safe to reduce the variable scope 1 level. [variableScope] static int oH,oM,oS; int cH,cM,cS; ^ -/home/denali/Public/luis/application/sources/canbus/MessageInterpreter.cpp:579:9: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] +/home/denali/Public/luis/application/sources/canbus/MessageInterpreter.cpp:575:9: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] LOG_APPED(QString("DG,CheckIn," + QVariant(vData).toStringList().join(','))); break; ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:310:10: style: The if condition is the same as the previous if condition [duplicateCondition] +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:303:10: style: The if condition is the same as the previous if condition [duplicateCondition] if ( ! ok ) { error = eError_OutFileExist; args = {{ _location }}; ok = false; goto lErr; } ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:306:10: note: First condition +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:299:10: note: First condition if ( ! ok ) { ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:310:10: note: Second condition +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:303:10: note: Second condition if ( ! ok ) { error = eError_OutFileExist; args = {{ _location }}; ok = false; goto lErr; } ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:557:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:550:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] buf += item.toString(); ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:339:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:332:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:657:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:650:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:712:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:705:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:721:51: style: Variable 'error' is assigned a value that is never used. [unreadVariable] +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:714:51: style: Variable 'error' is assigned a value that is never used. [unreadVariable] if ( isDuplicate(messageID, data) ) { error = eError_Duplicate; args = { messageID }; ok = false; return ok; } // TODO: goto lErr; } don't log it just ignore and return false. ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:721:76: style: Variable 'args' is assigned a value that is never used. [unreadVariable] +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:714:76: style: Variable 'args' is assigned a value that is never used. [unreadVariable] if ( isDuplicate(messageID, data) ) { error = eError_Duplicate; args = { messageID }; ok = false; return ok; } // TODO: goto lErr; } don't log it just ignore and return false. ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:743:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:736:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:807:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:800:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:844:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:837:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:891:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:884:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:1007:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:1000:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ -/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:1032:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] +/home/denali/Public/luis/application/sources/cloudsync/CloudSyncController.cpp:1025:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ -/home/denali/Public/luis/application/sources/device/DeviceController.cpp:801:18: style: Condition 'uploadOldestFirst' is always true [knownConditionTrueFalse] +/home/denali/Public/luis/application/sources/device/DeviceController.cpp:786:18: style: Condition 'uploadOldestFirst' is always true [knownConditionTrueFalse] if ( uploadOldestFirst ) { ^ -/home/denali/Public/luis/application/sources/device/DeviceController.cpp:797:34: note: Assignment 'uploadOldestFirst=true', assigned value is 1 +/home/denali/Public/luis/application/sources/device/DeviceController.cpp:782:34: note: Assignment 'uploadOldestFirst=true', assigned value is 1 bool uploadOldestFirst = true; //TODO: make if configurable(cfg, or cli) ^ -/home/denali/Public/luis/application/sources/device/DeviceController.cpp:801:18: note: Condition 'uploadOldestFirst' is always true +/home/denali/Public/luis/application/sources/device/DeviceController.cpp:786:18: note: Condition 'uploadOldestFirst' is always true if ( uploadOldestFirst ) { ^ -/home/denali/Public/luis/application/sources/device/DeviceController.cpp:686:8: style: Variable 'ok' is reassigned a value before the old one has been used. [redundantAssignment] +/home/denali/Public/luis/application/sources/device/DeviceController.cpp:671:8: style: Variable 'ok' is reassigned a value before the old one has been used. [redundantAssignment] ok = QFile::rename(fileSrc, fileDest); ^ -/home/denali/Public/luis/application/sources/device/DeviceController.cpp:684:12: note: ok is assigned +/home/denali/Public/luis/application/sources/device/DeviceController.cpp:669:12: note: ok is assigned ok = FileHandler::backupFile(vFileName); ^ -/home/denali/Public/luis/application/sources/device/DeviceController.cpp:686:8: note: ok is overwritten +/home/denali/Public/luis/application/sources/device/DeviceController.cpp:671:8: note: ok is overwritten ok = QFile::rename(fileSrc, fileDest); ^ -/home/denali/Public/luis/application/sources/device/DeviceController.cpp:568:41: style: Variable 'err' is assigned a value that is never used. [unreadVariable] +/home/denali/Public/luis/application/sources/device/DeviceController.cpp:553:41: style: Variable 'err' is assigned a value that is never used. [unreadVariable] DeviceError::Scripts_Error_Enum err = DeviceError::eDevice_OK; ^ -/home/denali/Public/luis/application/sources/device/DeviceController.cpp:745:21: style: Variable 'data.mCommand' is assigned a value that is never used. [unreadVariable] +/home/denali/Public/luis/application/sources/device/DeviceController.cpp:730:21: style: Variable 'data.mCommand' is assigned a value that is never used. [unreadVariable] data.mCommand = "mount"; ^ -/home/denali/Public/luis/application/sources/device/DeviceController.cpp:747:21: style: Variable 'data.mPassword' is assigned a value that is never used. [unreadVariable] +/home/denali/Public/luis/application/sources/device/DeviceController.cpp:732:21: style: Variable 'data.mPassword' is assigned a value that is never used. [unreadVariable] data.mPassword = encryption::configurationsPassword( ok ); ^ /home/denali/Public/luis/application/sources/device/DeviceModels.cpp:282:10: style: Condition '!ok' is always false [knownConditionTrueFalse] @@ -204,7 +204,7 @@ /home/denali/Public/luis/application/sources/model/dg/adjustment/settings/MDuetRoWaterDG.h:123:5: warning: Member variable 'MDuetRoWaterModeDGr::_data' is not initialized in the constructor. [uninitMemberVar] MDuetRoWaterModeDGr () { } ^ -/home/denali/Public/luis/application/sources/model/dg/data/MDGAccelerometerData.h:103:5: warning: Member variable 'MDGAccelerometer::_data' is not initialized in the constructor. [uninitMemberVar] +/home/denali/Public/luis/application/sources/model/dg/data/MDGAccelerometerData.h:99:5: warning: Member variable 'MDGAccelerometer::_data' is not initialized in the constructor. [uninitMemberVar] MDGAccelerometer () { } ^ /home/denali/Public/luis/application/sources/model/dg/data/MDGConductivityData.h:108:5: warning: Member variable 'MDGConductivityData::_data' is not initialized in the constructor. [uninitMemberVar] @@ -360,15 +360,12 @@ /home/denali/Public/luis/application/sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationStateResponse.h:78:5: warning: Member variable 'MAdjustUltrafiltrationStateResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustUltrafiltrationStateResponse() { } ^ -/home/denali/Public/luis/application/sources/model/hd/alarm/MAlarmActiveList.h:133:5: warning: Member variable 'MAlarmActiveListResponse::_data' is not initialized in the constructor. [uninitMemberVar] +/home/denali/Public/luis/application/sources/model/hd/alarm/MAlarmActiveList.h:130:5: warning: Member variable 'MAlarmActiveListResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAlarmActiveListResponse () { } ^ /home/denali/Public/luis/application/sources/model/hd/alarm/MAlarmCleared.h:72:5: warning: Member variable 'MAlarmCleared::_data' is not initialized in the constructor. [uninitMemberVar] MAlarmCleared () { } ^ -/home/denali/Public/luis/application/sources/model/hd/alarm/MAlarmClearedCondition.h:73:5: warning: Member variable 'MAlarmClearedCondition::_data' is not initialized in the constructor. [uninitMemberVar] - MAlarmClearedCondition () { } - ^ /home/denali/Public/luis/application/sources/model/hd/alarm/MAlarmStatusData.h:86:5: warning: Member variable 'MAlarmStatus::_data' is not initialized in the constructor. [uninitMemberVar] MAlarmStatus() { } ^ @@ -384,7 +381,7 @@ /home/denali/Public/luis/application/sources/model/hd/alarm/MAlarmTriggered.h:65:18: note: Function in derived class QVariantList parameters() const; ^ -/home/denali/Public/luis/application/sources/model/hd/data/MHDAccelerometerData.h:103:5: warning: Member variable 'MHDAccelerometer::_data' is not initialized in the constructor. [uninitMemberVar] +/home/denali/Public/luis/application/sources/model/hd/data/MHDAccelerometerData.h:99:5: warning: Member variable 'MHDAccelerometer::_data' is not initialized in the constructor. [uninitMemberVar] MHDAccelerometer () { } ^ /home/denali/Public/luis/application/sources/model/hd/data/MHDAirBubbleData.h:77:5: warning: Member variable 'MHDAirBubbleData::_data' is not initialized in the constructor. [uninitMemberVar] @@ -486,25 +483,25 @@ /home/denali/Public/luis/application/sources/model/settings/MSettings.cpp:91:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] if ( vKey == keyValue.key() ) return keyValue.val(); ^ -/home/denali/Public/luis/application/sources/storage/Logger.cpp:242:9: style: Condition 'vUseTempPath' is always false [knownConditionTrueFalse] +/home/denali/Public/luis/application/sources/storage/Logger.cpp:233:9: style: Condition 'vUseTempPath' is always false [knownConditionTrueFalse] if (vUseTempPath) { ^ -/home/denali/Public/luis/application/sources/storage/Logger.cpp:239:20: note: Assignment 'vUseTempPath=false', assigned value is 0 +/home/denali/Public/luis/application/sources/storage/Logger.cpp:230:20: note: Assignment 'vUseTempPath=false', assigned value is 0 vUseTempPath = false; ^ -/home/denali/Public/luis/application/sources/storage/Logger.cpp:242:9: note: Condition 'vUseTempPath' is always false +/home/denali/Public/luis/application/sources/storage/Logger.cpp:233:9: note: Condition 'vUseTempPath' is always false if (vUseTempPath) { ^ -/home/denali/Public/luis/application/sources/storage/Logger.cpp:262:10: style: Condition 'ok' is always true [knownConditionTrueFalse] +/home/denali/Public/luis/application/sources/storage/Logger.cpp:253:10: style: Condition 'ok' is always true [knownConditionTrueFalse] if ( ok && ! setLogPath(LogType::eLogAppED) ) ok = false; ^ -/home/denali/Public/luis/application/sources/storage/Logger.cpp:261:15: note: Assignment 'ok=true', assigned value is 1 +/home/denali/Public/luis/application/sources/storage/Logger.cpp:252:15: note: Assignment 'ok=true', assigned value is 1 bool ok = true; ^ -/home/denali/Public/luis/application/sources/storage/Logger.cpp:262:10: note: Condition 'ok' is always true +/home/denali/Public/luis/application/sources/storage/Logger.cpp:253:10: note: Condition 'ok' is always true if ( ok && ! setLogPath(LogType::eLogAppED) ) ok = false; ^ -/home/denali/Public/luis/application/sources/storage/Logger.cpp:200:17: style: The scope of the variable 'notified' 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: +/home/denali/Public/luis/application/sources/storage/Logger.cpp:191:17: style: The scope of the variable 'notified' 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) { int i = 0; @@ -567,9 +564,6 @@ /home/denali/Public/luis/application/sources/view/VTreatmentCreate.cpp:84:0: style: The function 'doCancel' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:95:0: style: The function 'doClearCondition' is never used. [unusedFunction] - -^ /home/denali/Public/luis/application/sources/view/VTreatmentCreate.cpp:73:0: style: The function 'doConfirm' is never used. [unusedFunction] ^ @@ -609,16 +603,16 @@ /home/denali/Public/luis/application/sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:147:0: style: The function 'doDisinfectROPermeate' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/gui/GuiView.cpp:258:0: style: The function 'doExportListInsert' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/gui/GuiView.cpp:239:0: style: The function 'doExportListInsert' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/gui/GuiView.cpp:301:0: style: The function 'doExportListPercent' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/gui/GuiView.cpp:282:0: style: The function 'doExportListPercent' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/gui/GuiView.cpp:289:0: style: The function 'doExportListSelect' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/gui/GuiView.cpp:270:0: style: The function 'doExportListSelect' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/gui/GuiView.cpp:421:0: style: The function 'doGenerateQRImage' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/gui/GuiView.cpp:402:0: style: The function 'doGenerateQRImage' is never used. [unusedFunction] ^ /home/denali/Public/luis/application/sources/view/VTreatmentCreate(legacy).cpp:539:0: style: The function 'doGetOperatingParameterValues' is never used. [unusedFunction] @@ -657,7 +651,7 @@ /home/denali/Public/luis/application/sources/view/hd/adjustment/pretreatment/VPreTreatmentAdjustmentInitTreatment.cpp:49:0: style: The function 'doInitiate' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/view/VEventSpy.cpp:149:0: style: The function 'doMouseReset' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/view/VEventSpy.cpp:142:0: style: The function 'doMouseReset' is never used. [unusedFunction] ^ /home/denali/Public/luis/application/sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustPatientDisconnectionConfirm.cpp:35:0: style: The function 'doNotify' is never used. [unusedFunction] @@ -693,7 +687,7 @@ /home/denali/Public/luis/application/sources/view/hd/adjustment/pretreatment/VPreTreatmentAdjustmentWaterSample.cpp:51:0: style: The function 'doSample' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:78:0: style: The function 'doSilence' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:75:0: style: The function 'doSilence' is never used. [unusedFunction] ^ /home/denali/Public/luis/application/sources/view/hd/adjustment/common/VCommonAdjustmentVitals.cpp:87:0: style: The function 'doSkip' is never used. [unusedFunction] @@ -702,22 +696,22 @@ /home/denali/Public/luis/application/sources/view/hd/adjustment/treatment/VTreatmentAdjustmentSaline.cpp:58:0: style: The function 'doStop' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/view/VEventSpy.cpp:192:0: style: The function 'doTouchReset' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/view/VEventSpy.cpp:181:0: style: The function 'doTouchReset' is never used. [unusedFunction] ^ /home/denali/Public/luis/application/sources/view/hd/adjustment/treatment/VTreatmentAdjustmentRecirculate.cpp:75:0: style: The function 'doTreatmentEnd' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:57:0: style: The function 'doUserActionEnd' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:54:0: style: The function 'doUserActionEnd' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:67:0: style: The function 'doUserActionOk' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:64:0: style: The function 'doUserActionOk' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:37:0: style: The function 'doUserActionResume' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:34:0: style: The function 'doUserActionResume' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:47:0: style: The function 'doUserActionRinseback' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:44:0: style: The function 'doUserActionRinseback' is never used. [unusedFunction] ^ /home/denali/Public/luis/application/sources/view/VTreatmentCreate.cpp:42:0: style: The function 'doValidation' is never used. [unusedFunction] @@ -735,10 +729,10 @@ /home/denali/Public/luis/application/sources/utility/qrcodegen.cpp:362:0: style: The function 'getVersion' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:205:0: style: The function 'instructionKeys' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:183:0: style: The function 'instructionKeys' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:206:0: style: The function 'instructionValues' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/view/hd/alarm/VAlarmStatus.cpp:184:0: style: The function 'instructionValues' is never used. [unusedFunction] ^ /home/denali/Public/luis/application/sources/view/settings/VSettings.cpp:237:0: style: The function 'isPasswordValid' is never used. [unusedFunction] @@ -753,13 +747,13 @@ /home/denali/Public/luis/application/sources/utility/qrcodegen.cpp:143:0: style: The function 'makeEci' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/bluetooth/BluetoothInterface.cpp:1209:0: style: The function 'mimic' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/bluetooth/BluetoothInterface.cpp:1201:0: style: The function 'mimic' is never used. [unusedFunction] ^ /home/denali/Public/luis/application/sources/utility/encryption.cpp:48:0: style: The function 'mkfsExt4' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/storage/FileHandler.cpp:162:0: style: The function 'moveFolder' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/storage/FileHandler.cpp:155:0: style: The function 'moveFolder' is never used. [unusedFunction] ^ /home/denali/Public/luis/application/sources/device/DeviceController.cpp:41:0: style: The function 'processUSBMountComplete' is never used. [unusedFunction] @@ -771,40 +765,40 @@ /home/denali/Public/luis/application/sources/device/DeviceController.cpp:41:0: style: The function 'processUSBMountReadyOut' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/storage/FileHandler.cpp:203:0: style: The function 'removeFiles' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/storage/FileHandler.cpp:190:0: style: The function 'removeFiles' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/bluetooth/BluetoothInterface.cpp:1289:0: style: The function 'requestBattery' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/bluetooth/BluetoothInterface.cpp:1281:0: style: The function 'requestBattery' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/bluetooth/BluetoothInterface.cpp:1276:0: style: The function 'requestInformation' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/bluetooth/BluetoothInterface.cpp:1268:0: style: The function 'requestInformation' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/bluetooth/BluetoothInterface.cpp:1257:0: style: The function 'requestMeasurements' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/bluetooth/BluetoothInterface.cpp:1249:0: style: The function 'requestMeasurements' is never used. [unusedFunction] ^ /home/denali/Public/luis/application/sources/view/settings/VBluetooth.cpp:79:0: style: The function 'roleNames' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/device/DeviceController.cpp:282:0: style: The function 'sdcardSpaceCheck' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/device/DeviceController.cpp:276:0: style: The function 'sdcardSpaceCheck' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/device/DeviceController.cpp:383:0: style: The function 'settingsPartitionSpaceCheck' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/device/DeviceController.cpp:377:0: style: The function 'settingsPartitionSpaceCheck' is never used. [unusedFunction] ^ /home/denali/Public/luis/application/sources/model/settings/MSettings.cpp:146:0: style: The function 'systemLanguage' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/MainTimer.cpp:137:0: style: The function 'timerEvent' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/MainTimer.cpp:131:0: style: The function 'timerEvent' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/storage/FileHandler.cpp:295:0: style: The function 'tmpUsable' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/storage/FileHandler.cpp:280:0: style: The function 'tmpUsable' is never used. [unusedFunction] ^ /home/denali/Public/luis/application/sources/view/settings/VSettings.cpp:303:0: style: The function 'updateServicePassword' is never used. [unusedFunction] ^ -/home/denali/Public/luis/application/sources/device/DeviceController.cpp:259:0: style: The function 'usbCheck' is never used. [unusedFunction] +/home/denali/Public/luis/application/sources/device/DeviceController.cpp:253:0: style: The function 'usbCheck' is never used. [unusedFunction] ^ nofile:0:0: 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. [missingInclude]