2025-11-18 00:53 ftp://ftp.de.debian.org/debian/pool/main/k/knights/knights_25.04.2.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=kde --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j90 platform: Linux-6.8.0-87-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.18.0 head-info: d8b6e08 (2025-11-17 23:40:03 +0100) count: 173 170 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: knights-25.04.2/src/difficultydialog.cpp:39:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] knights-25.04.2/src/core/pos.cpp:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] knights-25.04.2/src/core/pos.cpp:47:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] knights-25.04.2/src/core/pos.cpp:53:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] knights-25.04.2/src/core/pos.cpp:57:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] knights-25.04.2/src/core/item.cpp:42:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Instant [valueFlowBailoutIncompleteVar] knights-25.04.2/src/core/item.cpp:69:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Instant [valueFlowBailoutIncompleteVar] knights-25.04.2/src/core/item.cpp:95:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Instant [valueFlowBailoutIncompleteVar] knights-25.04.2/src/clockwidget.cpp:64:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/localprotocol.cpp:18:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FullName [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/localprotocol.cpp:43:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pause [valueFlowBailoutIncompleteVar] knights-25.04.2/src/clock.cpp:61:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RepaintNone [valueFlowBailoutIncompleteVar] knights-25.04.2/src/clock.cpp:126:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transparent [valueFlowBailoutIncompleteVar] knights-25.04.2/src/clock.cpp:181:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Antialiasing [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/computerprotocol.cpp:28:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadWrite [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/computerprotocol.cpp:47:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable writeCheckMoves [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/computerprotocol.cpp:60:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.h:70:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] knights-25.04.2/src/externalcontrol.cpp:22:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/externalcontrol.cpp:28:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] knights-25.04.2/src/externalcontrol.cpp:29:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] knights-25.04.2/src/externalcontrol.cpp:30:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] knights-25.04.2/src/externalcontrol.cpp:31:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] knights-25.04.2/src/externalcontrol.cpp:32:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] knights-25.04.2/src/externalcontrol.cpp:33:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/chatwidget.cpp:35:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ui [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/chatwidget.cpp:48:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ui [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/chatwidget.cpp:55:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable End [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/chatwidget.cpp:88:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Normal [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/chatwidget.cpp:92:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_consoleMode [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/chatwidget.cpp:110:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buttonClicked [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/chatwidget.cpp:116:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_extraButtons [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/chatwidget.cpp:121:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_colors [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/chatwidget.cpp:126:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_colors [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/chatwidget.cpp:130:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_consoleMode [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/chatwidget.cpp:156:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_consoleMode [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.h:70:3: performance: Variable 'player' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] knights-25.04.2/src/proto/protocol.cpp:48:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/protocol.cpp:74:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/protocol.cpp:79:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Black [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/protocol.cpp:84:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_white [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/protocol.cpp:88:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_black [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/protocol.cpp:146:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoFeatures [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/seekgraph.cpp:22:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable white [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/seekgraph.cpp:69:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PointingHandCursor [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/seekgraph.cpp:97:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable black [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/seekgraph.cpp:119:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_dataRect [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/textprotocol.cpp:72:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/core/piece.cpp:139:18: style:inconclusive: Either there is a missing 'override', or the member function 'Knights::Piece::pieceType' can be const. [functionConst] knights-25.04.2/src/core/piece.h:43:12: note: Either there is a missing 'override', or the member function 'Knights::Piece::pieceType' can be const. knights-25.04.2/src/core/piece.cpp:139:18: note: Either there is a missing 'override', or the member function 'Knights::Piece::pieceType' can be const. knights-25.04.2/src/main.cpp:46:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KNIGHTS_VERSION_STRING [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/textprotocol.cpp:78:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/core/piece.cpp:135:14: style:inconclusive: Either there is a missing 'override', or the member function 'Knights::Piece::color' can be const. [functionConst] knights-25.04.2/src/core/piece.h:45:8: note: Either there is a missing 'override', or the member function 'Knights::Piece::color' can be const. knights-25.04.2/src/core/piece.cpp:135:14: note: Either there is a missing 'override', or the member function 'Knights::Piece::color' can be const. knights-25.04.2/src/proto/uciprotocol.cpp:23:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mProcess [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/uciprotocol.cpp:32:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GameOver [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/uciprotocol.cpp:43:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GreetMessage [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/uciprotocol.cpp:85:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsdialog.cpp:22:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ui [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/uciprotocol.cpp:118:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsdialog.cpp:54:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ui [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsdialog.cpp:80:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverName [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsdialog.cpp:90:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_gameId [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsdialog.cpp:116:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_challengeId [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsdialog.cpp:128:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_challengeId [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsdialog.cpp:134:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_challengeId [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsdialog.cpp:143:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsdialog.cpp:196:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverName [valueFlowBailoutIncompleteVar] knights-25.04.2/src/historywidget.cpp:24:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SelectItems [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/xboardprotocol.cpp:53:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GameOver [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/xboardprotocol.cpp:57:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mProcess [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/xboardprotocol.cpp:65:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/xboardprotocol.cpp:81:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/xboardprotocol.cpp:121:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GreetMessage [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/xboardprotocol.cpp:182:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/xboardprotocol.cpp:265:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_resumePending [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/chatwidget.cpp:17:2: style: Class 'ScrollBarPin' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] knights-25.04.2/src/core/move.cpp:286:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/enginesettings.cpp:211:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ItemIsEditable [valueFlowBailoutIncompleteVar] knights-25.04.2/src/knightsview.cpp:123:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/uciprotocol.cpp:104:21: style: Local variable 'move' shadows outer function [shadowFunction] knights-25.04.2/src/proto/uciprotocol.h:29:7: note: Shadowed declaration knights-25.04.2/src/proto/uciprotocol.cpp:104:21: note: Shadow variable knights-25.04.2/src/rules/chessrules.h:41:2: debug: SymbolDatabase couldn't resolve all user defined types. [debug] knights-25.04.2/src/enginesettings.cpp:247:12: style: Variable 'w' can be declared as pointer to const [constVariablePointer] knights-25.04.2/src/core/move.cpp:328:13: style:inconclusive: Technically the member function 'Knights::Move::time' can be const. [functionConst] knights-25.04.2/src/core/move.h:113:8: note: Technically the member function 'Knights::Move::time' can be const. knights-25.04.2/src/core/move.cpp:328:13: note: Technically the member function 'Knights::Move::time' can be const. knights-25.04.2/src/proto/ficsprotocol.cpp:101:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TimeLimit [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsprotocol.cpp:113:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_stage [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsprotocol.cpp:142:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConsoleToolWidget [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsprotocol.cpp:168:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable otherPlayerName [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsprotocol.cpp:183:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_widget [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsprotocol.cpp:247:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeneralMessage [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsprotocol.cpp:452:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsprotocol.cpp:462:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_seeking [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsprotocol.cpp:467:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_seeking [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsprotocol.cpp:475:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserCancelled [valueFlowBailoutIncompleteVar] knights-25.04.2/src/proto/ficsprotocol.cpp:479:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_seeking [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamedialog.cpp:59:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamedialog.cpp:155:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamedialog.cpp:226:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Local [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamedialog.cpp:299:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamedialog.cpp:309:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamedialog.cpp:331:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SkipEmptyParts [valueFlowBailoutIncompleteVar] knights-25.04.2/src/core/move.cpp:294:14: style: Local variable 'additionalMoves' shadows outer function [shadowFunction] knights-25.04.2/src/core/move.h:94:21: note: Shadowed declaration knights-25.04.2/src/core/move.cpp:294:14: note: Shadow variable knights-25.04.2/src/core/move.cpp:101:20: performance: Function parameter 'string' should be passed by const reference. [passedByValue] knights-25.04.2/src/rules/chessrules.cpp:22:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:64:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Black [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:108:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kingPos [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:117:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable directions [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:172:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_grid [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:220:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AllDirections [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:238:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_grid [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:253:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_grid [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:259:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_grid [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:276:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:386:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable directions [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:413:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:460:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoType [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:470:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueenSide [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:505:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:647:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable King [valueFlowBailoutIncompleteVar] knights-25.04.2/src/rules/chessrules.cpp:656:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rook [valueFlowBailoutIncompleteVar] knights-25.04.2/src/board.cpp:106:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Instant [valueFlowBailoutIncompleteVar] knights-25.04.2/src/board.cpp:113:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/board.cpp:180:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] knights-25.04.2/src/board.cpp:186:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/board.cpp:258:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LeftButton [valueFlowBailoutIncompleteVar] knights-25.04.2/src/board.cpp:582:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamedialog.cpp:331:24: style: Variable 'l' is assigned a value that is never used. [unreadVariable] knights-25.04.2/src/gamedialog.cpp:331:22: style: Variable 'l' is assigned a value that is never used. [unreadVariable] knights-25.04.2/src/gamemanager.cpp:118:117: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LocateDirectory [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:140:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable instance [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:195:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Black [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:226:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:281:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:300:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:315:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:328:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:391:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:405:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:484:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:513:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:551:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable player [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:591:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:624:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Castle [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:716:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:755:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:761:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:811:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:863:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] knights-25.04.2/src/knights.cpp:86:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pause [valueFlowBailoutIncompleteVar] knights-25.04.2/src/knights.cpp:151:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DockWidgetMovable [valueFlowBailoutIncompleteVar] knights-25.04.2/src/knights.cpp:185:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] knights-25.04.2/src/knights.cpp:272:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Accepted [valueFlowBailoutIncompleteVar] knights-25.04.2/src/knights.cpp:325:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/knights.cpp:464:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable settingsChanged [valueFlowBailoutIncompleteVar] knights-25.04.2/src/knights.cpp:492:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PrimaryAction [valueFlowBailoutIncompleteVar] knights-25.04.2/src/knights.cpp:499:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pause [valueFlowBailoutIncompleteVar] knights-25.04.2/src/knights.cpp:510:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pause [valueFlowBailoutIncompleteVar] knights-25.04.2/src/knights.cpp:522:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_KNIGHTS [valueFlowBailoutIncompleteVar] knights-25.04.2/src/knights.cpp:647:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PrimaryAction [valueFlowBailoutIncompleteVar] knights-25.04.2/src/knights.cpp:674:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] knights-25.04.2/src/gamemanager.cpp:103:21: warning: Member variable 'GameManagerPrivate::whiteTimeControl' is not initialized in the constructor. [uninitMemberVar] knights-25.04.2/src/gamemanager.cpp:103:21: warning: Member variable 'GameManagerPrivate::blackTimeControl' is not initialized in the constructor. [uninitMemberVar] knights-25.04.2/src/gamemanager.cpp:127:16: warning: Class 'GameManagerPrivate' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] knights-25.04.2/src/gamemanager.cpp:127:16: warning: Class 'GameManagerPrivate' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] knights-25.04.2/src/rules/chessrules.cpp:28:13: style: Local variable 'dirs' shadows outer variable [shadowVariable] knights-25.04.2/src/rules/chessrules.cpp:27:36: note: Shadowed declaration knights-25.04.2/src/rules/chessrules.cpp:28:13: note: Shadow variable knights-25.04.2/src/rules/chessrules.cpp:322:10: style: Local variable 'p' shadows outer variable [shadowVariable] knights-25.04.2/src/rules/chessrules.cpp:293:9: note: Shadowed declaration knights-25.04.2/src/rules/chessrules.cpp:322:10: note: Shadow variable knights-25.04.2/src/rules/chessrules.cpp:346:12: style: Local variable 'p' shadows outer variable [shadowVariable] knights-25.04.2/src/rules/chessrules.cpp:293:9: note: Shadowed declaration knights-25.04.2/src/rules/chessrules.cpp:346:12: note: Shadow variable knights-25.04.2/src/rules/chessrules.cpp:371:10: style: Local variable 'p' shadows outer variable [shadowVariable] knights-25.04.2/src/rules/chessrules.cpp:293:9: note: Shadowed declaration knights-25.04.2/src/rules/chessrules.cpp:371:10: note: Shadow variable knights-25.04.2/src/rules/chessrules.cpp:648:2: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] knights-25.04.2/src/rules/chessrules.cpp:658:2: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] knights-25.04.2/src/rules/chessrules.cpp:27:43: style: Variable 'dirs' is assigned a value that is never used. [unreadVariable] knights-25.04.2/src/proto/ficsprotocol.cpp:411:12: style: Local variable 'type' shadows outer variable [shadowVariable] knights-25.04.2/src/proto/ficsprotocol.cpp:247:26: note: Shadowed declaration knights-25.04.2/src/proto/ficsprotocol.cpp:411:12: note: Shadow variable knights-25.04.2/src/gamemanager.cpp:626:14: style: Variable 'toSpeak' is assigned a value that is never used. [unreadVariable] knights-25.04.2/src/gamemanager.cpp:629:14: style: Variable 'toSpeak' is assigned a value that is never used. [unreadVariable] knights-25.04.2/src/gamemanager.cpp:633:13: style: Variable 'toSpeak' is assigned a value that is never used. [unreadVariable] diff: head knights-25.04.2/src/enginesettings.cpp:247:12: style: Variable 'w' can be declared as pointer to const [constVariablePointer] head knights-25.04.2/src/gamemanager.cpp:127:16: warning: Class 'GameManagerPrivate' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head knights-25.04.2/src/gamemanager.cpp:127:16: warning: Class 'GameManagerPrivate' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] DONE