2026-05-01 05:19 ftp://ftp.de.debian.org/debian/pool/main/b/biniax2/biniax2_1.30.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --library=opengl --library=motif --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 -j8 platform: Linux-6.18.15+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: 0fda84ef (2026-05-01 02:32:52 +0200) count: 107 107 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: desktop/cfg.c:57:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] desktop/snd.c:49:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUDIO_S16 [valueFlowBailoutIncompleteVar] desktop/snd.c:94:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_FALSE [valueFlowBailoutIncompleteVar] desktop/snd.c:116:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_FALSE [valueFlowBailoutIncompleteVar] desktop/snd.c:132:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_FALSE [valueFlowBailoutIncompleteVar] desktop/inp.c:42:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyUp [valueFlowBailoutIncompleteVar] desktop/inp.c:79:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyC [valueFlowBailoutIncompleteVar] desktop/sys.c:44:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] desktop/inp.c:161:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyLeft [valueFlowBailoutIncompleteVar] desktop/inp.c:172:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyRight [valueFlowBailoutIncompleteVar] desktop/inp.c:183:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyUp [valueFlowBailoutIncompleteVar] desktop/inp.c:194:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyDown [valueFlowBailoutIncompleteVar] desktop/inp.c:205:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyAltLeft [valueFlowBailoutIncompleteVar] desktop/inp.c:216:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyAltRight [valueFlowBailoutIncompleteVar] desktop/inp.c:227:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyAltUp [valueFlowBailoutIncompleteVar] desktop/inp.c:238:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyAltDown [valueFlowBailoutIncompleteVar] desktop/net.c:47:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_FALSE [valueFlowBailoutIncompleteVar] desktop/inp.c:249:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyA [valueFlowBailoutIncompleteVar] desktop/net.c:67:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_GAME [valueFlowBailoutIncompleteVar] desktop/inp.c:260:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyB [valueFlowBailoutIncompleteVar] desktop/net.c:81:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_INP [valueFlowBailoutIncompleteVar] desktop/inp.c:271:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyC [valueFlowBailoutIncompleteVar] desktop/net.c:95:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_GAME [valueFlowBailoutIncompleteVar] desktop/inp.c:282:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyPageUp [valueFlowBailoutIncompleteVar] desktop/net.c:109:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_INP [valueFlowBailoutIncompleteVar] desktop/inp.c:293:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyPageDown [valueFlowBailoutIncompleteVar] desktop/net.c:133:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cNetFlagByte [valueFlowBailoutIncompleteVar] desktop/inp.c:304:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyDel [valueFlowBailoutIncompleteVar] desktop/net.c:200:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cNetFlagByte [valueFlowBailoutIncompleteVar] desktop/inp.c:315:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyQuit [valueFlowBailoutIncompleteVar] desktop/inp.c:321:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable letter [valueFlowBailoutIncompleteVar] desktop/inp.c:332:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Inp [valueFlowBailoutIncompleteVar] desktop/sys.c:76:33: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] desktop/snd.c:92:21: style: Variable 'sndmask' is assigned a value that is never used. [unreadVariable] hof.c:105:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_FALSE [valueFlowBailoutIncompleteVar] hof.c:143:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_FALSE [valueFlowBailoutIncompleteVar] hof.c:173:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxHofNoKeyboard [valueFlowBailoutIncompleteVar] hof.c:278:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxHofNoKeyboard [valueFlowBailoutIncompleteVar] tut.c:52:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] tut.c:77:9: warning: Redundant code: Found unused member access. [constStatement] desktop/gfx.c:66:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] desktop/gfx.c:110:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] desktop/gfx.c:370:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxMaxAlpha [valueFlowBailoutIncompleteVar] desktop/gfx.c:430:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxOptionX [valueFlowBailoutIncompleteVar] desktop/gfx.c:481:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxHelpX [valueFlowBailoutIncompleteVar] desktop/gfx.c:506:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxStrLen [valueFlowBailoutIncompleteVar] desktop/gfx.c:575:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxFontSizeX [valueFlowBailoutIncompleteVar] desktop/gfx.c:599:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxFontSizeX [valueFlowBailoutIncompleteVar] desktop/gfx.c:626:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxFontSizeX [valueFlowBailoutIncompleteVar] desktop/gfx.c:636:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxJTextSpeed [valueFlowBailoutIncompleteVar] desktop/gfx.c:645:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_Extras [valueFlowBailoutIncompleteVar] desktop/gfx.c:658:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cRoadBeginnerScore [valueFlowBailoutIncompleteVar] desktop/gfx.c:751:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] desktop/gfx.c:771:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxMaxTextLine [valueFlowBailoutIncompleteVar] desktop/gfx.c:809:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] desktop/gfx.c:858:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] desktop/gfx.c:871:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] desktop/gfx.c:939:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] desktop/gfx.c:977:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] desktop/gfx.c:993:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] desktop/gfx.c:1019:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxMaxParticles [valueFlowBailoutIncompleteVar] desktop/gfx.c:1030:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxMaxParticles [valueFlowBailoutIncompleteVar] desktop/gfx.c:1053:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxMaxParticles [valueFlowBailoutIncompleteVar] desktop/gfx.c:1075:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cGfxMaxParticles [valueFlowBailoutIncompleteVar] biniax.c:92:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_FALSE [valueFlowBailoutIncompleteVar] biniax.c:261:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] biniax.c:391:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] biniax.c:446:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] biniax.c:457:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_FALSE [valueFlowBailoutIncompleteVar] biniax.c:496:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] biniax.c:514:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] biniax.c:532:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] biniax.c:550:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] biniax.c:594:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_FALSE [valueFlowBailoutIncompleteVar] biniax.c:616:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] biniax.c:627:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] biniax.c:1090:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_FALSE [valueFlowBailoutIncompleteVar] biniax.c:1150:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cSndFail [valueFlowBailoutIncompleteVar] biniax.c:1190:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_FALSE [valueFlowBailoutIncompleteVar] biniax.c:1246:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_FALSE [valueFlowBailoutIncompleteVar] biniax.c:1302:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNX_TRUE [valueFlowBailoutIncompleteVar] desktop/gfx.c:435:4: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] desktop/gfx.c:430:4: note: x is assigned desktop/gfx.c:435:4: note: x is overwritten desktop/gfx.c:513:4: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] desktop/gfx.c:508:4: note: x is assigned desktop/gfx.c:513:4: note: x is overwritten desktop/gfx.c:426:11: style: Variable 'ptrTxt' can be declared as pointer to const [constVariablePointer] desktop/gfx.c:428:10: style: Variable 'menuTitle' can be declared as const array [constVariable] desktop/gfx.c:479:8: style: Variable 'ptrTxt' can be declared as pointer to const [constVariablePointer] desktop/gfx.c:497:30: style: Parameter 'hof' can be declared as pointer to const [constParameterPointer] desktop/gfx.c:595:19: style: Variable 'sinuz' can be declared as const array [constVariable] desktop/gfx.c:760:29: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] desktop/gfx.c:854:55: style: Parameter 'box' can be declared as pointer to const [constParameterPointer] desktop/gfx.c:934:35: style: Parameter 'game' can be declared as pointer to const [constParameterPointer] desktop/gfx.c:481:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] desktop/gfx.c:598:9: style: Variable 'ppos.y' is assigned a value that is never used. [unreadVariable] biniax.c:275:22: style: Condition 'nearLine<0' is always false [knownConditionTrueFalse] biniax.c:272:30: note: Assignment 'nearLine=7-3', assigned value is 4 biniax.c:275:22: note: Condition 'nearLine<0' is always false biniax.c:97:2: style: Redundant assignment of 'argc' to itself. [selfAssignment] biniax.c:98:2: style: Redundant assignment of 'argv' to itself. [selfAssignment] biniax.c:264:15: style: Variable 'game->ingame' is reassigned a value before the old one has been used. [redundantAssignment] biniax.c:261:18: note: game->ingame is assigned biniax.c:264:15: note: game->ingame is overwritten biniax.c:584:32: style: Parameter 'game' can be declared as pointer to const [constParameterPointer] biniax.c:95:13: style: Variable 'mmenu' is assigned a value that is never used. [unreadVariable] biniax.c:356:16: style: Variable 'ofs' is assigned a value that is never used. [unreadVariable] biniax.c:389:15: style: Variable 'pl' is assigned a value that is never used. [unreadVariable] biniax.c:390:22: style: Variable 'endPlayer' is assigned a value that is never used. [unreadVariable] biniax.c:629:24: style: Variable 'startTime' is assigned a value that is never used. [unreadVariable] biniax.c:631:22: style: Variable 'flagTake' is assigned a value that is never used. [unreadVariable] biniax.c:632:22: style: Variable 'flagMove' is assigned a value that is never used. [unreadVariable] biniax.c:1088:22: style: Variable 'gfxoption' is assigned a value that is never used. [unreadVariable] biniax.c:1140:20: style: Variable 'virtKey' is assigned a value that is never used. [unreadVariable] diff: DONE