2024-03-25 21:26 ftp://ftp.de.debian.org/debian/pool/main/s/stax/stax_1.37.orig.tar.xz cppcheck-options: --library=posix --library=gnu --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j5 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.53 compiler: g++ (Debian 13.2.0-13) 13.2.0 cppcheck: head 2.13.0 head-info: d8e4914 (2024-03-25 20:39:31 +0100) count: 277 226 elapsed-time: 1.1 2.4 head-timing-info: old-timing-info: head results: commandline.cpp:32:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFX_AUTODETECT_WINDOWED [valueFlowBailoutIncompleteVar] graphics.cpp:100:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREEN_W [valueFlowBailoutIncompleteVar] graphics.cpp:132:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] stax.h:157:7: style: The function 'LeftPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:120:15: note: Virtual function in base class stax.h:157:7: note: Function in derived class stax.h:158:7: style: The function 'RightPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:121:15: note: Virtual function in base class stax.h:158:7: note: Function in derived class stax.h:159:7: style: The function 'UpPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:122:15: note: Virtual function in base class stax.h:159:7: note: Function in derived class stax.h:160:7: style: The function 'DownPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:123:15: note: Virtual function in base class stax.h:160:7: note: Function in derived class stax.h:161:7: style: The function 'ButtonPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:124:15: note: Virtual function in base class stax.h:161:7: note: Function in derived class stax.h:162:7: style: The function 'Update' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:136:15: note: Virtual function in base class stax.h:162:7: note: Function in derived class stax.h:166:7: style: The function 'LeftPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:120:15: note: Virtual function in base class stax.h:166:7: note: Function in derived class stax.h:167:7: style: The function 'RightPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:121:15: note: Virtual function in base class stax.h:167:7: note: Function in derived class stax.h:168:7: style: The function 'UpPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:122:15: note: Virtual function in base class stax.h:168:7: note: Function in derived class stax.h:169:7: style: The function 'DownPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:123:15: note: Virtual function in base class stax.h:169:7: note: Function in derived class stax.h:170:7: style: The function 'ButtonPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:124:15: note: Virtual function in base class stax.h:170:7: note: Function in derived class stax.h:171:7: style: The function 'Update' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:136:15: note: Virtual function in base class stax.h:171:7: note: Function in derived class stax.h:175:7: style: The function 'LeftPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:120:15: note: Virtual function in base class stax.h:175:7: note: Function in derived class stax.h:176:7: style: The function 'RightPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:121:15: note: Virtual function in base class stax.h:176:7: note: Function in derived class stax.h:177:7: style: The function 'UpPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:122:15: note: Virtual function in base class stax.h:177:7: note: Function in derived class stax.h:178:7: style: The function 'DownPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:123:15: note: Virtual function in base class stax.h:178:7: note: Function in derived class stax.h:179:7: style: The function 'ButtonPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:124:15: note: Virtual function in base class stax.h:179:7: note: Function in derived class stax.h:180:7: style: The function 'Update' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:136:15: note: Virtual function in base class stax.h:180:7: note: Function in derived class stax.h:184:7: style: The function 'LeftPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:120:15: note: Virtual function in base class stax.h:184:7: note: Function in derived class stax.h:185:7: style: The function 'RightPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:121:15: note: Virtual function in base class stax.h:185:7: note: Function in derived class stax.h:186:7: style: The function 'UpPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:122:15: note: Virtual function in base class stax.h:186:7: note: Function in derived class stax.h:187:7: style: The function 'DownPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:123:15: note: Virtual function in base class stax.h:187:7: note: Function in derived class stax.h:188:7: style: The function 'ButtonPressed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:124:15: note: Virtual function in base class stax.h:188:7: note: Function in derived class stax.h:189:7: style: The function 'Update' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:136:15: note: Virtual function in base class stax.h:189:7: note: Function in derived class data.cpp:141:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] graphics.cpp:46:37: style: Parameter 'block' can be declared as pointer to const [constParameterPointer] graphics.cpp:60:6: style: Unused variable: color [unusedVariable] configuration.cpp:39:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] configuration.cpp:52:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] configuration.cpp:274:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFX_AUTODETECT_FULLSCREEN [valueFlowBailoutIncompleteVar] configuration.cpp:562:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFX_AUTODETECT_WINDOWED [valueFlowBailoutIncompleteVar] configuration.cpp:653:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFX_AUTODETECT_WINDOWED [valueFlowBailoutIncompleteVar] input.cpp:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:30:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:35:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:40:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:45:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:57:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:174:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:187:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:200:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:213:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:226:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:246:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:259:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:272:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:285:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:298:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] input.cpp:318:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] input.cpp:331:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] input.cpp:344:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] input.cpp:357:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] input.cpp:370:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] input.cpp:389:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] input.cpp:402:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] input.cpp:415:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] input.cpp:428:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] input.cpp:441:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] input.cpp:62:24: style:inconclusive: Boolean expression '!joy[0].button[2].b' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] input.cpp:157:8: warning: Member variable 'Input::init_left_repeat' is not initialized in the constructor. [uninitMemberVar] input.cpp:157:8: warning: Member variable 'Input::init_right_repeat' is not initialized in the constructor. [uninitMemberVar] input.cpp:157:8: warning: Member variable 'Input::init_up_repeat' is not initialized in the constructor. [uninitMemberVar] input.cpp:157:8: warning: Member variable 'Input::init_down_repeat' is not initialized in the constructor. [uninitMemberVar] input.cpp:157:8: warning: Member variable 'Input::init_button_repeat' is not initialized in the constructor. [uninitMemberVar] stax.h:125:7: style:inconclusive: Technically the member function 'Input::LeftReady' can be const. [functionConst] input.cpp:69:13: note: Technically the member function 'Input::LeftReady' can be const. stax.h:125:7: note: Technically the member function 'Input::LeftReady' can be const. stax.h:126:7: style:inconclusive: Technically the member function 'Input::RightReady' can be const. [functionConst] input.cpp:74:13: note: Technically the member function 'Input::RightReady' can be const. stax.h:126:7: note: Technically the member function 'Input::RightReady' can be const. stax.h:127:7: style:inconclusive: Technically the member function 'Input::UpReady' can be const. [functionConst] input.cpp:79:13: note: Technically the member function 'Input::UpReady' can be const. stax.h:127:7: note: Technically the member function 'Input::UpReady' can be const. stax.h:128:7: style:inconclusive: Technically the member function 'Input::DownReady' can be const. [functionConst] input.cpp:84:13: note: Technically the member function 'Input::DownReady' can be const. stax.h:128:7: note: Technically the member function 'Input::DownReady' can be const. stax.h:129:7: style:inconclusive: Technically the member function 'Input::ButtonReady' can be const. [functionConst] input.cpp:89:13: note: Technically the member function 'Input::ButtonReady' can be const. stax.h:129:7: note: Technically the member function 'Input::ButtonReady' can be const. input.cpp:62:24: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] highscores.cpp:55:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] highscores.cpp:86:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] highscores.cpp:98:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] panel.cpp:63:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] panel.cpp:539:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] data.cpp:37:22: style: C-style pointer casting [cstyleCast] data.cpp:42:30: style: C-style pointer casting [cstyleCast] data.cpp:48:34: style: C-style pointer casting [cstyleCast] data.cpp:55:24: style: C-style pointer casting [cstyleCast] data.cpp:62:22: style: C-style pointer casting [cstyleCast] data.cpp:67:18: style: C-style pointer casting [cstyleCast] data.cpp:75:23: style: C-style pointer casting [cstyleCast] data.cpp:81:19: style: C-style pointer casting [cstyleCast] data.cpp:86:19: style: C-style pointer casting [cstyleCast] data.cpp:91:19: style: C-style pointer casting [cstyleCast] data.cpp:96:15: style: C-style pointer casting [cstyleCast] data.cpp:101:16: style: C-style pointer casting [cstyleCast] data.cpp:106:17: style: C-style pointer casting [cstyleCast] data.cpp:111:18: style: C-style pointer casting [cstyleCast] data.cpp:116:18: style: C-style pointer casting [cstyleCast] data.cpp:121:17: style: C-style pointer casting [cstyleCast] data.cpp:126:20: style: C-style pointer casting [cstyleCast] data.cpp:131:15: style: C-style pointer casting [cstyleCast] data.cpp:136:14: style: C-style pointer casting [cstyleCast] data.cpp:141:9: style: C-style pointer casting [cstyleCast] data.cpp:192:15: style: C-style pointer casting [cstyleCast] data.cpp:193:24: style: C-style pointer casting [cstyleCast] data.cpp:194:25: style: C-style pointer casting [cstyleCast] data.cpp:195:16: style: C-style pointer casting [cstyleCast] data.cpp:196:25: style: C-style pointer casting [cstyleCast] data.cpp:197:26: style: C-style pointer casting [cstyleCast] data.cpp:198:13: style: C-style pointer casting [cstyleCast] data.cpp:199:22: style: C-style pointer casting [cstyleCast] data.cpp:200:23: style: C-style pointer casting [cstyleCast] data.cpp:201:14: style: C-style pointer casting [cstyleCast] data.cpp:202:23: style: C-style pointer casting [cstyleCast] data.cpp:203:24: style: C-style pointer casting [cstyleCast] data.cpp:204:13: style: C-style pointer casting [cstyleCast] data.cpp:205:22: style: C-style pointer casting [cstyleCast] data.cpp:206:23: style: C-style pointer casting [cstyleCast] data.cpp:207:14: style: C-style pointer casting [cstyleCast] data.cpp:208:23: style: C-style pointer casting [cstyleCast] data.cpp:209:24: style: C-style pointer casting [cstyleCast] data.cpp:210:15: style: C-style pointer casting [cstyleCast] data.cpp:211:24: style: C-style pointer casting [cstyleCast] data.cpp:212:25: style: C-style pointer casting [cstyleCast] stax.h:381:12: style:inconclusive: Unhandled exception specification when calling function GUI_Go(). [unhandledExceptionSpecification] configuration.cpp:140:12: note: Unhandled exception specification when calling function GUI_Go(). stax.h:381:12: note: Unhandled exception specification when calling function GUI_Go(). stax.h:381:12: style:inconclusive: Unhandled exception specification when calling function GUI_Go(). [unhandledExceptionSpecification] configuration.cpp:197:9: note: Unhandled exception specification when calling function GUI_Go(). stax.h:381:12: note: Unhandled exception specification when calling function GUI_Go(). stax.h:381:12: style:inconclusive: Unhandled exception specification when calling function GUI_Go(). [unhandledExceptionSpecification] configuration.cpp:301:2: note: Unhandled exception specification when calling function GUI_Go(). stax.h:381:12: note: Unhandled exception specification when calling function GUI_Go(). stax.h:381:12: style:inconclusive: Unhandled exception specification when calling function GUI_Go(). [unhandledExceptionSpecification] configuration.cpp:459:2: note: Unhandled exception specification when calling function GUI_Go(). stax.h:381:12: note: Unhandled exception specification when calling function GUI_Go(). stax.h:381:12: style:inconclusive: Unhandled exception specification when calling function GUI_Go(). [unhandledExceptionSpecification] configuration.cpp:499:9: note: Unhandled exception specification when calling function GUI_Go(). stax.h:381:12: note: Unhandled exception specification when calling function GUI_Go(). configuration.cpp:531:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] configuration.cpp:125:66: style: C-style pointer casting [cstyleCast] configuration.cpp:127:66: style: C-style pointer casting [cstyleCast] configuration.cpp:129:67: style: C-style pointer casting [cstyleCast] configuration.cpp:182:67: style: C-style pointer casting [cstyleCast] configuration.cpp:184:67: style: C-style pointer casting [cstyleCast] configuration.cpp:258:65: style: C-style pointer casting [cstyleCast] configuration.cpp:260:66: style: C-style pointer casting [cstyleCast] configuration.cpp:262:67: style: C-style pointer casting [cstyleCast] configuration.cpp:429:65: style: C-style pointer casting [cstyleCast] configuration.cpp:431:65: style: C-style pointer casting [cstyleCast] configuration.cpp:76:8: style: The scope of the variable 'strings' can be reduced. [variableScope] configuration.cpp:91:8: style: The scope of the variable 'strings' can be reduced. [variableScope] configuration.cpp:106:8: style: The scope of the variable 'strings' can be reduced. [variableScope] configuration.cpp:149:8: style: The scope of the variable 'strings' can be reduced. [variableScope] configuration.cpp:164:8: style: The scope of the variable 'strings' can be reduced. [variableScope] configuration.cpp:210:8: style: The scope of the variable 'strings' can be reduced. [variableScope] configuration.cpp:225:8: style: The scope of the variable 'strings' can be reduced. [variableScope] configuration.cpp:240:8: style: The scope of the variable 'strings' can be reduced. [variableScope] configuration.cpp:28:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] configuration.cpp:47:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] configuration.cpp:140:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] shifty.cpp:62:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] stax.h:91:6: style:inconclusive: Technically the member function 'Panel::GetBottomHeight' can be const. [functionConst] panel.cpp:362:12: note: Technically the member function 'Panel::GetBottomHeight' can be const. stax.h:91:6: note: Technically the member function 'Panel::GetBottomHeight' can be const. stax.h:96:6: style:inconclusive: Technically the member function 'Panel::GetScore' can be const. [functionConst] panel.cpp:443:12: note: Technically the member function 'Panel::GetScore' can be const. stax.h:96:6: note: Technically the member function 'Panel::GetScore' can be const. panel.cpp:28:7: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:79:15: note: Virtual function in base class panel.cpp:28:7: note: Function in derived class panel.cpp:32:7: style: The function 'done' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:80:15: note: Virtual function in base class panel.cpp:32:7: note: Function in derived class panel.cpp:61:7: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:79:15: note: Virtual function in base class panel.cpp:61:7: note: Function in derived class panel.cpp:70:7: style: The function 'done' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] stax.h:80:15: note: Virtual function in base class panel.cpp:70:7: note: Function in derived class stax.h:97:7: style:inconclusive: Unhandled exception specification when calling function MoveBlocks(). [unhandledExceptionSpecification] shifty.cpp:74:16: note: Unhandled exception specification when calling function MoveBlocks(). stax.h:97:7: note: Unhandled exception specification when calling function MoveBlocks(). shifty.cpp:42:6: style:inconclusive: Same expression used in consecutive assignments of 'player1_row' and 'player2_row'. [duplicateAssignExpression] shifty.cpp:43:6: note: Same expression used in consecutive assignments of 'player1_row' and 'player2_row'. shifty.cpp:42:6: note: Same expression used in consecutive assignments of 'player1_row' and 'player2_row'. shifty.cpp:44:6: style: Same expression used in consecutive assignments of 'player1_col' and 'player2_col'. [duplicateAssignExpression] shifty.cpp:45:6: note: Same expression used in consecutive assignments of 'player1_col' and 'player2_col'. shifty.cpp:44:6: note: Same expression used in consecutive assignments of 'player1_col' and 'player2_col'. shifty.cpp:46:20: style: Variable 'bottom_height' is assigned a value that is never used. [unreadVariable] panel.cpp:487:37: style: Local variable 'it' shadows outer variable [shadowVariable] panel.cpp:455:31: note: Shadowed declaration panel.cpp:487:37: note: Shadow variable panel.cpp:194:30: style: Parameter 'blocks' can be declared as const array [constParameter] panel.cpp:203:94: style: Parameter 'block' can be declared as pointer to const [constParameterPointer] panel.cpp:215:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] panel.cpp:239:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] panel.cpp:456:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] panel.cpp:633:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] panel.cpp:649:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] springshot.cpp:67:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] stax.cpp:236:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] stax.cpp:290:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JOY_TYPE_AUTODETECT [valueFlowBailoutIncompleteVar] sucker.cpp:39:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] stax.cpp:209:6: style: Condition 'wave' is always true [knownConditionTrueFalse] stax.cpp:219:11: style: Condition '!wave' is always false [knownConditionTrueFalse] stax.h:381:12: style:inconclusive: Unhandled exception specification when calling function GUI_Go(). [unhandledExceptionSpecification] stax.cpp:254:12: note: Unhandled exception specification when calling function GUI_Go(). stax.h:381:12: note: Unhandled exception specification when calling function GUI_Go(). stax.h:97:7: style:inconclusive: Unhandled exception specification when calling function MoveBlocks(). [unhandledExceptionSpecification] springshot.cpp:69:16: note: Unhandled exception specification when calling function MoveBlocks(). stax.h:97:7: note: Unhandled exception specification when calling function MoveBlocks(). springshot.cpp:38:6: style: Same expression used in consecutive assignments of 'player1_column' and 'player2_column'. [duplicateAssignExpression] springshot.cpp:39:6: note: Same expression used in consecutive assignments of 'player1_column' and 'player2_column'. springshot.cpp:38:6: note: Same expression used in consecutive assignments of 'player1_column' and 'player2_column'. stax.h:97:7: style:inconclusive: Unhandled exception specification when calling function MoveBlocks(). [unhandledExceptionSpecification] sucker.cpp:41:16: note: Unhandled exception specification when calling function MoveBlocks(). stax.h:97:7: note: Unhandled exception specification when calling function MoveBlocks(). sucker.cpp:18:6: style: Same expression used in consecutive assignments of 'player1_column' and 'player2_column'. [duplicateAssignExpression] sucker.cpp:19:6: note: Same expression used in consecutive assignments of 'player1_column' and 'player2_column'. sucker.cpp:18:6: note: Same expression used in consecutive assignments of 'player1_column' and 'player2_column'. sucker.cpp:25:15: style: Variable 'sucking' is assigned a value that is never used. [unreadVariable] gui.cpp:282:111: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:350:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:417:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:448:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:489:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:635:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:855:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:896:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:967:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:987:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:1027:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:1125:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:1193:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:1236:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] gui.cpp:1266:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREEN_W [valueFlowBailoutIncompleteVar] gui.cpp:2012:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:2141:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:2189:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] gui.cpp:2249:30: style: Condition 'GUI_OUTER_BORDER_WIDTH%2' is always true [knownConditionTrueFalse] gui.cpp:2264:30: style: Condition 'GUI_INNER_BORDER_WIDTH%2' is always true [knownConditionTrueFalse] gui.cpp:456:12: style: C-style pointer casting [cstyleCast] gui.cpp:460:8: style: C-style pointer casting [cstyleCast] gui.cpp:501:12: style: C-style pointer casting [cstyleCast] gui.cpp:544:17: style: C-style pointer casting [cstyleCast] gui.cpp:550:17: style: C-style pointer casting [cstyleCast] gui.cpp:573:17: style: C-style pointer casting [cstyleCast] gui.cpp:588:17: style: C-style pointer casting [cstyleCast] gui.cpp:974:18: style: C-style pointer casting [cstyleCast] gui.cpp:977:18: style: C-style pointer casting [cstyleCast] gui.cpp:980:18: style: C-style pointer casting [cstyleCast] gui.cpp:1000:18: style: C-style pointer casting [cstyleCast] gui.cpp:1003:18: style: C-style pointer casting [cstyleCast] gui.cpp:1006:18: style: C-style pointer casting [cstyleCast] gui.cpp:1012:16: style: C-style pointer casting [cstyleCast] gui.cpp:1015:17: style: C-style pointer casting [cstyleCast] gui.cpp:1022:19: style: C-style pointer casting [cstyleCast] gui.cpp:1192:19: style: C-style pointer casting [cstyleCast] gui.cpp:1277:21: style: C-style pointer casting [cstyleCast] gui.cpp:1278:21: style: C-style pointer casting [cstyleCast] gui.cpp:1279:21: style: C-style pointer casting [cstyleCast] gui.cpp:1280:21: style: C-style pointer casting [cstyleCast] gui.cpp:1281:21: style: C-style pointer casting [cstyleCast] gui.cpp:1284:21: style: C-style pointer casting [cstyleCast] gui.cpp:1285:21: style: C-style pointer casting [cstyleCast] gui.cpp:1286:21: style: C-style pointer casting [cstyleCast] gui.cpp:1287:21: style: C-style pointer casting [cstyleCast] gui.cpp:1300:20: style: C-style pointer casting [cstyleCast] gui.cpp:1302:20: style: C-style pointer casting [cstyleCast] gui.cpp:1304:19: style: C-style pointer casting [cstyleCast] gui.cpp:1305:21: style: C-style pointer casting [cstyleCast] gui.cpp:1314:22: style: C-style pointer casting [cstyleCast] gui.cpp:1477:21: style: C-style pointer casting [cstyleCast] gui.cpp:1794:22: style: C-style pointer casting [cstyleCast] gui.cpp:1905:22: style: C-style pointer casting [cstyleCast] gui.cpp:1957:19: style: C-style pointer casting [cstyleCast] gui.cpp:1958:19: style: C-style pointer casting [cstyleCast] gui.cpp:1959:19: style: C-style pointer casting [cstyleCast] gui.cpp:1962:19: style: C-style pointer casting [cstyleCast] gui.cpp:1163:5: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] gui.cpp:1153:5: note: c is assigned gui.cpp:1163:5: note: c is overwritten gui.cpp:1163:5: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] gui.cpp:1156:5: note: c is assigned gui.cpp:1163:5: note: c is overwritten gui.cpp:1163:5: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] gui.cpp:1159:5: note: c is assigned gui.cpp:1163:5: note: c is overwritten gui.cpp:318:9: style: The scope of the variable 'f' can be reduced. [variableScope] gui.cpp:318:12: style: The scope of the variable 'l' can be reduced. [variableScope] gui.cpp:318:15: style: The scope of the variable 'i' can be reduced. [variableScope] gui.cpp:376:9: style: The scope of the variable 'f' can be reduced. [variableScope] gui.cpp:629:6: style: The scope of the variable 'w' can be reduced. [variableScope] gui.cpp:756:6: style: The scope of the variable 'prev' can be reduced. [variableScope] gui.cpp:824:9: style: The scope of the variable 'f' can be reduced. [variableScope] gui.cpp:824:12: style: The scope of the variable 'l' can be reduced. [variableScope] gui.cpp:824:18: style: The scope of the variable 'color' can be reduced. [variableScope] gui.cpp:1479:11: style: The scope of the variable 'inc' can be reduced. [variableScope] gui.cpp:1875:13: style: Local variable 'i' shadows outer variable [shadowVariable] gui.cpp:1271:6: note: Shadowed declaration gui.cpp:1875:13: note: Shadow variable gui.cpp:514:38: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] gui.cpp:544:12: style: Variable 'l' can be declared as pointer to const [constVariablePointer] gui.cpp:550:12: style: Variable 'l' can be declared as pointer to const [constVariablePointer] gui.cpp:573:12: style: Variable 'l' can be declared as pointer to const [constVariablePointer] gui.cpp:588:12: style: Variable 'l' can be declared as pointer to const [constVariablePointer] gui.cpp:715:38: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] gui.cpp:1015:12: style: Variable 'l' can be declared as pointer to const [constVariablePointer] gui.cpp:1477:16: style: Variable 'l' can be declared as pointer to const [constVariablePointer] gui.cpp:1794:17: style: Variable 'l' can be declared as pointer to const [constVariablePointer] gui.cpp:1905:17: style: Variable 'l' can be declared as pointer to const [constVariablePointer] gui.cpp:2088:11: style: Variable 'st' can be declared as pointer to const [constVariablePointer] gui.cpp:2078:26: error: Undefined behavior: Variable 'buf' is used as parameter and destination in sprintf(). [sprintfOverlappingData] gui.cpp:2084:28: error: Undefined behavior: Variable 'buf' is used as parameter and destination in sprintf(). [sprintfOverlappingData] gui.cpp:2090:26: error: Undefined behavior: Variable 'buf' is used as parameter and destination in sprintf(). [sprintfOverlappingData] gui.cpp:144:6: style: Unused variable: i [unusedVariable] gui.cpp:1479:15: style: Variable 'inc' is assigned a value that is never used. [unreadVariable] gui.cpp:1355:9: style: Unused variable: prev [unusedVariable] gui.cpp:2102:11: error: va_list 'list' was opened but not closed by va_end(). [va_end_missing] highscores.cpp:31:3: warning:inconclusive: The buffer 'filename' may not be null-terminated after the call to strncpy(). [terminateStrncpy] stax.h:381:12: style:inconclusive: Unhandled exception specification when calling function GUI_Go(). [unhandledExceptionSpecification] highscores.cpp:228:2: note: Unhandled exception specification when calling function GUI_Go(). stax.h:381:12: note: Unhandled exception specification when calling function GUI_Go(). stax.h:381:12: style:inconclusive: Unhandled exception specification when calling function GUI_Go(). [unhandledExceptionSpecification] highscores.cpp:308:9: note: Unhandled exception specification when calling function GUI_Go(). stax.h:381:12: note: Unhandled exception specification when calling function GUI_Go(). highscores.cpp:82:6: style: The scope of the variable 'c' can be reduced. [variableScope] highscores.cpp:178:7: style: Local variable 'buffer' shadows outer variable [shadowVariable] stax.h:305:16: note: Shadowed declaration highscores.cpp:178:7: note: Shadow variable highscores.cpp:277:8: style: Local variable 'buffer' shadows outer variable [shadowVariable] stax.h:305:16: note: Shadowed declaration highscores.cpp:277:8: note: Shadow variable highscores.cpp:28:8: style: Variable 'env' can be declared as pointer to const [constVariablePointer] highscores.cpp:106:26: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] highscores.cpp:123:27: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] highscores.cpp:277:19: style: Variable 'buffer' is assigned a value that is never used. [unreadVariable] diff: head configuration.cpp:274:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFX_AUTODETECT_FULLSCREEN [valueFlowBailoutIncompleteVar] head configuration.cpp:28:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] head configuration.cpp:52:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] head configuration.cpp:562:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFX_AUTODETECT_WINDOWED [valueFlowBailoutIncompleteVar] head configuration.cpp:653:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFX_AUTODETECT_WINDOWED [valueFlowBailoutIncompleteVar] head graphics.cpp:132:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:1027:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:1125:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:1193:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:1236:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] head gui.cpp:1266:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREEN_W [valueFlowBailoutIncompleteVar] 2.13.0 gui.cpp:1963:12: style: C-style pointer casting [cstyleCast] head gui.cpp:2012:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:2141:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:2189:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:350:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:417:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:448:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:489:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:635:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:855:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:896:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:967:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head gui.cpp:987:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font [valueFlowBailoutIncompleteVar] head highscores.cpp:86:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head highscores.cpp:98:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head input.cpp:174:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head input.cpp:187:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head input.cpp:200:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head input.cpp:213:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head input.cpp:226:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head input.cpp:246:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head input.cpp:259:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head input.cpp:272:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head input.cpp:285:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head input.cpp:298:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head input.cpp:30:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head input.cpp:318:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] head input.cpp:331:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] head input.cpp:344:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] head input.cpp:357:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] head input.cpp:35:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head input.cpp:370:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] head input.cpp:389:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] head input.cpp:402:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] head input.cpp:40:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head input.cpp:415:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] head input.cpp:428:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] head input.cpp:441:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joy [valueFlowBailoutIncompleteVar] head input.cpp:45:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head input.cpp:57:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head panel.cpp:539:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head stax.cpp:290:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JOY_TYPE_AUTODETECT [valueFlowBailoutIncompleteVar] DONE