2025-11-24 21:09 ftp://ftp.de.debian.org/debian/pool/main/x/xwelltris/xwelltris_1.0.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 340 339 elapsed-time: 5.2 5.7 head-timing-info: old-timing-info: head results: xwelltris-1.0.1/src/commonfuncs.cxx:30:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/geometry.cxx:185:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geo [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/accel.c:93:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TrueColor [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/commonfuncs.cxx:25:36: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xwelltris-1.0.1/src/commonfuncs.cxx:29:11: style: Variable 'home' can be declared as pointer to const [constVariablePointer] xwelltris-1.0.1/src/geometry.cxx:182:28: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xwelltris-1.0.1/src/image/jpeg.c:155:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/jpeg.c:148:21: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] xwelltris-1.0.1/src/image/sublib/SDL_error.c:51:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/image.cxx:76:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PseudoColor [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/image.cxx:97:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PseudoColor [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/image.cxx:339:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XColor [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/image.cxx:358:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TrueColor [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/image.cxx:386:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TrueColor [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/image.cxx:430:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/image.cxx:501:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/image.cxx:567:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/image.cxx:594:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DirectColor [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/image.cxx:777:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/convert.cxx:220:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/image.cxx:464:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xwelltris-1.0.1/src/image/image.cxx:464:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xwelltris-1.0.1/src/image/image.cxx:464:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xwelltris-1.0.1/src/image/image.cxx:339:29: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/image/image.cxx:727:13: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/image/image.cxx:755:13: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/image/image.cxx:356:52: style: The scope of the variable 'D' can be reduced. [variableScope] xwelltris-1.0.1/src/image/image.cxx:554:8: style: The scope of the variable 'i' can be reduced. [variableScope] xwelltris-1.0.1/src/image/image.cxx:554:10: style: The scope of the variable 'j' can be reduced. [variableScope] xwelltris-1.0.1/src/image/image.cxx:554:12: style: The scope of the variable 'i3' can be reduced. [variableScope] xwelltris-1.0.1/src/image/image.cxx:554:15: style: The scope of the variable 'i2' can be reduced. [variableScope] xwelltris-1.0.1/src/image/image.cxx:588:8: style: The scope of the variable 'j' can be reduced. [variableScope] xwelltris-1.0.1/src/image/image.cxx:588:10: style: The scope of the variable 'l' can be reduced. [variableScope] xwelltris-1.0.1/src/image/image.cxx:589:8: style: The scope of the variable 'mask' can be reduced. [variableScope] xwelltris-1.0.1/src/image/image.cxx:591:6: style: The scope of the variable 'ind' can be reduced. [variableScope] xwelltris-1.0.1/src/image/image.cxx:771:8: style: The scope of the variable 'mask' can be reduced. [variableScope] xwelltris-1.0.1/src/image/image.cxx:772:8: style: Local variable 'trans' shadows outer variable [shadowVariable] xwelltris-1.0.1/src/image/image.cxx:31:7: note: Shadowed declaration xwelltris-1.0.1/src/image/image.cxx:772:8: note: Shadow variable xwelltris-1.0.1/src/image/image.cxx:841:9: style: Local variable 'im' shadows outer variable [shadowVariable] xwelltris-1.0.1/src/image/image.cxx:30:9: note: Shadowed declaration xwelltris-1.0.1/src/image/image.cxx:841:9: note: Shadow variable xwelltris-1.0.1/src/image/image.cxx:862:9: style: Local variable 'im' shadows outer variable [shadowVariable] xwelltris-1.0.1/src/image/image.cxx:30:9: note: Shadowed declaration xwelltris-1.0.1/src/image/image.cxx:862:9: note: Shadow variable xwelltris-1.0.1/src/image/image.cxx:54:33: style: Parameter 'pt' can be declared as pointer to const [constParameterPointer] xwelltris-1.0.1/src/image/image.cxx:85:51: style: Parameter 'pt' can be declared as pointer to const [constParameterPointer] xwelltris-1.0.1/src/image/image.cxx:354:35: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] xwelltris-1.0.1/src/image/image.cxx:382:36: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] xwelltris-1.0.1/src/image/image.cxx:499:22: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] xwelltris-1.0.1/src/image/image.cxx:823:10: style: Variable 'ltrans' can be declared as pointer to const [constVariablePointer] xwelltris-1.0.1/src/image/image.cxx:789:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] xwelltris-1.0.1/src/image/image.cxx:356:17: style: Unused variable: weight [unusedVariable] xwelltris-1.0.1/src/image/image.cxx:713:7: style: Variable 'l' is assigned a value that is never used. [unreadVariable] xwelltris-1.0.1/src/image/image.cxx:745:11: style: Variable 'mask' is assigned a value that is never used. [unreadVariable] xwelltris-1.0.1/src/image/image.cxx:795:5: style: Variable 'l' is assigned a value that is never used. [unreadVariable] xwelltris-1.0.1/src/image/sublib/SDL_to_picinfo.c:15:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIC8 [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/sublib/IMG_gif.c:269:61: style:inconclusive: Function 'ReadColorMap' argument 4 names different: declaration 'flag' definition 'gray'. [funcArgNamesDifferent] xwelltris-1.0.1/src/image/sublib/IMG_gif.c:141:51: note: Function 'ReadColorMap' argument 4 names different: declaration 'flag' definition 'gray'. xwelltris-1.0.1/src/image/sublib/IMG_gif.c:269:61: note: Function 'ReadColorMap' argument 4 names different: declaration 'flag' definition 'gray'. xwelltris-1.0.1/src/main.cxx:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_well_engine [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/sublib/IMG_gif.c:275:10: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] xwelltris-1.0.1/src/image/sublib/IMG_gif.c:285:7: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] xwelltris-1.0.1/src/image/sublib/IMG_gif.c:308:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] xwelltris-1.0.1/src/image/sublib/IMG_gif.c:311:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] xwelltris-1.0.1/src/image/sublib/IMG_gif.c:314:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] xwelltris-1.0.1/src/image/sublib/IMG_gif.c:318:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] xwelltris-1.0.1/src/mydebug.c:26:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/sublib/SDL_surface.c:278:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] xwelltris-1.0.1/src/sdl/sdlwelldrawing.cxx:35:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_well_engine [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwelldrawing.cxx:55:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GridColor [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwelldrawing.cxx:88:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_id [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwelldrawing.cxx:156:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_id [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwelldrawing.cxx:244:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_id [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwelldrawing.cxx:315:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BackColor [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwelldrawing.cxx:332:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwelldrawing.cxx:402:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwelldrawing.cxx:434:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIGHT [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwelldrawing.cxx:577:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imNone [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/sublib/SDL_surface.c:326:34: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] xwelltris-1.0.1/src/image/sublib/SDL_surface.c:278:8: style: Variable 'flags' is assigned a value that is never used. [unreadVariable] xwelltris-1.0.1/src/sdl/sdlwellengine.cxx:123:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellengine.cxx:151:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_ANYFORMAT [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellengine.cxx:176:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eKeyPress [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellengine.cxx:192:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eKeyPress [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellengine.cxx:205:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable done_loop_var [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellengine.cxx:273:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_MAXPATH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellengine.cxx:293:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable images [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellengine.cxx:313:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GAME_COLORS [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellengine.cxx:373:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imNone [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellengine.cxx:403:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BackColor [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwelldrawing.cxx:31:23: warning: Member variable 'SDLWellDrawingEngine::fields' is not initialized in the constructor. [uninitMemberVar] xwelltris-1.0.1/src/sdl/sdlwelldrawing.h:36:3: style: Class 'SDLWellDrawingEngine' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] xwelltris-1.0.1/src/sdl/sdlwellengine.h:24:22: style: Virtual function 'init_mainwindow' is called from constructor 'SDLWellEngine(int argc,char**argv)' at line 128. Dynamic binding is not used. [virtualCallInConstructor] xwelltris-1.0.1/src/sdl/sdlwellengine.cxx:128:5: note: Calling init_mainwindow xwelltris-1.0.1/src/sdl/sdlwellengine.h:24:22: note: init_mainwindow is a virtual function xwelltris-1.0.1/src/sdl/sdlwellengine.h:27:22: style: Virtual function 'init_colors' is called from constructor 'SDLWellEngine(int argc,char**argv)' at line 129. Dynamic binding is not used. [virtualCallInConstructor] xwelltris-1.0.1/src/sdl/sdlwellengine.cxx:129:5: note: Calling init_colors xwelltris-1.0.1/src/sdl/sdlwellengine.h:27:22: note: init_colors is a virtual function xwelltris-1.0.1/src/sdl/sdlwellinput.h:18:3: style: Class 'SDLWellInput' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] xwelltris-1.0.1/src/sdl/sdlwelldrawing.cxx:428:19: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/sdl/sdlwelldrawing.cxx:50:18: style: The scope of the variable 'surface' can be reduced. [variableScope] xwelltris-1.0.1/src/sdl/sdlwelldrawing.cxx:428:16: style: Variable 'ev' can be declared as pointer to const [constVariablePointer] xwelltris-1.0.1/src/sdl/sdlwellengine.cxx:172:46: style: Parameter 'event' can be declared as reference to const [constParameterReference] xwelltris-1.0.1/src/sdl/sdlwellimagefont.cxx:32:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_well_engine [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellimagefont.cxx:44:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable screen_x [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellimagefont.cxx:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable screen_x [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellimagefont.cxx:89:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dx [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellimagefont.cxx:32:12: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/sdl/sdlwellinput.cxx:30:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_well_engine [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellinput.cxx:71:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geo [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellinput.cxx:91:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geo [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellinput.cxx:111:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buflen [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdlwellinput.cxx:30:10: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/sdl/sdlwellinput.cxx:40:20: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/welldrawing.cxx:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welldrawing.cxx:93:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_id [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welldrawing.cxx:115:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pix_dx [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welldrawing.cxx:133:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable center_x [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellengine.cxx:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mainl [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellengine.cxx:60:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eTimeOut [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellengine.cxx:176:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellimagefont.cxx:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_id [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellimagefont.cxx:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_l [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellimagefont.cxx:54:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellimagefont.cxx:65:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable screen_x [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellimagefont.cxx:97:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable screen_x [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellimagefont.cxx:127:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable screen_x [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellinput.cxx:29:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable object_name [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellinput.cxx:63:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellinput.cxx:92:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shown [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellinput.cxx:103:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shown [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellinput.cxx:116:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shown [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellintro.cxx:35:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_MAXPATH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellintro.cxx:97:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_plus [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellintro.cxx:146:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imIntroBG [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellintro.cxx:168:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shown [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellintro.cxx:199:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inp_player [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellintro.cxx:231:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_MAXPATH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellintro.cxx:254:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_SQUARES [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellintro.cxx:268:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start_level [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellintro.cxx:289:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start_level [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellintro.cxx:304:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable well [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellintro.cxx:315:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_MAXPATH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellintro.cxx:368:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_MAXPATH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dre [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:87:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_DEPTH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:139:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dre [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:180:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rows_levelup [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:196:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bonusNow [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:215:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_MAXPATH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:387:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imBoardBG [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:405:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shown [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:417:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curThing [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:432:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tris [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:477:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xpos [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:509:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xpos [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:550:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WIDTH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:582:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xpos [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/convert.cxx:111:6: style: Condition 'ret' is always true [knownConditionTrueFalse] xwelltris-1.0.1/src/image/convert.cxx:110:37: note: Calling function 'im_do_convertion_to_num_colors' returns 1 xwelltris-1.0.1/src/image/convert.cxx:110:37: note: Assignment 'ret=im_do_convertion_to_num_colors(pic,max_colors,pic8_buf)', assigned value is 1 xwelltris-1.0.1/src/image/convert.cxx:111:6: note: Condition 'ret' is always true xwelltris-1.0.1/src/wellclass.cxx:619:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:635:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:650:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xpos [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:679:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curThing [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:751:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_DEPTH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:769:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:787:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:818:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tris [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:837:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_DEPTH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:872:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_DEPTH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:896:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PERIMETER [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:929:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bonus [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:957:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEXT_CENTER_X [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:970:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_MAXPATH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:1075:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_DEPTH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:1130:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_SIDES [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:1150:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_SIDES [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:1189:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WIDTH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:1319:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rows [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:1347:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DROP [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:1386:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable player_score [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:1397:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shown [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:1428:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geo [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:1470:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALL [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellclass.cxx:1550:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/convert.cxx:214:17: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/image/convert.cxx:224:20: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/image/convert.cxx:225:20: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/image/convert.cxx:226:20: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/image/convert.cxx:881:11: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/image/convert.cxx:235:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] xwelltris-1.0.1/src/image/convert.cxx:238:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] xwelltris-1.0.1/src/image/convert.cxx:258:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] xwelltris-1.0.1/src/image/convert.cxx:255:11: style: The scope of the variable 'histp' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:408:7: style: The scope of the variable 'n' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:409:7: style: The scope of the variable 'c0' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:409:10: style: The scope of the variable 'c1' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:409:13: style: The scope of the variable 'c2' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:409:16: style: The scope of the variable 'cmax' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:410:22: style: The scope of the variable 'b2' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:544:10: style: The scope of the variable 'x' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:644:10: style: The scope of the variable 'icolor' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:646:13: style: The scope of the variable 'cptr' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:647:9: style: The scope of the variable 'dist0' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:649:9: style: The scope of the variable 'xx0' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:651:9: style: The scope of the variable 'inc0' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:651:15: style: The scope of the variable 'inc1' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:651:21: style: The scope of the variable 'inc2' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:752:23: style: The scope of the variable 'cur0' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:752:29: style: The scope of the variable 'cur1' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:752:35: style: The scope of the variable 'cur2' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:753:14: style: The scope of the variable 'belowerr0' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:753:25: style: The scope of the variable 'belowerr1' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:753:36: style: The scope of the variable 'belowerr2' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:754:14: style: The scope of the variable 'bpreverr0' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:754:25: style: The scope of the variable 'bpreverr1' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:754:36: style: The scope of the variable 'bpreverr2' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:756:12: style: The scope of the variable 'inptr' can be reduced. [variableScope] xwelltris-1.0.1/src/image/convert.cxx:757:12: style: The scope of the variable 'outptr' can be reduced. [variableScope] xwelltris-1.0.1/src/wellintro.cxx:85:18: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/wellintro.cxx:192:18: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/wellintro.cxx:461:62: style: Same expression '*from!=0' found multiple times in chain of '&&' operators. [duplicateExpression] xwelltris-1.0.1/src/image/convert.cxx:492:62: error: Division by zero. [zerodiv] xwelltris-1.0.1/src/image/convert.cxx:470:16: note: Assignment 'total=0', assigned value is 0 xwelltris-1.0.1/src/image/convert.cxx:479:23: note: Assuming condition is false xwelltris-1.0.1/src/image/convert.cxx:492:62: note: Division by zero xwelltris-1.0.1/src/image/convert.cxx:493:62: error: Division by zero. [zerodiv] xwelltris-1.0.1/src/image/convert.cxx:470:16: note: Assignment 'total=0', assigned value is 0 xwelltris-1.0.1/src/image/convert.cxx:479:23: note: Assuming condition is false xwelltris-1.0.1/src/image/convert.cxx:493:62: note: Division by zero xwelltris-1.0.1/src/image/convert.cxx:494:62: error: Division by zero. [zerodiv] xwelltris-1.0.1/src/image/convert.cxx:470:16: note: Assignment 'total=0', assigned value is 0 xwelltris-1.0.1/src/image/convert.cxx:479:23: note: Assuming condition is false xwelltris-1.0.1/src/image/convert.cxx:494:62: note: Division by zero xwelltris-1.0.1/src/image/convert.cxx:12:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xwelltris-1.0.1/src/image/convert.cxx:466:11: style: Variable 'histp' can be declared as pointer to const [constVariablePointer] xwelltris-1.0.1/src/image/convert.cxx:713:22: style: Variable 'cptr' can be declared as pointer to const [constVariablePointer] xwelltris-1.0.1/src/image/convert.cxx:758:11: style: Variable 'cachep' can be declared as pointer to const [constVariablePointer] xwelltris-1.0.1/src/wellkey.cxx:35:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable object_name [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/image/convert.cxx:762:8: style: Variable 'error_limit' can be declared as pointer to const [constVariablePointer] xwelltris-1.0.1/src/wellkey.cxx:73:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geo [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellkey.cxx:102:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geo [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellkey.cxx:119:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shown [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellkey.cxx:130:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shown [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellkey.cxx:140:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shown [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellkey.cxx:56:10: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/wellkey.cxx:60:10: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/wellsimpledraw.cxx:30:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_dirties [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellsimpledraw.cxx:48:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delta_x [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellsimpledraw.cxx:60:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable min_x [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellsimpledraw.cxx:76:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellsimpledraw.cxx:101:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_dirties [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellsimpledraw.cxx:112:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_dirties [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellswitch.cxx:34:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable object_name [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellswitch.cxx:69:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geo [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellswitch.cxx:98:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geo [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellswitch.cxx:125:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shown [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellswitch.cxx:136:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shown [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellswitch.cxx:152:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shown [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable player [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:68:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rotation [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:78:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_MAXPATH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:135:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start_t [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:148:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable play_time [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:158:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable player [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:175:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOP_NINE [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:189:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOP_NINE [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:202:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOP_NINE [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:225:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOP_NINE [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:236:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOP_NINE [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:247:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOP_NINE [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:273:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_score [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:300:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_MAXPATH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:332:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_SQUARES [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:375:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable page [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:399:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tables [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:423:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imScoreBG [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:436:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shown [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/welltopnine.cxx:449:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_MAXPATH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/wellswitch.cxx:52:10: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/wellswitch.cxx:56:10: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/welltopnine.cxx:136:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] xwelltris-1.0.1/src/welltopnine.cxx:48:62: style: Same expression '*from!=0' found multiple times in chain of '&&' operators. [duplicateExpression] xwelltris-1.0.1/src/welltopnine.cxx:372:11: style: The scope of the variable 'pscore' can be reduced. [variableScope] xwelltris-1.0.1/src/welltopnine.cxx:450:11: style: The scope of the variable 'pscore' can be reduced. [variableScope] xwelltris-1.0.1/src/welltopnine.cxx:118:8: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] xwelltris-1.0.1/src/x11/xwelldrawing.cxx:34:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_well_engine [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwelldrawing.cxx:52:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BackColor [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwelldrawing.cxx:74:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_id [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwelldrawing.cxx:132:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_id [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwelldrawing.cxx:215:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_id [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwelldrawing.cxx:265:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BackColor [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwelldrawing.cxx:333:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIGHT [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwelldrawing.cxx:451:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imNone [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwellengine.cxx:134:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwellengine.cxx:177:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwellengine.cxx:255:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_MAXPATH [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwellengine.cxx:273:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imNone [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwellengine.cxx:299:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable images [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwellengine.cxx:316:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable done_loop_var [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwellengine.cxx:427:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MILLION [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwellengine.cxx:467:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_DELTA [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwelldrawing.cxx:30:21: warning: Member variable 'XWellDrawingEngine::fields' is not initialized in the constructor. [uninitMemberVar] xwelltris-1.0.1/src/x11/xwelldrawing.cxx:30:21: warning: Member variable 'XWellDrawingEngine::gcs' is not initialized in the constructor. [uninitMemberVar] xwelltris-1.0.1/src/x11/xwellengine.h:63:20: style:inconclusive: Either there is a missing 'override', or the member function 'XWellEngine::get_main_window' can be const. [functionConst] xwelltris-1.0.1/src/x11/xwellengine.h:64:20: style:inconclusive: Either there is a missing 'override', or the member function 'XWellEngine::get_main_gc' can be const. [functionConst] xwelltris-1.0.1/src/x11/xwellengine.h:65:20: style:inconclusive: Either there is a missing 'override', or the member function 'XWellEngine::get_pixmap_of_image' can be const. [functionConst] xwelltris-1.0.1/src/x11/xwelldrawing.h:29:3: style: Class 'XWellDrawingEngine' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] xwelltris-1.0.1/src/x11/xwellengine.h:40:20: style: Virtual function 'init_mainwindow' is called from constructor 'XWellEngine(int argc,char**argv)' at line 149. Dynamic binding is not used. [virtualCallInConstructor] xwelltris-1.0.1/src/x11/xwellengine.cxx:149:3: note: Calling init_mainwindow xwelltris-1.0.1/src/x11/xwellengine.h:40:20: note: init_mainwindow is a virtual function xwelltris-1.0.1/src/x11/xwelldrawing.cxx:322:14: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/x11/xwellengine.h:42:20: style: Virtual function 'init_colors' is called from constructor 'XWellEngine(int argc,char**argv)' at line 151. Dynamic binding is not used. [virtualCallInConstructor] xwelltris-1.0.1/src/x11/xwellengine.cxx:151:3: note: Calling init_colors xwelltris-1.0.1/src/x11/xwellengine.h:42:20: note: init_colors is a virtual function xwelltris-1.0.1/src/x11/xwellinput.h:17:3: style: Class 'XWellInput' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] xwelltris-1.0.1/src/x11/xwellengine.cxx:232:27: style: Same expression 'FocusChangeMask' found multiple times in chain of '|' operators. [duplicateExpression] xwelltris-1.0.1/src/x11/xwellengine.cxx:480:19: style: Variable 'game_colors[i]' is reassigned a value before the old one has been used. [redundantAssignment] xwelltris-1.0.1/src/x11/xwellengine.cxx:478:23: note: game_colors[i] is assigned xwelltris-1.0.1/src/x11/xwellengine.cxx:480:19: note: game_colors[i] is overwritten xwelltris-1.0.1/src/x11/xwellengine.cxx:500:21: style: Variable 'game_colors[i]' is reassigned a value before the old one has been used. [redundantAssignment] xwelltris-1.0.1/src/x11/xwellengine.cxx:498:23: note: game_colors[i] is assigned xwelltris-1.0.1/src/x11/xwellengine.cxx:500:21: note: game_colors[i] is overwritten xwelltris-1.0.1/src/x11/xwelldrawing.cxx:132:25: style: Unused variable: w [unusedVariable] xwelltris-1.0.1/src/x11/xwellengine.cxx:520:21: style: Variable 'game_colors[i]' is reassigned a value before the old one has been used. [redundantAssignment] xwelltris-1.0.1/src/x11/xwellengine.cxx:518:23: note: game_colors[i] is assigned xwelltris-1.0.1/src/x11/xwellengine.cxx:520:21: note: game_colors[i] is overwritten xwelltris-1.0.1/src/x11/xwelldrawing.cxx:212:15: style: Unused variable: k [unusedVariable] xwelltris-1.0.1/src/x11/xwellengine.cxx:315:7: style: Variable 'count' is assigned a value that is never used. [unreadVariable] xwelltris-1.0.1/src/x11/xwellimagefont.cxx:32:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_well_engine [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwellimagefont.cxx:71:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_h [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwellinput.cxx:31:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_well_engine [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwellinput.cxx:61:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BonusColor2 [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwellinput.cxx:80:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buflen [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwellimagefont.cxx:32:11: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:58:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:101:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:255:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:431:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:746:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:982:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:1388:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:1617:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:2051:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:2391:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:3012:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Uint16 [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:3289:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SWSURFACE [valueFlowBailoutIncompleteVar] xwelltris-1.0.1/src/x11/xwellinput.cxx:31:11: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/x11/xwellinput.cxx:42:15: style: C-style pointer casting [cstyleCast] xwelltris-1.0.1/src/wellclass.cxx:216:7: style: The scope of the variable 'c' can be reduced. [variableScope] xwelltris-1.0.1/src/wellclass.cxx:216:34: style: The scope of the variable 'sum' can be reduced. [variableScope] xwelltris-1.0.1/src/wellclass.cxx:216:63: style: The scope of the variable 'diag' can be reduced. [variableScope] xwelltris-1.0.1/src/wellclass.cxx:217:5: style: The scope of the variable 'game' can be reduced. [variableScope] xwelltris-1.0.1/src/wellclass.cxx:676:21: style: The scope of the variable 'i' can be reduced. [variableScope] xwelltris-1.0.1/src/wellclass.cxx:1073:13: style: The scope of the variable 'k' can be reduced. [variableScope] xwelltris-1.0.1/src/wellclass.cxx:1073:16: style: The scope of the variable 'l' can be reduced. [variableScope] xwelltris-1.0.1/src/wellclass.cxx:1073:19: style: The scope of the variable 'fits' can be reduced. [variableScope] xwelltris-1.0.1/src/wellclass.cxx:1190:27: style: The scope of the variable 'k' can be reduced. [variableScope] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:1350:16: style: Condition 'x1>x2' is always true [knownConditionTrueFalse] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:1338:12: note: Assuming that condition 'x1==x2' is not redundant xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:1350:16: note: Condition 'x1>x2' is always true xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:1584:16: style: Condition 'x1>x2' is always true [knownConditionTrueFalse] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:1572:12: note: Assuming that condition 'x1==x2' is not redundant xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:1584:16: note: Condition 'x1>x2' is always true xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:3176:6: error: Common realloc mistake: 'gfxPrimitivesPolyInts' nulled but not freed upon failure [memleakOnRealloc] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:306:7: style: Variable 'pix' is assigned an expression that holds the same value. [redundantAssignment] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:290:14: note: pix is assigned '(Uint8*)surface->pixels+y*surface->pitch+x*3' here. xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:306:7: note: Variable 'pix' is assigned an expression that holds the same value. xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:673:20: style: Variable 'pixellast' can be declared as pointer to const [constVariablePointer] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:909:20: style: Variable 'pixellast' can be declared as pointer to const [constVariablePointer] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:1314:20: style: Variable 'pixellast' can be declared as pointer to const [constVariablePointer] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:3150:52: style: Parameter 'vx' can be declared as pointer to const [constParameterPointer] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:3150:65: style: Parameter 'vy' can be declared as pointer to const [constParameterPointer] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:3264:20: style: Variable 'bitpos' can be declared as pointer to const [constVariablePointer] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:3365:11: style: Variable 'curchar' can be declared as pointer to const [constVariablePointer] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:1275:9: style: Variable 'code2' is assigned a value that is never used. [unreadVariable] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:1855:17: style: Variable 'wgtcompmask' is assigned a value that is never used. [unreadVariable] diff: head xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:306:7: style: Variable 'pix' is assigned an expression that holds the same value. [redundantAssignment] xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:290:14: note: pix is assigned '(Uint8*)surface->pixels+y*surface->pitch+x*3' here. xwelltris-1.0.1/src/sdl/sdl_gfxprimitives.c:306:7: note: Variable 'pix' is assigned an expression that holds the same value. DONE