Index: cppcheck.err =================================================================== diff -u -r73225de0b0e518669ecb2306c37021ea304fbfd9 -r182e1a0f7de23f13ea130efedc7b3c8e413e3b7e --- cppcheck.err (.../cppcheck.err) (revision 73225de0b0e518669ecb2306c37021ea304fbfd9) +++ cppcheck.err (.../cppcheck.err) (revision 182e1a0f7de23f13ea130efedc7b3c8e413e3b7e) @@ -57,5 +57,6 @@ [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/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. Index: sources/model/hd/adjustment/MTreatmentAdjustSalineResponse.h =================================================================== diff -u -r2c9421bd6da03c7e0bd0bfa1f49fa95c2bd18a95 -r182e1a0f7de23f13ea130efedc7b3c8e413e3b7e --- sources/model/hd/adjustment/MTreatmentAdjustSalineResponse.h (.../MTreatmentAdjustSalineResponse.h) (revision 2c9421bd6da03c7e0bd0bfa1f49fa95c2bd18a95) +++ sources/model/hd/adjustment/MTreatmentAdjustSalineResponse.h (.../MTreatmentAdjustSalineResponse.h) (revision 182e1a0f7de23f13ea130efedc7b3c8e413e3b7e) @@ -39,6 +39,7 @@ * | #1:(U32) | \ref Data::mAccepted | * | #2:(U32) | \ref Data::mReason | * | #3:(U32) | \ref Data::mTarget | + * | #4:(U32) | \ref Data::mState | * * \sa Data * \sa MAdjustSalineReq : Saline Bolus Request Index: sources/model/hd/data/MTreatmentStatesData.h =================================================================== diff -u -r2c9421bd6da03c7e0bd0bfa1f49fa95c2bd18a95 -r182e1a0f7de23f13ea130efedc7b3c8e413e3b7e --- sources/model/hd/data/MTreatmentStatesData.h (.../MTreatmentStatesData.h) (revision 2c9421bd6da03c7e0bd0bfa1f49fa95c2bd18a95) +++ sources/model/hd/data/MTreatmentStatesData.h (.../MTreatmentStatesData.h) (revision 182e1a0f7de23f13ea130efedc7b3c8e413e3b7e) @@ -75,9 +75,9 @@ QString infoText () const override { return QString("TreatmentStates"); } struct Data { - quint32 mSubMode = 0; ///< Sub-Mode - Saline_Bolus_States + quint32 mSubMode = 0; ///< Sub-Mode - Treatment_States quint32 mUFState = 0; ///< UF State - UF_States - quint32 mSalineState = 0; ///< Saline State - Treatment_States + quint32 mSalineState = 0; ///< Saline State - Saline_Bolus_States }; MTreatmentStates() { }