Skip to content

Instantly share code, notes, and snippets.

@and-semakin
Created December 1, 2019 11:27
Show Gist options
  • Save and-semakin/1eda3a5e9c84dc1180a0eb25fdfb5641 to your computer and use it in GitHub Desktop.
Save and-semakin/1eda3a5e9c84dc1180a0eb25fdfb5641 to your computer and use it in GitHub Desktop.
MyTetra experimental cppcheck report
~/g/mytetra_dev (experimental|✔) $ cppcheck --quiet --enable=all app
[app/src/controllers/attachTable/AttachTableController.cpp:404]: (style) Variable 'fromFileName' is assigned a value that is never used.
[app/src/controllers/recordTable/RecordTableController.cpp:794]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[app/src/controllers/shortcutSettings/ShortcutSettingsController.cpp:7]: (warning) Member variable 'ShortcutSettingsController::view' is not initialized in the constructor.
[app/src/controllers/shortcutSettings/ShortcutSettingsController.cpp:7]: (warning) Member variable 'ShortcutSettingsController::model' is not initialized in the constructor.
[app/src/libraries/DiskHelper.cpp:156] -> [app/src/libraries/DiskHelper.cpp:157]: (style) Condition 'result' is always false
[app/src/libraries/Downloader.cpp:24]: (performance) Variable 'saveDirectory' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/libraries/GlobalParameters.cpp:26]: (warning) Member variable 'GlobalParameters::pointTreeScreen' is not initialized in the constructor.
[app/src/libraries/GlobalParameters.cpp:26]: (warning) Member variable 'GlobalParameters::pointRecordTableScreen' is not initialized in the constructor.
[app/src/libraries/GlobalParameters.cpp:26]: (warning) Member variable 'GlobalParameters::pointFindScreen' is not initialized in the constructor.
[app/src/libraries/GlobalParameters.cpp:26]: (warning) Member variable 'GlobalParameters::pointMetaEditor' is not initialized in the constructor.
[app/src/libraries/GlobalParameters.cpp:26]: (warning) Member variable 'GlobalParameters::pointStatusBar' is not initialized in the constructor.
[app/src/libraries/GlobalParameters.cpp:26]: (warning) Member variable 'GlobalParameters::windowSwitcher' is not initialized in the constructor.
[app/src/libraries/TimerMonitoring.h:26] -> [app/src/libraries/PeriodicCheckBase.h:13]: (style) The function 'isStartEnabled' overrides a function in a base class but is not marked with a 'override' specifier.
[app/src/libraries/TimerMonitoring.h:27] -> [app/src/libraries/PeriodicCheckBase.h:14]: (style) The function 'timerEvent' overrides a function in a base class but is not marked with a 'override' specifier.
[app/src/libraries/TimerMonitoring.h:26] -> [app/src/libraries/PeriodicSyncro.h:13]: (style) The function 'isStartEnabled' overrides a function in a base class but is not marked with a 'override' specifier.
[app/src/libraries/TimerMonitoring.h:27] -> [app/src/libraries/PeriodicSyncro.h:14]: (style) The function 'timerEvent' overrides a function in a base class but is not marked with a 'override' specifier.
[app/src/libraries/TimerMonitoring.cpp:7]: (warning) Member variable 'TimerMonitoring::delay' is not initialized in the constructor.
[app/src/libraries/TimerMonitoring.cpp:7]: (warning) Member variable 'TimerMonitoring::timerId' is not initialized in the constructor.
[app/src/libraries/TrashMonitoring.cpp:12]: (warning) Member variable 'TrashMonitoring::dirSize' is not initialized in the constructor.
[app/src/libraries/crypt/Pbkdf2Qt.cpp:98]: (style) The scope of the variable 'r' can be reduced.
[app/src/libraries/crypt/RC5Simple.cpp:123]: (warning) Member variable 'RC5Simple::rc5_s' is not initialized in the constructor.
[app/src/libraries/crypt/RC5Simple.cpp:222] -> [app/src/libraries/crypt/RC5Simple.cpp:231]: (style) Local variable 'i' shadows outer variable
[app/src/libraries/crypt/RC5Simple.cpp:222] -> [app/src/libraries/crypt/RC5Simple.cpp:240]: (style) Local variable 'i' shadows outer variable
[app/src/libraries/crypt/RC5Simple.cpp:222] -> [app/src/libraries/crypt/RC5Simple.cpp:253]: (style) Local variable 'i' shadows outer variable
[app/src/libraries/qtSingleApplication/qtlockedfile.h:77]: (style) Class 'QtLockedFile' has a constructor with 1 argument that is not explicit.
[app/src/libraries/qtSingleApplication/qtlockedfile.cpp:93]: (performance) Variable 'wmutex' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/libraries/qtSingleApplication/qtlockedfile.cpp:94]: (performance) Variable 'rmutex' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/libraries/qtSingleApplication/qtlockedfile.cpp:110]: (performance) Variable 'wmutex' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/libraries/qtSingleApplication/qtlockedfile.cpp:111]: (performance) Variable 'rmutex' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/libraries/qtSingleApplication/qtlockedfile_win.cpp:69] -> [app/src/libraries/qtSingleApplication/qtlockedfile_win.cpp:70]: (style) Variable 'mutex' is reassigned a value before the old one has been used.
[app/src/libraries/qtSingleApplication/qtlockedfile_win.cpp:77] -> [app/src/libraries/qtSingleApplication/qtlockedfile_win.cpp:78]: (style) Variable 'mutex' is reassigned a value before the old one has been used.
[app/src/libraries/qtSingleApplication/qtsingleapplication.h:80]: (style) Class 'QtSingleApplication' has a constructor with 1 argument that is not explicit.
[app/src/libraries/qtSingleApplication5/qtlockedfile.h:72]: (style) Class 'QtLockedFile' has a constructor with 1 argument that is not explicit.
[app/src/libraries/qtSingleApplication5/qtlockedfile.cpp:86]: (performance) Variable 'wmutex' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/libraries/qtSingleApplication5/qtlockedfile.cpp:87]: (performance) Variable 'rmutex' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/libraries/qtSingleApplication5/qtlockedfile.cpp:103]: (performance) Variable 'wmutex' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/libraries/qtSingleApplication5/qtlockedfile.cpp:104]: (performance) Variable 'rmutex' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/libraries/qtSingleApplication5/qtlockedfile_win.cpp:63] -> [app/src/libraries/qtSingleApplication5/qtlockedfile_win.cpp:64]: (style) Variable 'mutex' is reassigned a value before the old one has been used.
[app/src/libraries/qtSingleApplication5/qtlockedfile_win.cpp:75] -> [app/src/libraries/qtSingleApplication5/qtlockedfile_win.cpp:76]: (style) Variable 'mutex' is reassigned a value before the old one has been used.
[app/src/libraries/qtSingleApplication5/qtsingleapplication.h:76]: (style) Class 'QtSingleApplication' has a constructor with 1 argument that is not explicit.
[app/src/libraries/wyedit/Editor.cpp:51]: (performance) Variable 'initDataConfigFileName' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/libraries/wyedit/EditorConfig.h:14]: (style) Class 'EditorConfig' has a constructor with 1 argument that is not explicit.
[app/src/libraries/wyedit/EditorAbsTableCell.h:17]: (style) Class 'EditorAbsTableCell' has a constructor with 1 argument that is not explicit.
[app/src/libraries/wyedit/EditorAbsTable.cpp:286] -> [app/src/libraries/wyedit/EditorAbsTable.cpp:310]: (style) Local variable 'i' shadows outer variable
[app/src/libraries/wyedit/EditorAbsTable.cpp:97]: (style) Variable 'cellEndPosition' is assigned a value that is never used.
[app/src/libraries/wyedit/EditorConfig.cpp:26]: (style) Variable 'file_name' is assigned a value that is never used.
[app/src/libraries/wyedit/EditorConfig.cpp:27]: (style) Variable 'file_dir' is assigned a value that is never used.
[app/src/libraries/wyedit/EditorCursorPositionDetector.cpp:13]: (warning) Member variable 'EditorCursorPositionDetector::textArea' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorTextArea.cpp:285]: (style) The scope of the variable 'analysePoint' can be reduced.
[app/src/libraries/wyedit/EditorTextArea.cpp:285]: (style) Variable 'analysePoint' is assigned a value that is never used.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::bold' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::italic' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::underline' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::strikeout' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::monospace' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::superscript' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::subscript' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::code' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::clear' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::textOnly' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::fixBreakSymbol' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::undo' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::redo' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::numericList' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::dotList' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::indentPlus' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::indentMinus' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::alignLeft' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::alignCenter' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::alignRight' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::alignWidth' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::settings' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::fontSelect' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::fontSize' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::fontColor' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::backgroundColor' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::reference' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::showHtml' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::findText' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::showFormatting' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::createTable' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::tableRemoveRow' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::tableRemoveCol' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::tableAddRow' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::tableAddCol' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::tableMergeCells' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::tableSplitCell' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::tableProperties' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::insertImageFromFile' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::insertHorizontalLine' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::mathExpression' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::expandEditArea' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::expandToolsLines' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::save' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::back' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::findInBase' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::showText' is not initialized in the constructor.
[app/src/libraries/wyedit/EditorToolBar.cpp:13]: (warning) Member variable 'EditorToolBar::toAttach' is not initialized in the constructor.
[app/src/libraries/wyedit/formatters/Formatter.cpp:8]: (warning) Member variable 'Formatter::editor' is not initialized in the constructor.
[app/src/libraries/wyedit/formatters/Formatter.cpp:8]: (warning) Member variable 'Formatter::editorConfig' is not initialized in the constructor.
[app/src/libraries/wyedit/formatters/Formatter.cpp:8]: (warning) Member variable 'Formatter::textArea' is not initialized in the constructor.
[app/src/libraries/wyedit/formatters/ImageFormatter.cpp:290] -> [app/src/libraries/wyedit/formatters/ImageFormatter.cpp:393]: (style) Local variable 'msgBox' shadows outer variable
[app/src/libraries/wyedit/formatters/TableFormatter.cpp:271]: (style) Variable 'pageWidthPix' is assigned a value that is never used.
[app/src/libraries/wyedit/formatters/TypefaceFormatter.cpp:1285] -> [app/src/libraries/wyedit/formatters/TypefaceFormatter.cpp:1286]: (style) Variable 'textCursor' is reassigned a value before the old one has been used.
[app/src/libraries/wyedit/formatters/TypefaceFormatter.cpp:1428] -> [app/src/libraries/wyedit/formatters/TypefaceFormatter.cpp:1441]: (style) Variable 'currentColor' is reassigned a value before the old one has been used.
[app/src/libraries/wyedit/formatters/TypefaceFormatter.cpp:371]: (style) Variable 'stopCursorPos' is assigned a value that is never used.
[app/src/libraries/wyedit/formatters/TypefaceFormatter.cpp:974]: (style) Variable 'stopCursorPos' is assigned a value that is never used.
[app/src/libraries/wyedit/mvc/controllers/editorToolbarSettings/EditorToolbarAvailableCommandsController.cpp:4]: (warning) Member variable 'EditorToolbarAvailableCommandsController::view' is not initialized in the constructor.
[app/src/libraries/wyedit/mvc/controllers/editorToolbarSettings/EditorToolbarAvailableCommandsController.cpp:4]: (warning) Member variable 'EditorToolbarAvailableCommandsController::model' is not initialized in the constructor.
[app/src/libraries/wyedit/mvc/controllers/editorToolbarSettings/EditorToolbarUsedCommandsController.cpp:7]: (warning) Member variable 'EditorToolbarUsedCommandsController::view' is not initialized in the constructor.
[app/src/libraries/wyedit/mvc/controllers/editorToolbarSettings/EditorToolbarUsedCommandsController.cpp:7]: (warning) Member variable 'EditorToolbarUsedCommandsController::model' is not initialized in the constructor.
[app/src/libraries/wyedit/mvc/controllers/editorToolbarSettings/EditorToolbarUsedCommandsController.cpp:10]: (performance) Variable 'tb' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/libraries/wyedit/mvc/models/editorToolbarSettings/EditorToolbarUsedCommandsModel.h:21]: (style) Class 'EditorToolbarUsedCommandsModel' has a constructor with 1 argument that is not explicit.
[app/src/libraries/wyedit/mvc/controllers/editorToolbarSettings/EditorToolbarUsedCommandsController.h:21]: (style) Class 'EditorToolbarUsedCommandsController' has a constructor with 1 argument that is not explicit.
[app/src/main.cpp:71] -> [app/src/main.h:88]: (style) Local variable 'pMainWindow' shadows outer variable
[app/src/main.cpp:668] -> [app/src/main.cpp:693]: (style) Local variable 'i' shadows outer variable
[app/src/models/actionLog/ActionLogModel.h:18]: (style) Class 'ActionLogModel' has a constructor with 1 argument that is not explicit.
[app/src/models/appConfig/AppConfig.cpp:14]: (warning) Member variable 'AppConfig::conf' is not initialized in the constructor.
[app/src/models/attachTable/Attach.h:22]: (style) Class 'Attach' has a constructor with 1 argument that is not explicit.
[app/src/models/attachTable/AttachTableData.h:19]: (style) Class 'AttachTableData' has a constructor with 1 argument that is not explicit.
[app/src/models/attachTable/AttachTableModel.h:37]: (style) Class 'AttachTableModel' has a constructor with 1 argument that is not explicit.
[app/src/models/dataBaseConfig/DataBaseConfig.cpp:24]: (warning) Member variable 'DataBaseConfig::conf' is not initialized in the constructor.
[app/src/models/recordTable/Record.cpp:30]: (performance) Variable 'fieldList' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/models/recordTable/Record.cpp:31]: (performance) Variable 'text' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/models/recordTable/Record.cpp:32]: (performance) Variable 'pictureFiles' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/models/recordTable/Record.cpp:33]: (performance) Variable 'attachTableData' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/models/shortcutSettings/ShortcutSettingsModel.cpp:9]: (performance) Variable 'copyShortcutManager' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/models/tree/KnowTreeModel.cpp:31]: (performance) Variable 'xmlFileName' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/models/tree/TreeItem.h:18]: (style) Class 'TreeItem' has a constructor with 1 argument that is not explicit.
[app/src/models/tree/KnowTreeModel.cpp:111]: (style) Condition 'updateSubVersionFrom1To2()==false' is always false
[app/src/models/tree/KnowTreeModel.cpp:1352]: (style) Condition 'isCrypt' is always false
[app/src/models/tree/KnowTreeModel.cpp:1358]: (style) Condition 'isCrypt' is always true
[app/src/models/tree/KnowTreeModel.cpp:1384]: (style) Condition 'isBlock' is always false
[app/src/models/tree/KnowTreeModel.cpp:1391]: (style) Condition 'isBlock' is always true
[app/src/models/tree/KnowTreeModel.cpp:823]: (style) C-style pointer casting
[app/src/models/tree/KnowTreeModel.cpp:839]: (style) C-style pointer casting
[app/src/models/tree/TreeItem.h:126]: (style) Unused private function: 'TreeItem::removeChildrenLink'
[app/src/models/tree/TreeItem.cpp:21]: (performance) Variable 'fieldsTable' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/models/tree/TreeModel.cpp:15]: (warning) Member variable 'TreeModel::rootItem' is not initialized in the constructor.
[app/src/views/actionLog/ActionLogView.cpp:16]: (warning) Member variable 'ActionLogView::controller' is not initialized in the constructor.
[app/src/views/appConfigWindow/ConfigPage.h:15] -> [app/src/views/appConfigWindow/AppConfigPage_Main.h:28]: (style) The function 'applyChanges' overrides a function in a base class but is not marked with a 'override' specifier.
[app/src/views/appConfigWindow/ConfigPage.h:15] -> [app/src/views/appConfigWindow/AppConfigPage_Crypt.h:23]: (style) The function 'applyChanges' overrides a function in a base class but is not marked with a 'override' specifier.
[app/src/views/appConfigWindow/ConfigPage.h:15] -> [app/src/views/appConfigWindow/AppConfigPage_Misc.h:20]: (style) The function 'applyChanges' overrides a function in a base class but is not marked with a 'override' specifier.
[app/src/views/appConfigWindow/ConfigPage.h:15] -> [app/src/views/appConfigWindow/AppConfigPage_Synchro.h:21]: (style) The function 'applyChanges' overrides a function in a base class but is not marked with a 'override' specifier.
[app/src/views/appConfigWindow/ConfigPage.h:15] -> [app/src/views/appConfigWindow/AppConfigPage_RecordTable.h:17]: (style) The function 'applyChanges' overrides a function in a base class but is not marked with a 'override' specifier.
[app/src/views/appConfigWindow/ConfigPage.h:15] -> [app/src/views/appConfigWindow/AppConfigPage_Attach.h:24]: (style) The function 'applyChanges' overrides a function in a base class but is not marked with a 'override' specifier.
[app/src/views/appConfigWindow/ConfigPage.h:15] -> [app/src/views/appConfigWindow/AppConfigPage_Keyboard.h:21]: (style) The function 'applyChanges' overrides a function in a base class but is not marked with a 'override' specifier.
[app/src/views/consoleEmulator/ExecuteCommand.cpp:19]: (warning) Member variable 'ExecuteCommand::process' is not initialized in the constructor.
[app/src/views/consoleEmulator/ExecuteCommand.cpp:19]: (warning) Member variable 'ExecuteCommand::isError' is not initialized in the constructor.
[app/src/views/consoleEmulator/ExecuteCommand.cpp:19]: (warning) Member variable 'ExecuteCommand::isManualClose' is not initialized in the constructor.
[app/src/views/consoleEmulator/ExecuteCommand.cpp:21]: (performance) Variable 'command' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/views/dialog/OverTextToolButton.cpp:9]: (performance) Variable 'overText' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/views/enterPassword/EnterPassword.cpp:22]: (performance) Variable 'password' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/views/enterPassword/EnterPassword.cpp:23]: (performance) Variable 'previousPassword' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/views/enterPassword/EnterPassword.h:22]: (style) Class 'EnterPassword' has a constructor with 1 argument that is not explicit.
[app/src/views/findInBaseScreen/FindScreen.cpp:632]: (style) The scope of the variable 'findFlag' can be reduced.
[app/src/views/findInBaseScreen/FindScreen.cpp:632]: (style) Variable 'findFlag' is assigned a value that is never used.
[app/src/views/mainWindow/MainWindow.cpp:510] -> [app/src/views/mainWindow/MainWindow.cpp:529]: (style) Local variable 'menu' shadows outer variable
[app/src/views/printPreview/PreviewView.h:13]: (style) Class 'PreviewView' has a constructor with 1 argument that is not explicit.
[app/src/views/recordTable/RecordTableView.cpp:198]: (style) Variable 'deselectRecord' is assigned a value that is never used.
[app/src/views/tree/TreeScreen.cpp:39]: (performance) Variable 'lastKnowTreeModifyDateTime' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/views/tree/TreeScreen.cpp:300]: (style) Redundant condition: cryptFlag=="1". 'A || (!A && B)' is equivalent to 'A || B'
[app/src/views/tree/TreeScreen.cpp:1130]: (style) C-style pointer casting
[app/src/views/tree/TreeScreen.cpp:1132]: (style) C-style pointer casting
[app/src/views/tree/TreeScreen.cpp:1436] -> [app/src/views/tree/TreeScreen.cpp:1456]: (style) Local variable 'i' shadows outer variable
[app/src/views/waitClock/WaitClock.cpp:12]: (performance) Variable 'kadr_00' is assigned in constructor body. Consider performing initialization in initialization list.
[app/src/libraries/crypt/Pbkdf2Qt.cpp:31]: (style) The function 'GetVersion' is never used.
[app/src/libraries/crypt/RC5Simple.cpp:699]: (style) The function 'RC5_DecryptFile' is never used.
[app/src/libraries/crypt/RC5Simple.cpp:684]: (style) The function 'RC5_EncryptFile' is never used.
[app/src/libraries/crypt/RC5Simple.cpp:857]: (style) The function 'RC5_GetErrorCode' is never used.
[app/src/libraries/crypt/RC5Simple.cpp:152]: (style) The function 'RC5_GetVersion' is never used.
[app/src/libraries/crypt/RC5Simple.cpp:863]: (style) The function 'RC5_LogPrint' is never used.
[app/src/libraries/crypt/RC5Simple.cpp:159]: (style) The function 'RC5_SetFormatVersionForce' is never used.
[app/src/libraries/qtSingleApplication/qtsingleapplication.cpp:307]: (style) The function 'activationWindow' is never used.
[app/src/libraries/WalkHistory.cpp:268]: (style) The function 'checkId' is never used.
[app/src/libraries/wyedit/formatters/TypefaceFormatter.cpp:574]: (style) The function 'clearBackgroundColorForSelection' is never used.
[app/src/views/consoleEmulator/ConsoleEmulator.cpp:102]: (style) The function 'clearConsoleOutput' is never used.
[app/src/views/consoleEmulator/ConsoleEmulator.cpp:126]: (style) The function 'closeEvent' is never used.
[app/src/controllers/recordTable/RecordTableController.cpp:370]: (style) The function 'convertIdToSourceIndex' is never used.
[app/src/controllers/recordTable/RecordTableController.cpp:419]: (style) The function 'convertProxyIndexToPos' is never used.
[app/src/controllers/recordTable/RecordTableController.cpp:467]: (style) The function 'convertProxyPosToSourcePos' is never used.
[app/src/controllers/recordTable/RecordTableController.cpp:429]: (style) The function 'convertSourceIndexToPos' is never used.
[app/src/controllers/recordTable/RecordTableController.cpp:449]: (style) The function 'convertSourceIndexToProxyIndex' is never used.
[app/src/models/recordTable/RecordTableData.cpp:528]: (style) The function 'deleteRecordById' is never used.
[app/src/views/tree/KnowTreeView.cpp:83]: (style) The function 'dragEnterEvent' is never used.
[app/src/views/tree/KnowTreeView.cpp:93]: (style) The function 'dragMoveEvent' is never used.
[app/src/views/tree/KnowTreeView.cpp:131]: (style) The function 'dropEvent' is never used.
[app/src/models/tree/TreeItem.cpp:80]: (style) The function 'fieldCount' is never used.
[app/src/views/mainWindow/MainWindow.cpp:613]: (style) The function 'fileNew' is never used.
[app/src/views/mainWindow/MainWindow.cpp:619]: (style) The function 'fileOpen' is never used.
[app/src/views/mainWindow/MainWindow.cpp:625]: (style) The function 'fileSave' is never used.
[app/src/views/mainWindow/MainWindow.cpp:631]: (style) The function 'fileSaveAs' is never used.
[app/src/libraries/ClipboardBranch.cpp:156]: (style) The function 'formats' is never used.
[app/src/libraries/wyedit/EditorToolBar.cpp:66]: (style) The function 'generateAction' is never used.
[app/src/libraries/Downloader.cpp:174]: (style) The function 'getAboutText' is never used.
[app/src/models/appConfig/AppConfig.cpp:754]: (style) The function 'getActionLogMaximumSize' is never used.
[app/src/libraries/wyedit/Editor.cpp:1534]: (style) The function 'getDirFileEmptyReaction' is never used.
[app/src/libraries/Downloader.cpp:217]: (style) The function 'getDiskFilesList' is never used.
[app/src/libraries/ShortcutManager.cpp:331]: (style) The function 'getExplanation' is never used.
[app/src/views/tree/TreeScreen.cpp:1572]: (style) The function 'getFirstSelectedItemIndex' is never used.
[app/src/models/recordTable/Record.cpp:852]: (style) The function 'getFullFileName' is never used.
[app/src/models/attachTable/AttachTableData.cpp:308]: (style) The function 'getFullInnerFileNameById' is never used.
[app/src/models/attachTable/AttachTableData.cpp:276]: (style) The function 'getInnerFileNameList' is never used.
[app/src/libraries/Downloader.cpp:180]: (style) The function 'getMemoryFiles' is never used.
[app/src/models/appConfig/AppConfig.cpp:949]: (style) The function 'getParameterTypeFromTable' is never used.
[app/src/models/appConfig/AppConfig.cpp:966]: (style) The function 'getParameterValueFromTable' is never used.
[app/src/libraries/ClipboardRecords.cpp:127]: (style) The function 'getRecordAttachTable' is never used.
[app/src/libraries/ClipboardRecords.cpp:114]: (style) The function 'getRecordFieldList' is never used.
[app/src/libraries/ClipboardRecords.cpp:140]: (style) The function 'getRecordPictureFiles' is never used.
[app/src/libraries/ClipboardRecords.cpp:101]: (style) The function 'getRecordText' is never used.
[app/src/libraries/Downloader.cpp:226]: (style) The function 'getReferencesList' is never used.
[app/src/libraries/wyedit/Editor.cpp:77]: (style) The function 'getVersion' is never used.
[app/src/models/appConfig/AppConfig.cpp:1749]: (style) The function 'get_parameter_table_35' is never used.
[app/src/libraries/wyedit/EditorTextArea.cpp:48]: (style) The function 'get_showformatting' is never used.
[app/src/main.cpp:552]: (style) The function 'htmlSpecialCharsDecode' is never used.
[app/src/libraries/ShortcutManager.cpp:421]: (style) The function 'initToolButton' is never used.
[app/src/libraries/wyedit/EditorTextArea.cpp:477]: (style) The function 'insertFromMimeData' is never used.
[app/src/models/tree/TreeItem.cpp:636]: (style) The function 'isDetached' is never used.
[app/src/libraries/qtSingleApplication/qtlockedfile.cpp:155]: (style) The function 'lockMode' is never used.
[app/src/main.cpp:74]: (style) The function 'logPrint' is never used.
[app/src/models/tree/TreeItem.cpp:363]: (style) The function 'removeAllChildren' is never used.
[app/src/models/tree/TreeItem.cpp:370]: (style) The function 'removeChildrenLink' is never used.
[app/src/models/appConfig/AppConfig.cpp:983]: (style) The function 'replaceParameterInTable' is never used.
[app/src/libraries/wyedit/formatters/TypefaceFormatter.cpp:858]: (style) The function 'replaceSpaceAndParagraphSeparatorToParagraphSeparator' is never used.
[app/src/libraries/wyedit/formatters/TypefaceFormatter.cpp:848]: (style) The function 'replaceTabs' is never used.
[app/src/libraries/ClipboardBranch.cpp:162]: (style) The function 'retrieveData' is never used.
[app/src/models/appConfig/AppConfig.cpp:761]: (style) The function 'setActionLogMaximumSize' is never used.
[app/src/libraries/qtSingleApplication/qtsingleapplication.cpp:291]: (style) The function 'setActivationWindow' is never used.
[app/src/models/recordTable/Record.cpp:414]: (style) The function 'setAttachTable' is never used.
[app/src/models/tree/TreeModel.cpp:378]: (style) The function 'setHeaderData' is never used.
[app/src/models/appConfig/AppConfig.cpp:674]: (style) The function 'setHideEditorTools' is never used.
[app/src/models/appConfig/AppConfig.cpp:648]: (style) The function 'setInterfaceMode' is never used.
[app/src/views/dialog/OverTextToolButton.cpp:13]: (style) The function 'setOverText' is never used.
[app/src/models/appConfig/AppConfig.cpp:850]: (style) The function 'setPreviewIconSize' is never used.
[app/src/models/attachTable/AttachTableData.cpp:101]: (style) The function 'setRelatedAttachTableModel' is never used.
[app/src/models/appConfig/AppConfig.cpp:634]: (style) The function 'setShowSplashScreen' is never used.
[app/src/models/appConfig/AppConfig.cpp:559]: (style) The function 'setUglyQssReplaceHeightForTableView' is never used.
[app/src/libraries/wyedit/indentslider/IndentSlider.cpp:67]: (style) The function 'set_indentline_height' is never used.
[app/src/libraries/wyedit/EditorAbsTable.cpp:41]: (style) The function 'set_table' is never used.
[app/src/libraries/WindowSwitcher.cpp:99]: (style) The function 'switchFromRecordToFindInBase' is never used.
[app/src/libraries/WindowSwitcher.cpp:123]: (style) The function 'switchFromRecordtableToFindInBase' is never used.
[app/src/libraries/WindowSwitcher.cpp:67]: (style) The function 'switchFromTreeToFindInBase' is never used.
[app/src/main.cpp:128]: (style) The function 'xmlNodeToString' is never used.
(information) Cppcheck cannot find all the include files (use --check-config for details)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment