2026-05-01 22:10 ftp://ftp.de.debian.org/debian/pool/main/f/flobopuyo/flobopuyo_0.20.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --library=opengl --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 -j6 platform: Linux-7.0.3+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a734 (2026-05-01 11:10:43 +0200) count: 350 340 elapsed-time: 0.7 0.6 head-timing-info: old-timing-info: head results: flobopuyo-0.20.orig/IosException.cpp:45:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/IosException.cpp:38:24: style:inconclusive: Technically the member function 'Exception::getMessage' can be const. [functionConst] flobopuyo-0.20.orig/IosException.h:30:15: note: Technically the member function 'Exception::getMessage' can be const. flobopuyo-0.20.orig/IosException.cpp:38:24: note: Technically the member function 'Exception::getMessage' can be const. flobopuyo-0.20.orig/IosException.cpp:35:7: warning: Class 'Exception' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] flobopuyo-0.20.orig/IosException.cpp:35:7: warning: Class 'Exception' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] flobopuyo-0.20.orig/IosException.h:27:3: style: Class 'Exception' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] flobopuyo-0.20.orig/IosException.cpp:30:9: warning: If memory allocation fails, then there is a possible null pointer dereference: message [nullPointerOutOfMemory] flobopuyo-0.20.orig/IosException.cpp:29:27: note: Assuming allocation function fails flobopuyo-0.20.orig/IosException.cpp:29:12: note: Assignment 'message=(char*)malloc(strlen(exception)+1)', assigned value is 0 flobopuyo-0.20.orig/IosException.cpp:30:9: note: Null pointer dereference flobopuyo-0.20.orig/IosException.cpp:29:12: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/IosException.cpp:27:28: style: Parameter 'exception' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/HiScores.cpp:28:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/HiScores.cpp:43:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/IosVector.cpp:103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/HiScores.cpp:47:19: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/HiScores.cpp:48:19: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/IosVector.h:28:2: style: Class 'IosVector' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] flobopuyo-0.20.orig/InputManager.cpp:109:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_UP [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/InputManager.cpp:112:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_DOWN [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/InputManager.cpp:115:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_RETURN [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/InputManager.cpp:118:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_ESCAPE [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/InputManager.cpp:121:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_p [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/InputManager.cpp:241:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_ENABLE [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/IosVector.cpp:98:2: error: Common realloc mistake: 'vectorData' nulled but not freed upon failure [memleakOnRealloc] flobopuyo-0.20.orig/IosVector.cpp:29:15: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/IosVector.cpp:36:15: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/IosVector.cpp:98:15: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/IosVector.cpp:72:37: style: Parameter 'element' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/GameControls.cpp:32:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_QUIT [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/InputManager.h:47:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:15:25: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:47:17: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:48:9: style: The function 'id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:16:17: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:48:9: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:50:18: style: The function 'isArrowUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:26:18: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:50:18: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:51:18: style: The function 'isArrowDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:27:18: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:51:18: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:52:18: style: The function 'isValidate' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:28:18: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:52:18: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:53:18: style: The function 'isCancel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:29:18: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:53:18: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:54:18: style: The function 'isPause' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:30:18: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:54:18: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:70:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:15:25: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:70:17: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:71:9: style: The function 'id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:16:17: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:71:9: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:73:18: style: The function 'isValidate' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:28:18: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:73:18: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:74:18: style: The function 'isCancel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:29:18: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:74:18: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:87:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:15:25: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:87:17: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:88:9: style: The function 'id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:16:17: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:88:9: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:90:18: style: The function 'isArrowUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:26:18: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:90:18: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:91:18: style: The function 'isArrowDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:27:18: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:91:18: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:100:15: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:15:25: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:100:15: note: Function in derived class flobopuyo-0.20.orig/InputManager.h:101:7: style: The function 'id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/InputManager.h:16:17: note: Virtual function in base class flobopuyo-0.20.orig/InputManager.h:101:7: note: Function in derived class flobopuyo-0.20.orig/IosImgProcess.cpp:24:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/IosImgProcess.cpp:39:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/IosImgProcess.cpp:79:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCALPHA [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/IosImgProcess.cpp:345:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCALPHA [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/IosImgProcess.cpp:379:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCALPHA [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/GameControls.cpp:19:21: style:inconclusive: Function 'getKeyName' argument 1 names different: declaration 'control' definition 'gameEvent'. [funcArgNamesDifferent] flobopuyo-0.20.orig/GameControls.h:55:21: note: Function 'getKeyName' argument 1 names different: declaration 'control' definition 'gameEvent'. flobopuyo-0.20.orig/GameControls.cpp:19:21: note: Function 'getKeyName' argument 1 names different: declaration 'control' definition 'gameEvent'. flobopuyo-0.20.orig/GameControls.cpp:26:48: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/AnimatedPuyo.cpp:33:15: warning: Member variable 'AnimatedPuyo::smallTicksCount' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/AnimatedPuyo.cpp:178:27: style:inconclusive: Technically the member function 'AnimatedPuyoFactory::renderWalhalla' can be const. [functionConst] flobopuyo-0.20.orig/AnimatedPuyo.h:66:10: note: Technically the member function 'AnimatedPuyoFactory::renderWalhalla' can be const. flobopuyo-0.20.orig/AnimatedPuyo.cpp:178:27: note: Technically the member function 'AnimatedPuyoFactory::renderWalhalla' can be const. flobopuyo-0.20.orig/SDL_Painter.h:20:7: style: Class 'SDL_Painter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] flobopuyo-0.20.orig/PuyoGame.h:45:5: style: Class 'PuyoPuyo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] flobopuyo-0.20.orig/PuyoGame.h:91:3: style: Class 'PuyoGame' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] flobopuyo-0.20.orig/PuyoAnimations.h:53:5: style: Class 'PuyoAnimation' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] flobopuyo-0.20.orig/AnimatedPuyo.h:62:5: style: Class 'AnimatedPuyoFactory' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] flobopuyo-0.20.orig/PuyoGame.h:71:13: style: The function 'createPuyo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoGame.h:65:21: note: Virtual function in base class flobopuyo-0.20.orig/PuyoGame.h:71:13: note: Function in derived class flobopuyo-0.20.orig/PuyoAnimations.h:76:10: style: The function 'cycle' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoAnimations.h:43:18: note: Virtual function in base class flobopuyo-0.20.orig/PuyoAnimations.h:76:10: note: Function in derived class flobopuyo-0.20.orig/PuyoAnimations.h:77:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoAnimations.h:44:18: note: Virtual function in base class flobopuyo-0.20.orig/PuyoAnimations.h:77:10: note: Function in derived class flobopuyo-0.20.orig/PuyoAnimations.h:90:10: style: The function 'cycle' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoAnimations.h:43:18: note: Virtual function in base class flobopuyo-0.20.orig/PuyoAnimations.h:90:10: note: Function in derived class flobopuyo-0.20.orig/PuyoAnimations.h:91:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoAnimations.h:44:18: note: Virtual function in base class flobopuyo-0.20.orig/PuyoAnimations.h:91:10: note: Function in derived class flobopuyo-0.20.orig/PuyoAnimations.h:105:10: style: The function 'cycle' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoAnimations.h:43:18: note: Virtual function in base class flobopuyo-0.20.orig/PuyoAnimations.h:105:10: note: Function in derived class flobopuyo-0.20.orig/PuyoAnimations.h:106:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoAnimations.h:44:18: note: Virtual function in base class flobopuyo-0.20.orig/PuyoAnimations.h:106:10: note: Function in derived class flobopuyo-0.20.orig/PuyoAnimations.h:121:10: style: The function 'cycle' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoAnimations.h:43:18: note: Virtual function in base class flobopuyo-0.20.orig/PuyoAnimations.h:121:10: note: Function in derived class flobopuyo-0.20.orig/PuyoAnimations.h:122:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoAnimations.h:44:18: note: Virtual function in base class flobopuyo-0.20.orig/PuyoAnimations.h:122:10: note: Function in derived class flobopuyo-0.20.orig/PuyoAnimations.h:136:10: style: The function 'cycle' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoAnimations.h:43:18: note: Virtual function in base class flobopuyo-0.20.orig/PuyoAnimations.h:136:10: note: Function in derived class flobopuyo-0.20.orig/PuyoAnimations.h:137:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoAnimations.h:44:18: note: Virtual function in base class flobopuyo-0.20.orig/PuyoAnimations.h:137:10: note: Function in derived class flobopuyo-0.20.orig/AnimatedPuyo.h:39:14: style: The destructor '~AnimatedPuyo' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoGame.h:46:14: note: Virtual destructor in base class flobopuyo-0.20.orig/AnimatedPuyo.h:39:14: note: Destructor in derived class flobopuyo-0.20.orig/AnimatedPuyo.h:64:23: style: The function 'createPuyo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoGame.h:65:21: note: Virtual function in base class flobopuyo-0.20.orig/AnimatedPuyo.h:64:23: note: Function in derived class flobopuyo-0.20.orig/AnimatedPuyo.h:65:18: style: The function 'deletePuyo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoGame.h:66:16: note: Virtual function in base class flobopuyo-0.20.orig/AnimatedPuyo.h:65:18: note: Function in derived class flobopuyo-0.20.orig/PuyoView.h:73:10: style: The function 'gameDidAddNeutral' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoGame.h:78:16: note: Virtual function in base class flobopuyo-0.20.orig/PuyoView.h:73:10: note: Function in derived class flobopuyo-0.20.orig/PuyoView.h:74:10: style: The function 'gameDidEndCycle' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoGame.h:84:16: note: Virtual function in base class flobopuyo-0.20.orig/PuyoView.h:74:10: note: Function in derived class flobopuyo-0.20.orig/PuyoView.h:75:10: style: The function 'companionDidTurn' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoGame.h:79:16: note: Virtual function in base class flobopuyo-0.20.orig/PuyoView.h:75:10: note: Function in derived class flobopuyo-0.20.orig/PuyoView.h:76:10: style: The function 'puyoDidFall' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoGame.h:82:16: note: Virtual function in base class flobopuyo-0.20.orig/PuyoView.h:76:10: note: Function in derived class flobopuyo-0.20.orig/PuyoView.h:77:10: style: The function 'puyoWillVanish' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoGame.h:83:16: note: Virtual function in base class flobopuyo-0.20.orig/PuyoView.h:77:10: note: Function in derived class flobopuyo-0.20.orig/PuyoView.h:78:10: style: The function 'gameLost' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoGame.h:85:16: note: Virtual function in base class flobopuyo-0.20.orig/PuyoView.h:78:10: note: Function in derived class flobopuyo-0.20.orig/AnimatedPuyo.cpp:90:28: warning: Either the condition 'attachedView==NULL' is redundant or there is possible null pointer dereference: attachedView. [nullPointerRedundantCheck] flobopuyo-0.20.orig/AnimatedPuyo.cpp:93:22: note: Assuming that condition 'attachedView==NULL' is not redundant flobopuyo-0.20.orig/AnimatedPuyo.cpp:90:28: note: Null pointer dereference flobopuyo-0.20.orig/AnimatedPuyo.cpp:161:37: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/AnimatedPuyo.cpp:181:37: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/AnimatedPuyo.cpp:189:37: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/AnimatedPuyo.cpp:80:20: style: Variable 'animation' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/AnimatedPuyo.cpp:97:15: style: Variable 'attachedGame' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/PuyoDoomMelt.c:64:3: warning: If memory allocation fails, then there is a possible null pointer dereference: _this [nullPointerOutOfMemory] flobopuyo-0.20.orig/PuyoDoomMelt.c:63:38: note: Assuming allocation function fails flobopuyo-0.20.orig/PuyoDoomMelt.c:63:21: note: Assignment '_this=(struct DoomMelt*)malloc(sizeof(struct DoomMelt))', assigned value is 0 flobopuyo-0.20.orig/PuyoDoomMelt.c:64:3: note: Null pointer dereference flobopuyo-0.20.orig/PuyoDoomMelt.c:127:75: style:inconclusive: Function '_column_draw' argument 3 names different: declaration 'screen' definition 'display'. [funcArgNamesDifferent] flobopuyo-0.20.orig/PuyoDoomMelt.c:47:83: note: Function '_column_draw' argument 3 names different: declaration 'screen' definition 'display'. flobopuyo-0.20.orig/PuyoDoomMelt.c:127:75: note: Function '_column_draw' argument 3 names different: declaration 'screen' definition 'display'. flobopuyo-0.20.orig/PuyoDoomMelt.c:127:30: style: Parameter 'column' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/PuyoDoomMelt.c:127:51: style: Parameter 'meltImage' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/IosImgProcess.cpp:191:17: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: surface [nullPointerOutOfResources] flobopuyo-0.20.orig/IosImgProcess.cpp:358:42: note: Assuming allocation function fails flobopuyo-0.20.orig/IosImgProcess.cpp:358:42: note: Assignment 'ret=SDL_CreateRGBSurface(src->flags,src->w,src->h,32,fmt->Rmask,fmt->Gmask,fmt->Bmask,fmt->Amask)', assigned value is 0 flobopuyo-0.20.orig/IosImgProcess.cpp:373:25: note: Calling function 'iim_surface_set_rgba', 1st argument 'ret' value is 0 flobopuyo-0.20.orig/IosImgProcess.cpp:191:17: note: Null pointer dereference flobopuyo-0.20.orig/IosImgProcess.cpp:191:52: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: surface [nullPointerOutOfResources] flobopuyo-0.20.orig/IosImgProcess.cpp:358:42: note: Assuming allocation function fails flobopuyo-0.20.orig/IosImgProcess.cpp:358:42: note: Assignment 'ret=SDL_CreateRGBSurface(src->flags,src->w,src->h,32,fmt->Rmask,fmt->Gmask,fmt->Bmask,fmt->Amask)', assigned value is 0 flobopuyo-0.20.orig/IosImgProcess.cpp:373:25: note: Calling function 'iim_surface_set_rgba', 1st argument 'ret' value is 0 flobopuyo-0.20.orig/IosImgProcess.cpp:191:52: note: Null pointer dereference flobopuyo-0.20.orig/IosImgProcess.cpp:192:26: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: surface [nullPointerOutOfResources] flobopuyo-0.20.orig/IosImgProcess.cpp:358:42: note: Assuming allocation function fails flobopuyo-0.20.orig/IosImgProcess.cpp:358:42: note: Assignment 'ret=SDL_CreateRGBSurface(src->flags,src->w,src->h,32,fmt->Rmask,fmt->Gmask,fmt->Bmask,fmt->Amask)', assigned value is 0 flobopuyo-0.20.orig/IosImgProcess.cpp:373:25: note: Calling function 'iim_surface_set_rgba', 1st argument 'ret' value is 0 flobopuyo-0.20.orig/IosImgProcess.cpp:192:26: note: Null pointer dereference flobopuyo-0.20.orig/IosImgProcess.cpp:214:21: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: surface [nullPointerOutOfResources] flobopuyo-0.20.orig/IosImgProcess.cpp:358:42: note: Assuming allocation function fails flobopuyo-0.20.orig/IosImgProcess.cpp:358:42: note: Assignment 'ret=SDL_CreateRGBSurface(src->flags,src->w,src->h,32,fmt->Rmask,fmt->Gmask,fmt->Bmask,fmt->Amask)', assigned value is 0 flobopuyo-0.20.orig/IosImgProcess.cpp:373:25: note: Calling function 'iim_surface_set_rgba', 1st argument 'ret' value is 0 flobopuyo-0.20.orig/IosImgProcess.cpp:214:21: note: Null pointer dereference flobopuyo-0.20.orig/IosImgProcess.cpp:117:20: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/IosImgProcess.cpp:165:22: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/IosImgProcess.cpp:183:14: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/IosImgProcess.cpp:214:14: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/IosImgProcess.cpp:117:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/IosImgProcess.cpp:165:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/IosImgProcess.cpp:183:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/IosImgProcess.cpp:214:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/PuyoLock.cpp:46:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/PuyoAnimations.cpp:134:19: warning: Member variable 'TurningAnimation::X' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoAnimations.cpp:134:19: warning: Member variable 'TurningAnimation::Y' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoLock.cpp:51:16: style:inconclusive: Technically the member function 'PuyoLock::locked' can be const. [functionConst] flobopuyo-0.20.orig/PuyoLock.h:31:22: note: Technically the member function 'PuyoLock::locked' can be const. flobopuyo-0.20.orig/PuyoLock.cpp:51:16: note: Technically the member function 'PuyoLock::locked' can be const. flobopuyo-0.20.orig/PuyoAnimations.cpp:116:29: style:inconclusive: Technically the member function 'AnimationSynchronizer::isSynchronized' can be const. [functionConst] flobopuyo-0.20.orig/PuyoAnimations.h:64:10: note: Technically the member function 'AnimationSynchronizer::isSynchronized' can be const. flobopuyo-0.20.orig/PuyoAnimations.cpp:116:29: note: Technically the member function 'AnimationSynchronizer::isSynchronized' can be const. flobopuyo-0.20.orig/IosImgProcess.cpp:258:39: style: The scope of the variable 'hueTemp' can be reduced. [variableScope] flobopuyo-0.20.orig/IosImgProcess.cpp:17:51: style:inconclusive: Function 'IIM_Load_DisplayFormat' argument 1 names different: declaration 'path' definition 'fname'. [funcArgNamesDifferent] flobopuyo-0.20.orig/IosImgProcess.h:55:51: note: Function 'IIM_Load_DisplayFormat' argument 1 names different: declaration 'path' definition 'fname'. flobopuyo-0.20.orig/IosImgProcess.cpp:17:51: note: Function 'IIM_Load_DisplayFormat' argument 1 names different: declaration 'path' definition 'fname'. flobopuyo-0.20.orig/IosImgProcess.cpp:32:56: style:inconclusive: Function 'IIM_Load_DisplayFormatAlpha' argument 1 names different: declaration 'path' definition 'fname'. [funcArgNamesDifferent] flobopuyo-0.20.orig/IosImgProcess.h:56:56: note: Function 'IIM_Load_DisplayFormatAlpha' argument 1 names different: declaration 'path' definition 'fname'. flobopuyo-0.20.orig/IosImgProcess.cpp:32:56: note: Function 'IIM_Load_DisplayFormatAlpha' argument 1 names different: declaration 'path' definition 'fname'. flobopuyo-0.20.orig/IosImgProcess.cpp:320:49: style:inconclusive: Function 'iim_surface_shift_hue' argument 1 names different: declaration 'src' definition 'isrc'. [funcArgNamesDifferent] flobopuyo-0.20.orig/IosImgProcess.h:51:49: note: Function 'iim_surface_shift_hue' argument 1 names different: declaration 'src' definition 'isrc'. flobopuyo-0.20.orig/IosImgProcess.cpp:320:49: note: Function 'iim_surface_shift_hue' argument 1 names different: declaration 'src' definition 'isrc'. flobopuyo-0.20.orig/IosImgProcess.cpp:354:49: style:inconclusive: Function 'iim_surface_set_value' argument 1 names different: declaration 'src' definition 'isrc'. [funcArgNamesDifferent] flobopuyo-0.20.orig/IosImgProcess.h:52:49: note: Function 'iim_surface_set_value' argument 1 names different: declaration 'src' definition 'isrc'. flobopuyo-0.20.orig/IosImgProcess.cpp:354:49: note: Function 'iim_surface_set_value' argument 1 names different: declaration 'src' definition 'isrc'. flobopuyo-0.20.orig/IosImgProcess.cpp:384:47: style:inconclusive: Function 'iim_surface_convert_to_gray' argument 1 names different: declaration 'src' definition 'isrc'. [funcArgNamesDifferent] flobopuyo-0.20.orig/IosImgProcess.h:53:47: note: Function 'iim_surface_convert_to_gray' argument 1 names different: declaration 'src' definition 'isrc'. flobopuyo-0.20.orig/IosImgProcess.cpp:384:47: note: Function 'iim_surface_convert_to_gray' argument 1 names different: declaration 'src' definition 'isrc'. flobopuyo-0.20.orig/IosImgProcess.cpp:48:28: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/IosImgProcess.cpp:116:20: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/IosImgProcess.cpp:162:20: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/IosImgProcess.cpp:192:20: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/IosImgProcess.cpp:323:20: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/IosImgProcess.cpp:357:20: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/IosImgProcess.cpp:387:20: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/IosImgProcess.cpp:258:46: style: Variable 'hueTemp' is assigned a value that is never used. [unreadVariable] flobopuyo-0.20.orig/IosImgProcess.cpp:387:24: style: Variable 'fmt' is assigned a value that is never used. [unreadVariable] flobopuyo-0.20.orig/PuyoIA.cpp:293:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/PuyoStory.h:14:20: style:inconclusive: Member variable 'PuyoStory::commander' is in the wrong place in the initializer list. [initializerList] flobopuyo-0.20.orig/PuyoStory.cpp:15:63: note: Member variable 'PuyoStory::commander' is in the wrong place in the initializer list. flobopuyo-0.20.orig/PuyoStory.h:14:20: note: Member variable 'PuyoStory::commander' is in the wrong place in the initializer list. flobopuyo-0.20.orig/PuyoStory.h:12:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoCommander.h:16:18: note: Virtual function in base class flobopuyo-0.20.orig/PuyoStory.h:12:10: note: Function in derived class flobopuyo-0.20.orig/SDL_Painter.cpp:63:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/PuyoView.cpp:393:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/SDL_Painter.cpp:8:14: warning: Member variable 'SDL_Painter::onScreenElts' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/SDL_Painter.cpp:8:14: warning: Member variable 'SDL_Painter::onScreenPrev' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/SDL_Painter.h:16:20: style:inconclusive: Member variable 'SDL_Painter::backGround' is in the wrong place in the initializer list. [initializerList] flobopuyo-0.20.orig/SDL_Painter.cpp:9:29: note: Member variable 'SDL_Painter::backGround' is in the wrong place in the initializer list. flobopuyo-0.20.orig/SDL_Painter.h:16:20: note: Member variable 'SDL_Painter::backGround' is in the wrong place in the initializer list. flobopuyo-0.20.orig/SDL_Painter.cpp:25:37: style: Parameter 'd1' can be declared as reference to const [constParameterReference] flobopuyo-0.20.orig/SDL_Painter.cpp:25:50: style: Parameter 'd2' can be declared as reference to const [constParameterReference] flobopuyo-0.20.orig/SDL_Painter.cpp:11:60: style: Parameter 'where' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/SDL_Painter.cpp:178:51: style: Parameter 'surf' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/PuyoCommander.cpp:547:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/PuyoCommander.cpp:963:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/PuyoCommander.cpp:1086:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_a [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/PuyoStarter.cpp:282:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/PuyoStarter.cpp:609:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_k [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/PuyoIA.cpp:177:3: warning: Member variable 'PosEvaluator::score' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoIA.cpp:177:3: warning: Member variable 'PosEvaluator::keep' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoIA.cpp:199:19: style: The member function 'PuyoIA::extractColor' can be static. [functionStatic] flobopuyo-0.20.orig/PuyoIA.h:19:15: note: The member function 'PuyoIA::extractColor' can be static. flobopuyo-0.20.orig/PuyoIA.cpp:199:19: note: The member function 'PuyoIA::extractColor' can be static. flobopuyo-0.20.orig/PuyoIA.cpp:185:5: warning: Class 'PuyoIA' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] flobopuyo-0.20.orig/PuyoIA.cpp:185:5: warning: Class 'PuyoIA' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] flobopuyo-0.20.orig/PuyoIA.h:17:18: style: The function 'cycle' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoPlayer.h:18:18: note: Virtual function in base class flobopuyo-0.20.orig/PuyoIA.h:17:18: note: Function in derived class flobopuyo-0.20.orig/PuyoView.cpp:412:16: style:inconclusive: Technically the member function 'PuyoView::cycleAllowed' can be const. [functionConst] flobopuyo-0.20.orig/PuyoView.h:81:10: note: Technically the member function 'PuyoView::cycleAllowed' can be const. flobopuyo-0.20.orig/PuyoView.cpp:412:16: note: Technically the member function 'PuyoView::cycleAllowed' can be const. flobopuyo-0.20.orig/PuyoView.cpp:102:2: warning: Class 'PuyoView' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] flobopuyo-0.20.orig/PuyoView.cpp:102:2: warning: Class 'PuyoView' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] flobopuyo-0.20.orig/PuyoView.cpp:211:43: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/PuyoView.cpp:325:43: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/PuyoView.cpp:387:37: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/PuyoView.cpp:167:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/PuyoView.cpp:168:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/PuyoView.cpp:169:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/PuyoView.cpp:170:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/PuyoView.cpp:203:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/PuyoView.cpp:275:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/PuyoView.cpp:293:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/PuyoView.cpp:368:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/PuyoView.cpp:368:72: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/PuyoView.cpp:373:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/PuyoView.cpp:373:73: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/PuyoView.cpp:379:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/PuyoView.cpp:379:64: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] flobopuyo-0.20.orig/audio.c:126:27: style: Parameter 's' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/PuyoView.cpp:366:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable] flobopuyo-0.20.orig/PuyoView.cpp:367:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable] flobopuyo-0.20.orig/corona.cpp:70:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/corona32.cpp:39:3: warning: If memory allocation fails, then there is a possible null pointer dereference: _this [nullPointerOutOfMemory] flobopuyo-0.20.orig/corona32.cpp:58:42: note: Assuming allocation function fails flobopuyo-0.20.orig/corona32.cpp:58:25: note: Assignment '_this=(struct Corona32*)calloc(1,sizeof(struct Corona32))', assigned value is 0 flobopuyo-0.20.orig/corona32.cpp:59:27: note: Calling function 'corona32_init_internals', 1st argument '_this' value is 0 flobopuyo-0.20.orig/corona32.cpp:39:3: note: Null pointer dereference flobopuyo-0.20.orig/corona32.cpp:40:3: warning: If memory allocation fails, then there is a possible null pointer dereference: _this [nullPointerOutOfMemory] flobopuyo-0.20.orig/corona32.cpp:58:42: note: Assuming allocation function fails flobopuyo-0.20.orig/corona32.cpp:58:25: note: Assignment '_this=(struct Corona32*)calloc(1,sizeof(struct Corona32))', assigned value is 0 flobopuyo-0.20.orig/corona32.cpp:59:27: note: Calling function 'corona32_init_internals', 1st argument '_this' value is 0 flobopuyo-0.20.orig/corona32.cpp:40:3: note: Null pointer dereference flobopuyo-0.20.orig/corona32.cpp:41:3: warning: If memory allocation fails, then there is a possible null pointer dereference: _this [nullPointerOutOfMemory] flobopuyo-0.20.orig/corona32.cpp:58:42: note: Assuming allocation function fails flobopuyo-0.20.orig/corona32.cpp:58:25: note: Assignment '_this=(struct Corona32*)calloc(1,sizeof(struct Corona32))', assigned value is 0 flobopuyo-0.20.orig/corona32.cpp:59:27: note: Calling function 'corona32_init_internals', 1st argument '_this' value is 0 flobopuyo-0.20.orig/corona32.cpp:41:3: note: Null pointer dereference flobopuyo-0.20.orig/corona32.cpp:42:3: warning: If memory allocation fails, then there is a possible null pointer dereference: _this [nullPointerOutOfMemory] flobopuyo-0.20.orig/corona32.cpp:58:42: note: Assuming allocation function fails flobopuyo-0.20.orig/corona32.cpp:58:25: note: Assignment '_this=(struct Corona32*)calloc(1,sizeof(struct Corona32))', assigned value is 0 flobopuyo-0.20.orig/corona32.cpp:59:27: note: Calling function 'corona32_init_internals', 1st argument '_this' value is 0 flobopuyo-0.20.orig/corona32.cpp:42:3: note: Null pointer dereference flobopuyo-0.20.orig/corona32.cpp:43:3: warning: If memory allocation fails, then there is a possible null pointer dereference: _this [nullPointerOutOfMemory] flobopuyo-0.20.orig/corona32.cpp:58:42: note: Assuming allocation function fails flobopuyo-0.20.orig/corona32.cpp:58:25: note: Assignment '_this=(struct Corona32*)calloc(1,sizeof(struct Corona32))', assigned value is 0 flobopuyo-0.20.orig/corona32.cpp:59:27: note: Calling function 'corona32_init_internals', 1st argument '_this' value is 0 flobopuyo-0.20.orig/corona32.cpp:43:3: note: Null pointer dereference flobopuyo-0.20.orig/corona32.cpp:44:3: warning: If memory allocation fails, then there is a possible null pointer dereference: _this [nullPointerOutOfMemory] flobopuyo-0.20.orig/corona32.cpp:58:42: note: Assuming allocation function fails flobopuyo-0.20.orig/corona32.cpp:58:25: note: Assignment '_this=(struct Corona32*)calloc(1,sizeof(struct Corona32))', assigned value is 0 flobopuyo-0.20.orig/corona32.cpp:59:27: note: Calling function 'corona32_init_internals', 1st argument '_this' value is 0 flobopuyo-0.20.orig/corona32.cpp:44:3: note: Null pointer dereference flobopuyo-0.20.orig/corona32.cpp:45:3: warning: If memory allocation fails, then there is a possible null pointer dereference: _this [nullPointerOutOfMemory] flobopuyo-0.20.orig/corona32.cpp:58:42: note: Assuming allocation function fails flobopuyo-0.20.orig/corona32.cpp:58:25: note: Assignment '_this=(struct Corona32*)calloc(1,sizeof(struct Corona32))', assigned value is 0 flobopuyo-0.20.orig/corona32.cpp:59:27: note: Calling function 'corona32_init_internals', 1st argument '_this' value is 0 flobopuyo-0.20.orig/corona32.cpp:45:3: note: Null pointer dereference flobopuyo-0.20.orig/corona32.cpp:58:25: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/corona32.cpp:69:43: style:inconclusive: Function 'corona32_resize' argument 2 names different: declaration 'widht' definition 'width'. [funcArgNamesDifferent] flobopuyo-0.20.orig/corona32.h:21:48: note: Function 'corona32_resize' argument 2 names different: declaration 'widht' definition 'width'. flobopuyo-0.20.orig/corona32.cpp:69:43: note: Function 'corona32_resize' argument 2 names different: declaration 'widht' definition 'width'. flobopuyo-0.20.orig/PuyoCommander.cpp:545:16: warning: Member variable 'PuyoCommander::cycle' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoCommander.cpp:545:16: warning: Member variable 'PuyoCommander::start_time' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoCommander.cpp:545:16: warning: Member variable 'PuyoCommander::lastRenderedCycle' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoCommander.cpp:545:16: warning: Member variable 'PuyoCommander::maxFrameDrop' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoCommander.cpp:545:16: warning: Member variable 'PuyoCommander::corona_screen' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoStarter.h:13:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] flobopuyo-0.20.orig/PuyoCommander.h:16:18: note: Virtual function in base class flobopuyo-0.20.orig/PuyoStarter.h:13:10: note: Function in derived class flobopuyo-0.20.orig/PuyoCommander.cpp:967:76: style: Condition 'useGL' is always false [knownConditionTrueFalse] flobopuyo-0.20.orig/PuyoCommander.cpp:950:17: note: Assuming that condition 'useGL' is not redundant flobopuyo-0.20.orig/PuyoCommander.cpp:967:76: note: Condition 'useGL' is always false flobopuyo-0.20.orig/PuyoCommander.cpp:1019:25: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/PuyoCommander.cpp:780:11: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] flobopuyo-0.20.orig/PuyoCommander.cpp:838:11: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] flobopuyo-0.20.orig/PuyoCommander.cpp:935:11: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] flobopuyo-0.20.orig/PuyoCommander.cpp:1033:21: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] flobopuyo-0.20.orig/PuyoCommander.cpp:1270:9: style: The scope of the variable 'ia2' can be reduced. [variableScope] flobopuyo-0.20.orig/PuyoCommander.cpp:1271:9: style: The scope of the variable 'ia3' can be reduced. [variableScope] flobopuyo-0.20.orig/PuyoCommander.cpp:545:35: style:inconclusive: Function 'PuyoCommander' argument 1 names different: declaration 'fullscreen' definition 'fs'. [funcArgNamesDifferent] flobopuyo-0.20.orig/PuyoCommander.h:22:22: note: Function 'PuyoCommander' argument 1 names different: declaration 'fullscreen' definition 'fs'. flobopuyo-0.20.orig/PuyoCommander.cpp:545:35: note: Function 'PuyoCommander' argument 1 names different: declaration 'fullscreen' definition 'fs'. flobopuyo-0.20.orig/PuyoCommander.cpp:545:44: style:inconclusive: Function 'PuyoCommander' argument 2 names different: declaration 'sound' definition 'snd'. [funcArgNamesDifferent] flobopuyo-0.20.orig/PuyoCommander.h:22:38: note: Function 'PuyoCommander' argument 2 names different: declaration 'sound' definition 'snd'. flobopuyo-0.20.orig/PuyoCommander.cpp:545:44: note: Function 'PuyoCommander' argument 2 names different: declaration 'sound' definition 'snd'. flobopuyo-0.20.orig/PuyoCommander.cpp:746:12: style: Variable 'scores' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/corona_palette.cpp:26:3: warning: Member variable 'CompressedPalette::m_col' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoCommander.cpp:830:13: style: Variable 'chosenControl' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/corona_palette.cpp:26:3: warning: Member variable 'CompressedPalette::m_ind' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoCommander.cpp:1273:10: style: Variable 'ia' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/PuyoCommander.cpp:1353:67: style: Parameter 'extra_surf' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/corona_palette.cpp:136:3: warning: Class 'PaletteCollection' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] flobopuyo-0.20.orig/corona_palette.cpp:136:3: warning: Class 'PaletteCollection' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] flobopuyo-0.20.orig/corona_palette.cpp:109:40: style:inconclusive: Function 'expand' argument 1 names different: declaration 'pal' definition 'dest'. [funcArgNamesDifferent] flobopuyo-0.20.orig/corona_palette.cpp:29:23: note: Function 'expand' argument 1 names different: declaration 'pal' definition 'dest'. flobopuyo-0.20.orig/corona_palette.cpp:109:40: note: Function 'expand' argument 1 names different: declaration 'pal' definition 'dest'. flobopuyo-0.20.orig/corona_palette.cpp:66:40: style: Parameter 'pLevels' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/corona_palette.cpp:168:38: style: Parameter 'byteSurf' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/corona_palette.cpp:168:68: style: Parameter 'palette' can be declared as const array [constParameter] flobopuyo-0.20.orig/SDL_prim.c:49:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/SDL_prim.c:134:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/SDL_prim.c:232:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/SDL_prim.c:360:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/SDL_prim.c:644:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/PuyoCommander.cpp:558:20: style: Variable 'music_volume' is assigned a value that is never used. [unreadVariable] flobopuyo-0.20.orig/PuyoCommander.cpp:559:20: style: Variable 'audio_volume' is assigned a value that is never used. [unreadVariable] flobopuyo-0.20.orig/corona.cpp:25:9: warning: Member variable 'Corona::m_movement' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/corona.cpp:69:16: style: The member function 'Corona::random' can be static. [functionStatic] flobopuyo-0.20.orig/corona.h:86:12: note: The member function 'Corona::random' can be static. flobopuyo-0.20.orig/corona.cpp:69:16: note: The member function 'Corona::random' can be static. flobopuyo-0.20.orig/corona.cpp:65:26: warning: Class 'Corona' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] flobopuyo-0.20.orig/corona.cpp:65:26: warning: Class 'Corona' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] flobopuyo-0.20.orig/corona.cpp:50:32: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] flobopuyo-0.20.orig/corona.cpp:46:35: note: Assuming allocation function fails flobopuyo-0.20.orig/corona.cpp:46:17: note: Assignment 'm_particles=(Particle*)std::calloc(nbParticules,sizeof(Particle))', assigned value is 0 flobopuyo-0.20.orig/corona.cpp:50:32: note: Null pointer addition flobopuyo-0.20.orig/corona.cpp:46:17: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/corona.cpp:85:18: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/corona.cpp:88:18: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/corona.cpp:91:18: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/corona.cpp:104:17: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/corona.cpp:272:10: style: The scope of the variable 'fdec' can be reduced. [variableScope] flobopuyo-0.20.orig/corona.cpp:121:24: style: Variable 'end' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/corona.cpp:226:15: style: Variable 'it' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/corona.cpp:239:15: style: Variable 'it' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/corona.cpp:272:17: style: Variable 'fdec' is assigned a value that is never used. [unreadVariable] flobopuyo-0.20.orig/main.cpp:37:23: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/main.cpp:49:26: style: Parameter 'argv' can be declared as const array [constParameter] flobopuyo-0.20.orig/scrollingtext.c:23:2: warning: If memory allocation fails, then there is a possible null pointer dereference: st [nullPointerOutOfMemory] flobopuyo-0.20.orig/scrollingtext.c:21:45: note: Assuming allocation function fails flobopuyo-0.20.orig/scrollingtext.c:21:22: note: Assignment 'st=(struct ScrollingText*)malloc(sizeof(struct ScrollingText))', assigned value is 0 flobopuyo-0.20.orig/scrollingtext.c:23:2: note: Null pointer dereference flobopuyo-0.20.orig/scrollingtext.c:28:2: warning: If memory allocation fails, then there is a possible null pointer dereference: st [nullPointerOutOfMemory] flobopuyo-0.20.orig/scrollingtext.c:21:45: note: Assuming allocation function fails flobopuyo-0.20.orig/scrollingtext.c:21:22: note: Assignment 'st=(struct ScrollingText*)malloc(sizeof(struct ScrollingText))', assigned value is 0 flobopuyo-0.20.orig/scrollingtext.c:28:2: note: Null pointer dereference flobopuyo-0.20.orig/scrollingtext.c:29:2: warning: If memory allocation fails, then there is a possible null pointer dereference: st [nullPointerOutOfMemory] flobopuyo-0.20.orig/scrollingtext.c:21:45: note: Assuming allocation function fails flobopuyo-0.20.orig/scrollingtext.c:21:22: note: Assignment 'st=(struct ScrollingText*)malloc(sizeof(struct ScrollingText))', assigned value is 0 flobopuyo-0.20.orig/scrollingtext.c:29:2: note: Null pointer dereference flobopuyo-0.20.orig/scrollingtext.c:36:2: warning: If memory allocation fails, then there is a possible null pointer dereference: st [nullPointerOutOfMemory] flobopuyo-0.20.orig/scrollingtext.c:21:45: note: Assuming allocation function fails flobopuyo-0.20.orig/scrollingtext.c:21:22: note: Assignment 'st=(struct ScrollingText*)malloc(sizeof(struct ScrollingText))', assigned value is 0 flobopuyo-0.20.orig/scrollingtext.c:24:27: note: Calling function 'scrolling_text_set_font', 1st argument 'st' value is 0 flobopuyo-0.20.orig/scrollingtext.c:36:2: note: Null pointer dereference flobopuyo-0.20.orig/scrollingtext.c:37:2: warning: If memory allocation fails, then there is a possible null pointer dereference: st [nullPointerOutOfMemory] flobopuyo-0.20.orig/scrollingtext.c:21:45: note: Assuming allocation function fails flobopuyo-0.20.orig/scrollingtext.c:21:22: note: Assignment 'st=(struct ScrollingText*)malloc(sizeof(struct ScrollingText))', assigned value is 0 flobopuyo-0.20.orig/scrollingtext.c:24:27: note: Calling function 'scrolling_text_set_font', 1st argument 'st' value is 0 flobopuyo-0.20.orig/scrollingtext.c:37:2: note: Null pointer dereference flobopuyo-0.20.orig/scrollingtext.c:43:6: warning: If memory allocation fails, then there is a possible null pointer dereference: st [nullPointerOutOfMemory] flobopuyo-0.20.orig/scrollingtext.c:21:45: note: Assuming allocation function fails flobopuyo-0.20.orig/scrollingtext.c:21:22: note: Assignment 'st=(struct ScrollingText*)malloc(sizeof(struct ScrollingText))', assigned value is 0 flobopuyo-0.20.orig/scrollingtext.c:26:27: note: Calling function 'scrolling_text_set_text', 1st argument 'st' value is 0 flobopuyo-0.20.orig/scrollingtext.c:43:6: note: Null pointer dereference flobopuyo-0.20.orig/scrollingtext.c:46:3: warning: If memory allocation fails, then there is a possible null pointer dereference: st [nullPointerOutOfMemory] flobopuyo-0.20.orig/scrollingtext.c:21:45: note: Assuming allocation function fails flobopuyo-0.20.orig/scrollingtext.c:21:22: note: Assignment 'st=(struct ScrollingText*)malloc(sizeof(struct ScrollingText))', assigned value is 0 flobopuyo-0.20.orig/scrollingtext.c:26:27: note: Calling function 'scrolling_text_set_text', 1st argument 'st' value is 0 flobopuyo-0.20.orig/scrollingtext.c:46:3: note: Null pointer dereference flobopuyo-0.20.orig/scrollingtext.c:47:11: warning: If memory allocation fails, then there is a possible null pointer dereference: st [nullPointerOutOfMemory] flobopuyo-0.20.orig/scrollingtext.c:21:45: note: Assuming allocation function fails flobopuyo-0.20.orig/scrollingtext.c:21:22: note: Assignment 'st=(struct ScrollingText*)malloc(sizeof(struct ScrollingText))', assigned value is 0 flobopuyo-0.20.orig/scrollingtext.c:26:27: note: Calling function 'scrolling_text_set_text', 1st argument 'st' value is 0 flobopuyo-0.20.orig/scrollingtext.c:47:11: note: Null pointer dereference flobopuyo-0.20.orig/scrollingtext.c:50:3: warning: If memory allocation fails, then there is a possible null pointer dereference: st [nullPointerOutOfMemory] flobopuyo-0.20.orig/scrollingtext.c:21:45: note: Assuming allocation function fails flobopuyo-0.20.orig/scrollingtext.c:21:22: note: Assignment 'st=(struct ScrollingText*)malloc(sizeof(struct ScrollingText))', assigned value is 0 flobopuyo-0.20.orig/scrollingtext.c:26:27: note: Calling function 'scrolling_text_set_text', 1st argument 'st' value is 0 flobopuyo-0.20.orig/scrollingtext.c:50:3: note: Null pointer dereference flobopuyo-0.20.orig/scrollingtext.c:51:2: warning: If memory allocation fails, then there is a possible null pointer dereference: st [nullPointerOutOfMemory] flobopuyo-0.20.orig/scrollingtext.c:21:45: note: Assuming allocation function fails flobopuyo-0.20.orig/scrollingtext.c:21:22: note: Assignment 'st=(struct ScrollingText*)malloc(sizeof(struct ScrollingText))', assigned value is 0 flobopuyo-0.20.orig/scrollingtext.c:26:27: note: Calling function 'scrolling_text_set_text', 1st argument 'st' value is 0 flobopuyo-0.20.orig/scrollingtext.c:51:2: note: Null pointer dereference flobopuyo-0.20.orig/scrollingtext.c:77:7: warning: If memory allocation fails, then there is a possible null pointer dereference: st [nullPointerOutOfMemory] flobopuyo-0.20.orig/scrollingtext.c:21:45: note: Assuming allocation function fails flobopuyo-0.20.orig/scrollingtext.c:21:22: note: Assignment 'st=(struct ScrollingText*)malloc(sizeof(struct ScrollingText))', assigned value is 0 flobopuyo-0.20.orig/scrollingtext.c:28:41: note: Calling function 'scrolling_text_width', 1st argument 'st' value is 0 flobopuyo-0.20.orig/scrollingtext.c:77:7: note: Null pointer dereference flobopuyo-0.20.orig/scrollingtext.c:77:29: warning: If memory allocation fails, then there is a possible null pointer dereference: st [nullPointerOutOfMemory] flobopuyo-0.20.orig/scrollingtext.c:21:45: note: Assuming allocation function fails flobopuyo-0.20.orig/scrollingtext.c:21:22: note: Assignment 'st=(struct ScrollingText*)malloc(sizeof(struct ScrollingText))', assigned value is 0 flobopuyo-0.20.orig/scrollingtext.c:28:41: note: Calling function 'scrolling_text_width', 1st argument 'st' value is 0 flobopuyo-0.20.orig/scrollingtext.c:77:29: note: Null pointer dereference flobopuyo-0.20.orig/scrollingtext.c:80:27: warning: If memory allocation fails, then there is a possible null pointer dereference: st [nullPointerOutOfMemory] flobopuyo-0.20.orig/scrollingtext.c:21:45: note: Assuming allocation function fails flobopuyo-0.20.orig/scrollingtext.c:21:22: note: Assignment 'st=(struct ScrollingText*)malloc(sizeof(struct ScrollingText))', assigned value is 0 flobopuyo-0.20.orig/scrollingtext.c:28:41: note: Calling function 'scrolling_text_width', 1st argument 'st' value is 0 flobopuyo-0.20.orig/scrollingtext.c:77:25: note: Assuming condition is false flobopuyo-0.20.orig/scrollingtext.c:80:27: note: Null pointer dereference flobopuyo-0.20.orig/scrollingtext.c:80:37: warning: If memory allocation fails, then there is a possible null pointer dereference: st [nullPointerOutOfMemory] flobopuyo-0.20.orig/scrollingtext.c:21:45: note: Assuming allocation function fails flobopuyo-0.20.orig/scrollingtext.c:21:22: note: Assignment 'st=(struct ScrollingText*)malloc(sizeof(struct ScrollingText))', assigned value is 0 flobopuyo-0.20.orig/scrollingtext.c:28:41: note: Calling function 'scrolling_text_width', 1st argument 'st' value is 0 flobopuyo-0.20.orig/scrollingtext.c:77:25: note: Assuming condition is false flobopuyo-0.20.orig/scrollingtext.c:80:37: note: Null pointer dereference flobopuyo-0.20.orig/scrollingtext.c:55:58: style: Parameter 'surf' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/preferences.c:234:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flobopuyo-0.20.orig/preferences.c:234:50: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flobopuyo-0.20.orig/preferences.c:274:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flobopuyo-0.20.orig/preferences.c:274:52: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flobopuyo-0.20.orig/preferences.c:168:16: warning: If memory allocation fails, then there is a possible null pointer dereference: home [nullPointerOutOfMemory] flobopuyo-0.20.orig/preferences.c:167:30: note: Assuming allocation function fails flobopuyo-0.20.orig/preferences.c:167:16: note: Assignment 'home=(char*)malloc(strlen(h)+strlen(prefsfile)+2)', assigned value is 0 flobopuyo-0.20.orig/preferences.c:168:16: note: Null pointer dereference flobopuyo-0.20.orig/preferences.c:169:16: warning: If memory allocation fails, then there is a possible null pointer dereference: home [nullPointerOutOfMemory] flobopuyo-0.20.orig/preferences.c:167:30: note: Assuming allocation function fails flobopuyo-0.20.orig/preferences.c:167:16: note: Assignment 'home=(char*)malloc(strlen(h)+strlen(prefsfile)+2)', assigned value is 0 flobopuyo-0.20.orig/preferences.c:169:16: note: Null pointer dereference flobopuyo-0.20.orig/preferences.c:185:23: warning: If memory allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfMemory] flobopuyo-0.20.orig/preferences.c:184:30: note: Assuming allocation function fails flobopuyo-0.20.orig/preferences.c:184:16: note: Assignment 'file=(char*)malloc((unsigned long)(myStat.st_size)+1)', assigned value is 0 flobopuyo-0.20.orig/preferences.c:185:23: note: Null pointer dereference flobopuyo-0.20.orig/preferences.c:162:16: style: Variable 'h' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/preferences.c:253:12: style: Variable 'key' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/sofont.c:78:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/sofont.c:120:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/sofont.c:294:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/sofont.c:388:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCCOLORKEY [valueFlowBailoutIncompleteVar] flobopuyo-0.20.orig/menu.c:37:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:37:3: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:39:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:39:3: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:40:16: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:40:16: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:42:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:42:3: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:44:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:44:3: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:45:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:45:3: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:45:19: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:45:19: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:47:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:47:3: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:47:16: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:47:16: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:47:29: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:47:29: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:53:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:53:3: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:77:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:50:19: note: Calling function 'menu_next_item', 1st argument 'm' value is 0 flobopuyo-0.20.orig/menu.c:92:26: note: Calling function 'menu_change_item_done', 1st argument 'menu' value is 0 flobopuyo-0.20.orig/menu.c:77:3: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:77:15: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:50:19: note: Calling function 'menu_next_item', 1st argument 'm' value is 0 flobopuyo-0.20.orig/menu.c:92:26: note: Calling function 'menu_change_item_done', 1st argument 'menu' value is 0 flobopuyo-0.20.orig/menu.c:77:15: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:78:7: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:50:19: note: Calling function 'menu_next_item', 1st argument 'm' value is 0 flobopuyo-0.20.orig/menu.c:92:26: note: Calling function 'menu_change_item_done', 1st argument 'menu' value is 0 flobopuyo-0.20.orig/menu.c:78:7: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:88:5: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:50:19: note: Calling function 'menu_next_item', 1st argument 'm' value is 0 flobopuyo-0.20.orig/menu.c:88:5: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:89:5: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:50:19: note: Calling function 'menu_next_item', 1st argument 'm' value is 0 flobopuyo-0.20.orig/menu.c:89:5: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:89:26: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:50:19: note: Calling function 'menu_next_item', 1st argument 'm' value is 0 flobopuyo-0.20.orig/menu.c:89:26: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:91:10: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:50:19: note: Calling function 'menu_next_item', 1st argument 'm' value is 0 flobopuyo-0.20.orig/menu.c:91:10: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:256:19: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:48:24: note: Calling function 'menu_update_hauteur', 1st argument 'm' value is 0 flobopuyo-0.20.orig/menu.c:256:19: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:257:30: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:48:24: note: Calling function 'menu_update_hauteur', 1st argument 'm' value is 0 flobopuyo-0.20.orig/menu.c:257:30: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:258:25: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:48:24: note: Calling function 'menu_update_hauteur', 1st argument 'm' value is 0 flobopuyo-0.20.orig/menu.c:258:25: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:271:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] flobopuyo-0.20.orig/menu.c:35:30: note: Assuming allocation function fails flobopuyo-0.20.orig/menu.c:35:15: note: Assignment 'm=(struct Menu*)malloc(sizeof(struct Menu))', assigned value is 0 flobopuyo-0.20.orig/menu.c:48:24: note: Calling function 'menu_update_hauteur', 1st argument 'm' value is 0 flobopuyo-0.20.orig/menu.c:271:3: note: Null pointer dereference flobopuyo-0.20.orig/menu.c:358:71: style:inconclusive: Function 'menu_set_value' argument 4 names different: declaration 'doValidate' definition 'doValide'. [funcArgNamesDifferent] flobopuyo-0.20.orig/menu.h:69:79: note: Function 'menu_set_value' argument 4 names different: declaration 'doValidate' definition 'doValide'. flobopuyo-0.20.orig/menu.c:358:71: note: Function 'menu_set_value' argument 4 names different: declaration 'doValidate' definition 'doValide'. flobopuyo-0.20.orig/menu.c:59:34: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/menu.c:109:46: style: Parameter 'surf' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/menu.c:133:20: style: Variable 'item_surf' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/menu.c:134:15: style: Variable 'item_font' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/menu.c:168:20: style: Variable 'item_surf' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/menu.c:257:18: style: Variable 'item_surf' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/menu.c:308:22: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/PuyoGame.cpp:48:3: portability: Returning an address value in a function with integer return type is not portable. [CastAddressToIntegerAtReturn] flobopuyo-0.20.orig/PuyoGame.cpp:51:11: warning: Member variable 'PuyoPuyo::flag' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoGame.cpp:62:21: style:inconclusive: Technically the member function 'PuyoPuyo::getPuyoState' can be const. [functionConst] flobopuyo-0.20.orig/PuyoGame.h:47:15: note: Technically the member function 'PuyoPuyo::getPuyoState' can be const. flobopuyo-0.20.orig/PuyoGame.cpp:62:21: note: Technically the member function 'PuyoPuyo::getPuyoState' can be const. flobopuyo-0.20.orig/PuyoGame.cpp:57:16: style:inconclusive: Technically the member function 'PuyoPuyo::isFalling' can be const. [functionConst] flobopuyo-0.20.orig/PuyoGame.h:49:20: note: Technically the member function 'PuyoPuyo::isFalling' can be const. flobopuyo-0.20.orig/PuyoGame.cpp:57:16: note: Technically the member function 'PuyoPuyo::isFalling' can be const. flobopuyo-0.20.orig/PuyoGame.cpp:442:15: style:inconclusive: Technically the member function 'PuyoGame::getSamePuyoAround' can be const. [functionConst] flobopuyo-0.20.orig/PuyoGame.h:131:7: note: Technically the member function 'PuyoGame::getSamePuyoAround' can be const. flobopuyo-0.20.orig/PuyoGame.cpp:442:15: note: Technically the member function 'PuyoGame::getSamePuyoAround' can be const. flobopuyo-0.20.orig/PuyoGame.cpp:106:3: warning: Class 'PuyoGame' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] flobopuyo-0.20.orig/PuyoGame.cpp:106:3: warning: Class 'PuyoGame' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] flobopuyo-0.20.orig/PuyoGame.cpp:64:14: style: Condition 'this!=NULL' is always true [knownConditionTrueFalse] flobopuyo-0.20.orig/PuyoGame.cpp:71:12: style: Condition 'this!=NULL' is always true [knownConditionTrueFalse] flobopuyo-0.20.orig/PuyoGame.cpp:77:12: style: Condition 'this!=NULL' is always true [knownConditionTrueFalse] flobopuyo-0.20.orig/PuyoGame.cpp:84:12: style: Condition 'this!=NULL' is always true [knownConditionTrueFalse] flobopuyo-0.20.orig/PuyoGame.cpp:91:12: style: Condition 'this!=NULL' is always true [knownConditionTrueFalse] flobopuyo-0.20.orig/PuyoGame.cpp:44:28: style: C-style pointer casting [cstyleCast] flobopuyo-0.20.orig/PuyoGame.cpp:247:9: style: The scope of the variable 'newX' can be reduced. [variableScope] flobopuyo-0.20.orig/PuyoGame.cpp:247:15: style: The scope of the variable 'newY' can be reduced. [variableScope] flobopuyo-0.20.orig/PuyoGame.cpp:666:14: style: Variable 'cmpt' is assigned a value that is never used. [unreadVariable] flobopuyo-0.20.orig/sofont.c:486:14: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] flobopuyo-0.20.orig/sofont.c:333:6: style: Condition '!font->spacew' is always true [knownConditionTrueFalse] flobopuyo-0.20.orig/sofont.c:332:17: note: Assignment 'font->spacew=0', assigned value is 0 flobopuyo-0.20.orig/sofont.c:333:6: note: Condition '!font->spacew' is always true flobopuyo-0.20.orig/sofont.c:45:2: warning: If memory allocation fails, then there is a possible null pointer dereference: font [nullPointerOutOfMemory] flobopuyo-0.20.orig/sofont.c:43:35: note: Assuming allocation function fails flobopuyo-0.20.orig/sofont.c:43:17: note: Assignment 'font=(struct SoFont*)malloc(sizeof(struct SoFont))', assigned value is 0 flobopuyo-0.20.orig/sofont.c:45:2: note: Null pointer dereference flobopuyo-0.20.orig/sofont.c:46:2: warning: If memory allocation fails, then there is a possible null pointer dereference: font [nullPointerOutOfMemory] flobopuyo-0.20.orig/sofont.c:43:35: note: Assuming allocation function fails flobopuyo-0.20.orig/sofont.c:43:17: note: Assignment 'font=(struct SoFont*)malloc(sizeof(struct SoFont))', assigned value is 0 flobopuyo-0.20.orig/sofont.c:46:2: note: Null pointer dereference flobopuyo-0.20.orig/sofont.c:47:2: warning: If memory allocation fails, then there is a possible null pointer dereference: font [nullPointerOutOfMemory] flobopuyo-0.20.orig/sofont.c:43:35: note: Assuming allocation function fails flobopuyo-0.20.orig/sofont.c:43:17: note: Assignment 'font=(struct SoFont*)malloc(sizeof(struct SoFont))', assigned value is 0 flobopuyo-0.20.orig/sofont.c:47:2: note: Null pointer dereference flobopuyo-0.20.orig/sofont.c:48:2: warning: If memory allocation fails, then there is a possible null pointer dereference: font [nullPointerOutOfMemory] flobopuyo-0.20.orig/sofont.c:43:35: note: Assuming allocation function fails flobopuyo-0.20.orig/sofont.c:43:17: note: Assignment 'font=(struct SoFont*)malloc(sizeof(struct SoFont))', assigned value is 0 flobopuyo-0.20.orig/sofont.c:48:2: note: Null pointer dereference flobopuyo-0.20.orig/sofont.c:49:2: warning: If memory allocation fails, then there is a possible null pointer dereference: font [nullPointerOutOfMemory] flobopuyo-0.20.orig/sofont.c:43:35: note: Assuming allocation function fails flobopuyo-0.20.orig/sofont.c:43:17: note: Assignment 'font=(struct SoFont*)malloc(sizeof(struct SoFont))', assigned value is 0 flobopuyo-0.20.orig/sofont.c:49:2: note: Null pointer dereference flobopuyo-0.20.orig/sofont.c:50:2: warning: If memory allocation fails, then there is a possible null pointer dereference: font [nullPointerOutOfMemory] flobopuyo-0.20.orig/sofont.c:43:35: note: Assuming allocation function fails flobopuyo-0.20.orig/sofont.c:43:17: note: Assignment 'font=(struct SoFont*)malloc(sizeof(struct SoFont))', assigned value is 0 flobopuyo-0.20.orig/sofont.c:50:2: note: Null pointer dereference flobopuyo-0.20.orig/sofont.c:51:2: warning: If memory allocation fails, then there is a possible null pointer dereference: font [nullPointerOutOfMemory] flobopuyo-0.20.orig/sofont.c:43:35: note: Assuming allocation function fails flobopuyo-0.20.orig/sofont.c:43:17: note: Assignment 'font=(struct SoFont*)malloc(sizeof(struct SoFont))', assigned value is 0 flobopuyo-0.20.orig/sofont.c:51:2: note: Null pointer dereference flobopuyo-0.20.orig/sofont.c:52:2: warning: If memory allocation fails, then there is a possible null pointer dereference: font [nullPointerOutOfMemory] flobopuyo-0.20.orig/sofont.c:43:35: note: Assuming allocation function fails flobopuyo-0.20.orig/sofont.c:43:17: note: Assignment 'font=(struct SoFont*)malloc(sizeof(struct SoFont))', assigned value is 0 flobopuyo-0.20.orig/sofont.c:52:2: note: Null pointer dereference flobopuyo-0.20.orig/sofont.c:433:71: style:inconclusive: Function 'SoFont_PutStringWithCursor' argument 3 names different: declaration 'x' definition 'xs'. [funcArgNamesDifferent] flobopuyo-0.20.orig/sofont.h:60:23: note: Function 'SoFont_PutStringWithCursor' argument 3 names different: declaration 'x' definition 'xs'. flobopuyo-0.20.orig/sofont.c:433:71: note: Function 'SoFont_PutStringWithCursor' argument 3 names different: declaration 'x' definition 'xs'. flobopuyo-0.20.orig/sofont.c:22:29: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/sofont.c:28:29: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/sofont.c:34:29: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/sofont.c:73:10: style: Variable 'bits' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/sofont.c:542:58: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/sofont.c:600:39: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] flobopuyo-0.20.orig/sofont.c:260:19: style: Variable 'y' is assigned a value that is never used. [unreadVariable] flobopuyo-0.20.orig/sofont.c:286:26: style: Variable 'p' is assigned a value that is never used. [unreadVariable] flobopuyo-0.20.orig/SDL_prim.c:30:32: style:inconclusive: Function 'SDL_putPixel' argument 1 names different: declaration '' definition 'surf'. [funcArgNamesDifferentUnnamed] flobopuyo-0.20.orig/SDL_prim.c:72:34: style:inconclusive: Function 'SDL_getPixel' argument 1 names different: declaration '' definition 'surf'. [funcArgNamesDifferentUnnamed] flobopuyo-0.20.orig/SDL_prim.c:89:42: style:inconclusive: Function '__slow_SDL_blendPixel' argument 1 names different: declaration '' definition 'surf'. [funcArgNamesDifferentUnnamed] flobopuyo-0.20.orig/SDL_prim.c:89:52: style:inconclusive: Function '__slow_SDL_blendPixel' argument 2 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] flobopuyo-0.20.orig/SDL_prim.c:89:59: style:inconclusive: Function '__slow_SDL_blendPixel' argument 3 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] flobopuyo-0.20.orig/SDL_prim.c:89:69: style:inconclusive: Function '__slow_SDL_blendPixel' argument 4 names different: declaration '' definition 'clr'. [funcArgNamesDifferentUnnamed] flobopuyo-0.20.orig/SDL_prim.c:90:35: style:inconclusive: Function '__slow_SDL_blendPixel' argument 5 names different: declaration '' definition 'alpha'. [funcArgNamesDifferentUnnamed] flobopuyo-0.20.orig/SDL_prim.c:114:35: style:inconclusive: Function 'SDL_blendPixel' argument 1 names different: declaration '' definition 'surf'. [funcArgNamesDifferentUnnamed] flobopuyo-0.20.orig/SDL_prim.c:161:36: style:inconclusive: Function 'SDL_drawLine_TG' argument 1 names different: declaration '' definition 'surf'. [funcArgNamesDifferentUnnamed] flobopuyo-0.20.orig/SDL_prim.c:264:38: style:inconclusive: Function 'SDL_drawCircle_TG' argument 1 names different: declaration '' definition 'surf'. [funcArgNamesDifferentUnnamed] flobopuyo-0.20.orig/SDL_prim.c:264:48: style:inconclusive: Function 'SDL_drawCircle_TG' argument 2 names different: declaration 'x' definition 'x1'. [funcArgNamesDifferent] flobopuyo-0.20.orig/SDL_prim.h:53:43: note: Function 'SDL_drawCircle_TG' argument 2 names different: declaration 'x' definition 'x1'. flobopuyo-0.20.orig/SDL_prim.c:264:48: note: Function 'SDL_drawCircle_TG' argument 2 names different: declaration 'x' definition 'x1'. flobopuyo-0.20.orig/SDL_prim.c:264:56: style:inconclusive: Function 'SDL_drawCircle_TG' argument 3 names different: declaration 'y' definition 'y1'. [funcArgNamesDifferent] flobopuyo-0.20.orig/SDL_prim.h:53:50: note: Function 'SDL_drawCircle_TG' argument 3 names different: declaration 'y' definition 'y1'. flobopuyo-0.20.orig/SDL_prim.c:264:56: note: Function 'SDL_drawCircle_TG' argument 3 names different: declaration 'y' definition 'y1'. flobopuyo-0.20.orig/SDL_prim.c:504:39: style:inconclusive: Function 'SDL_drawTriangle_TG' argument 1 names different: declaration '' definition 'surf'. [funcArgNamesDifferentUnnamed] flobopuyo-0.20.orig/SDL_prim.c:504:49: style:inconclusive: Function 'SDL_drawTriangle_TG' argument 2 names different: declaration 'x' definition 'x1'. [funcArgNamesDifferent] flobopuyo-0.20.orig/SDL_prim.h:55:45: note: Function 'SDL_drawTriangle_TG' argument 2 names different: declaration 'x' definition 'x1'. flobopuyo-0.20.orig/SDL_prim.c:504:49: note: Function 'SDL_drawTriangle_TG' argument 2 names different: declaration 'x' definition 'x1'. flobopuyo-0.20.orig/SDL_prim.c:504:57: style:inconclusive: Function 'SDL_drawTriangle_TG' argument 3 names different: declaration 'y' definition 'y1'. [funcArgNamesDifferent] flobopuyo-0.20.orig/SDL_prim.h:55:52: note: Function 'SDL_drawTriangle_TG' argument 3 names different: declaration 'y' definition 'y1'. flobopuyo-0.20.orig/SDL_prim.c:504:57: note: Function 'SDL_drawTriangle_TG' argument 3 names different: declaration 'y' definition 'y1'. flobopuyo-0.20.orig/SDL_prim.c:164:30: style: Variable 'b2' can be declared as pointer to const [constVariablePointer] flobopuyo-0.20.orig/PuyoStarter.cpp:186:14: warning: Member variable 'PuyoStarter::lives' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoStarter.cpp:186:14: warning: Member variable 'PuyoStarter::score1' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoStarter.cpp:186:14: warning: Member variable 'PuyoStarter::score2' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/PuyoStarter.cpp:186:14: warning: Member variable 'PuyoStarter::gameSpeed' is not initialized in the constructor. [uninitMemberVar] flobopuyo-0.20.orig/SDL_prim.c:206:6: style: Variable 'b2' is assigned a value that is never used. [unreadVariable] flobopuyo-0.20.orig/SDL_prim.c:215:6: style: Variable 'b2' is assigned a value that is never used. [unreadVariable] flobopuyo-0.20.orig/SDL_prim.c:267:48: style: Variable 'fy' is assigned a value that is never used. [unreadVariable] flobopuyo-0.20.orig/PuyoStarter.cpp:286:5: warning: Class 'PuyoStarter' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] flobopuyo-0.20.orig/PuyoStarter.cpp:286:5: warning: Class 'PuyoStarter' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] flobopuyo-0.20.orig/SDL_prim.c:514:11: style: Variable 'aaoffset' is assigned a value that is never used. [unreadVariable] flobopuyo-0.20.orig/PuyoStarter.cpp:658:62: style: Condition 'rightPlayerWin()' is always true [knownConditionTrueFalse] flobopuyo-0.20.orig/PuyoStarter.cpp:657:39: note: Assuming that condition 'rightPlayerWin()' is not redundant flobopuyo-0.20.orig/PuyoStarter.cpp:658:62: note: Condition 'rightPlayerWin()' is always true flobopuyo-0.20.orig/PuyoStarter.cpp:768:25: style: Condition '!paused' is always true [knownConditionTrueFalse] flobopuyo-0.20.orig/PuyoStarter.cpp:754:17: note: Assuming that condition '!paused' is not redundant flobopuyo-0.20.orig/PuyoStarter.cpp:768:25: note: Condition '!paused' is always true flobopuyo-0.20.orig/PuyoStarter.cpp:337:27: style:inconclusive: Function 'run' argument 1 names different: declaration 'score1' definition '_score1'. [funcArgNamesDifferent] flobopuyo-0.20.orig/PuyoStarter.h:12:18: note: Function 'run' argument 1 names different: declaration 'score1' definition '_score1'. flobopuyo-0.20.orig/PuyoStarter.cpp:337:27: note: Function 'run' argument 1 names different: declaration 'score1' definition '_score1'. flobopuyo-0.20.orig/PuyoStarter.cpp:337:40: style:inconclusive: Function 'run' argument 2 names different: declaration 'score2' definition '_score2'. [funcArgNamesDifferent] flobopuyo-0.20.orig/PuyoStarter.h:12:30: note: Function 'run' argument 2 names different: declaration 'score2' definition '_score2'. flobopuyo-0.20.orig/PuyoStarter.cpp:337:40: note: Function 'run' argument 2 names different: declaration 'score2' definition '_score2'. flobopuyo-0.20.orig/PuyoStarter.cpp:203:26: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] diff: head flobopuyo-0.20.orig/AnimatedPuyo.cpp:97:15: style: Variable 'attachedGame' can be declared as pointer to const [constVariablePointer] head flobopuyo-0.20.orig/SDL_prim.c:114:35: style:inconclusive: Function 'SDL_blendPixel' argument 1 names different: declaration '' definition 'surf'. [funcArgNamesDifferentUnnamed] head flobopuyo-0.20.orig/SDL_prim.c:161:36: style:inconclusive: Function 'SDL_drawLine_TG' argument 1 names different: declaration '' definition 'surf'. [funcArgNamesDifferentUnnamed] head flobopuyo-0.20.orig/SDL_prim.c:264:38: style:inconclusive: Function 'SDL_drawCircle_TG' argument 1 names different: declaration '' definition 'surf'. [funcArgNamesDifferentUnnamed] head flobopuyo-0.20.orig/SDL_prim.c:30:32: style:inconclusive: Function 'SDL_putPixel' argument 1 names different: declaration '' definition 'surf'. [funcArgNamesDifferentUnnamed] head flobopuyo-0.20.orig/SDL_prim.c:504:39: style:inconclusive: Function 'SDL_drawTriangle_TG' argument 1 names different: declaration '' definition 'surf'. [funcArgNamesDifferentUnnamed] head flobopuyo-0.20.orig/SDL_prim.c:72:34: style:inconclusive: Function 'SDL_getPixel' argument 1 names different: declaration '' definition 'surf'. [funcArgNamesDifferentUnnamed] head flobopuyo-0.20.orig/SDL_prim.c:89:42: style:inconclusive: Function '__slow_SDL_blendPixel' argument 1 names different: declaration '' definition 'surf'. [funcArgNamesDifferentUnnamed] head flobopuyo-0.20.orig/SDL_prim.c:89:52: style:inconclusive: Function '__slow_SDL_blendPixel' argument 2 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head flobopuyo-0.20.orig/SDL_prim.c:89:59: style:inconclusive: Function '__slow_SDL_blendPixel' argument 3 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] head flobopuyo-0.20.orig/SDL_prim.c:89:69: style:inconclusive: Function '__slow_SDL_blendPixel' argument 4 names different: declaration '' definition 'clr'. [funcArgNamesDifferentUnnamed] head flobopuyo-0.20.orig/SDL_prim.c:90:35: style:inconclusive: Function '__slow_SDL_blendPixel' argument 5 names different: declaration '' definition 'alpha'. [funcArgNamesDifferentUnnamed] 2.20.0 flobopuyo-0.20.orig/preferences.c:170:16: warning: If memory allocation fails, then there is a possible null pointer dereference: home [nullPointerOutOfMemory] flobopuyo-0.20.orig/preferences.c:167:30: note: Assuming allocation function fails flobopuyo-0.20.orig/preferences.c:167:16: note: Assignment 'home=(char*)malloc(strlen(h)+strlen(prefsfile)+2)', assigned value is 0 flobopuyo-0.20.orig/preferences.c:170:16: note: Null pointer dereference 2.20.0 flobopuyo-0.20.orig/preferences.c:186:9: warning: If memory allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfMemory] flobopuyo-0.20.orig/preferences.c:184:30: note: Assuming allocation function fails flobopuyo-0.20.orig/preferences.c:184:16: note: Assignment 'file=(char*)malloc((unsigned long)(myStat.st_size)+1)', assigned value is 0 flobopuyo-0.20.orig/preferences.c:186:9: note: Null pointer dereference DONE