Index: cppcheck.err =================================================================== diff -u -r1ce869e6f7dcbeee8a7ff945e436e7c3ac07331e -r365071735de19125835b4b35a784e31eaae81bf9 --- cppcheck.err (.../cppcheck.err) (revision 1ce869e6f7dcbeee8a7ff945e436e7c3ac07331e) +++ cppcheck.err (.../cppcheck.err) (revision 365071735de19125835b4b35a784e31eaae81bf9) @@ -40,11 +40,11 @@ } } When you see this message it is always safe to reduce the variable scope 1 level. -[sources/cloudsync/CloudSyncController.cpp:472] -> [sources/cloudsync/CloudSyncController.cpp:480]: (style) Variable 'ok' is reassigned a value before the old one has been used. -[sources/cloudsync/CloudSyncController.cpp:619] -> [sources/cloudsync/CloudSyncController.cpp:620]: (style) Variable 'ok' is reassigned a value before the old one has been used. -[sources/cloudsync/CloudSyncController.cpp:646] -> [sources/cloudsync/CloudSyncController.cpp:647]: (style) Variable 'ok' is reassigned a value before the old one has been used. -[sources/cloudsync/CloudSyncController.cpp:712] -> [sources/cloudsync/CloudSyncController.cpp:713]: (style) Variable 'ok' is reassigned a value before the old one has been used. -[sources/cloudsync/CloudSyncController.cpp:801] -> [sources/cloudsync/CloudSyncController.cpp:802]: (style) Variable 'ok' is reassigned a value before the old one has been used. +[sources/cloudsync/CloudSyncController.cpp:485] -> [sources/cloudsync/CloudSyncController.cpp:493]: (style) Variable 'ok' is reassigned a value before the old one has been used. +[sources/cloudsync/CloudSyncController.cpp:632] -> [sources/cloudsync/CloudSyncController.cpp:633]: (style) Variable 'ok' is reassigned a value before the old one has been used. +[sources/cloudsync/CloudSyncController.cpp:659] -> [sources/cloudsync/CloudSyncController.cpp:660]: (style) Variable 'ok' is reassigned a value before the old one has been used. +[sources/cloudsync/CloudSyncController.cpp:725] -> [sources/cloudsync/CloudSyncController.cpp:726]: (style) Variable 'ok' is reassigned a value before the old one has been used. +[sources/cloudsync/CloudSyncController.cpp:814] -> [sources/cloudsync/CloudSyncController.cpp:815]: (style) Variable 'ok' is reassigned a value before the old one has been used. [sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationEditResponse.h:67] -> [sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationConfirmResponse.h:61]: (warning) The class 'MAdjustUltrafiltrationEditResponse' defines member variable with name 'stringPrefix' also defined in its parent class 'MAdjustUltrafiltrationConfirmResponse'. [sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationEditResponse.h:79] -> [sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationConfirmResponse.h:79]: (warning) The class 'MAdjustUltrafiltrationEditResponse' defines member variable with name '_data' also defined in its parent class 'MAdjustUltrafiltrationConfirmResponse'. [sources/storage/Settings.h:44]: (style) Unused private function: 'Settings::makeSetting' @@ -59,7 +59,7 @@ [sources/view/VTreatmentCreate(legacy).cpp:539]: (style) The function 'doGetOperatingParameterValues' is never used. [sources/view/VTreatmentCreate(legacy).cpp:487]: (style) The function 'doGetPrescriptionParameterNames' is never used. [sources/view/VTreatmentCreate(legacy).cpp:504]: (style) The function 'doGetPrescriptionParameterValues' is never used. -[sources/view/settings/VDateTime.cpp:43]: (style) The function 'doInit' is never used. +[sources/view/settings/VDateTime.cpp:44]: (style) The function 'doInit' is never used. [sources/view/VEventSpy.cpp:147]: (style) The function 'doMouseReset' is never used. [sources/view/hd/adjustment/treatment/VTreatmentAdjustmentUltrafiltrationConfirm.cpp:66]: (style) The function 'doOptionDuration' is never used. [sources/view/hd/adjustment/treatment/VTreatmentAdjustmentRecirculate.cpp:51]: (style) The function 'doReconnect' is never used.