2025-06-29 20:12 ftp://ftp.de.debian.org/debian/pool/main/p/passage/passage_4+dfsg1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --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-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: ca83f56 (2025-06-29 00:31:22 +0200) count: 639 623 elapsed-time: 10.1 10.3 head-timing-info: old-timing-info: head results: passage-4+dfsg1.orig/gamma256/gameSource/Envelope.cpp:13:11: warning: Class 'Envelope' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] passage-4+dfsg1.orig/gamma256/gameSource/Envelope.cpp:13:11: warning: Class 'Envelope' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] passage-4+dfsg1.orig/gamma256/gameSource/blowUp.cpp:20:22: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/gamma256/gameSource/blowUp.cpp:7:32: style: Parameter 'inImage' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/gamma256/gameSource/Timbre.cpp:90:11: warning: Class 'Timbre' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] passage-4+dfsg1.orig/gamma256/gameSource/Timbre.cpp:90:11: warning: Class 'Timbre' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/testScreenDrawer.cpp:17:32: style: Parameter 'inScreenBuffer' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/blowUp.cpp:7:32: style: Parameter 'inImage' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/gamma256/gameSource/landscape.cpp:103:38: warning: Logical conjunction always evaluates to false: landscapeSample >= 0 && landscapeSample < 0. [incorrectLogicOperator] passage-4+dfsg1.orig/gamma256/gameSource/landscape.cpp:103:38: style: Opposite expression on both sides of '&&'. [oppositeExpression] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:1435:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHEST_CLOSED [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:1547:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:351:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:606:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mData [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:632:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:670:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:735:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:75:29: style:inconclusive: Technically the member function 'HashTable < char >::computeHash' can be const. [functionConst] passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:30:13: note: Technically the member function 'HashTable < char >::computeHash' can be const. passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:75:29: note: Technically the member function 'HashTable < char >::computeHash' can be const. passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:43:11: warning: Class 'HashTable < char >' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:43:11: warning: Class 'HashTable < char >' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:6:9: style: Class 'HashTable < char >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/gamma256/gameSource/map.cpp:177:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:122:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PRESSED [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:216:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_DOUBLEBUF [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:258:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_DOUBLEBUF [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:315:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HWSURFACE [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:346:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:708:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_s [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/musicPlayer.cpp:345:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/musicPlayer.cpp:593:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUDIO_S16 [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/testMusicPlayer.cpp:28:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:606:26: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:704:64: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:718:64: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/gamma256/gameSource/testNoise.cpp:7:28: style:inconclusive: Boolean expression '0x01==1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] passage-4+dfsg1.orig/gamma256/gameSource/testNoise.cpp:7:28: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] passage-4+dfsg1.orig/gamma256/gameSource/testNoise.cpp:7:35: style: The comparison '0x01 == 1' is always true. [knownConditionTrueFalse] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:508:14: style: Local variable 'y' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:396:12: note: Shadowed declaration passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:508:14: note: Shadow variable passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:516:18: style: Local variable 'x' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:396:9: note: Shadowed declaration passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:516:18: note: Shadow variable passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:217:17: style: Variable 'waveTable' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:220:17: style: Variable 'envLevels' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:377:13: style: Variable 'redChannel' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/musicPlayer.cpp:378:13: style: Variable 'greenChannel' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/musicPlayer.cpp:502:14: style: Local variable 'y' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/gamma256/gameSource/musicPlayer.cpp:390:12: note: Shadowed declaration passage-4+dfsg1.orig/gamma256/gameSource/musicPlayer.cpp:502:14: note: Shadow variable passage-4+dfsg1.orig/gamma256/gameSource/musicPlayer.cpp:510:18: style: Local variable 'x' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/gamma256/gameSource/musicPlayer.cpp:390:9: note: Shadowed declaration passage-4+dfsg1.orig/gamma256/gameSource/musicPlayer.cpp:510:18: note: Shadow variable passage-4+dfsg1.orig/gamma256/gameSource/musicPlayer.cpp:211:17: style: Variable 'waveTable' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/musicPlayer.cpp:214:17: style: Variable 'envLevels' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/musicPlayer.cpp:371:13: style: Variable 'redChannel' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/musicPlayer.cpp:372:13: style: Variable 'greenChannel' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:642:15: style: Boolean value assigned to floating point variable. [assignBoolToFloat] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:655:15: style: Boolean value assigned to floating point variable. [assignBoolToFloat] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:722:15: style: Boolean value assigned to floating point variable. [assignBoolToFloat] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:438:9: style: Condition 'fullScreen' is always true [knownConditionTrueFalse] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:427:18: note: Assignment 'fullScreen=true', assigned value is 1 passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:438:9: note: Condition 'fullScreen' is always true passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:915:13: style: Condition '!stepDX' is always false [knownConditionTrueFalse] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:888:18: note: Assignment 'stepDX=true', assigned value is 1 passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:915:13: note: Condition '!stepDX' is always false passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/sdlTest.cpp:49:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/landscape.cpp:103:38: warning: Logical conjunction always evaluates to false: landscapeSample >= 0 && landscapeSample < 0. [incorrectLogicOperator] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/sdlTest.cpp:64:22: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/sdlTest.cpp:23:2: style: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/sdlTest.cpp:64:13: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/landscape.cpp:103:38: style: Opposite expression on both sides of '&&'. [oppositeExpression] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:948:28: style: Redundant initialization for 'worldX'. The initialized value is overwritten before it is read. [redundantInitialization] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:940:31: note: worldX is initialized passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:948:28: note: worldX is overwritten passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:815:14: style: Local variable 'i' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:763:9: note: Shadowed declaration passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:815:14: note: Shadow variable passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:809:13: style: Variable 'titleRed' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:810:13: style: Variable 'titleGreen' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/iPhone/game.cpp:811:13: style: Variable 'titleBlue' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:346:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PRESSED [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:427:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1Test.cpp:74:37: warning: If memory allocation fails, then there is a possible null pointer dereference: testString [nullPointerOutOfMemory] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1Test.cpp:73:30: note: Assuming allocation function fails passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1Test.cpp:73:30: note: Assignment 'testString=strdup("this is a very long chat message, so long in fact that we are going to put this program through the mill even longer: this is a very long chat message, so long in fact that we are going to put this program through the mill")', assigned value is 0 passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1Test.cpp:74:37: note: Null pointer dereference passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1Test.cpp:78:43: warning: If memory allocation fails, then there is a possible null pointer dereference: testString [nullPointerOutOfMemory] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1Test.cpp:73:30: note: Assuming allocation function fails passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1Test.cpp:73:30: note: Assignment 'testString=strdup("this is a very long chat message, so long in fact that we are going to put this program through the mill even longer: this is a very long chat message, so long in fact that we are going to put this program through the mill")', assigned value is 0 passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1Test.cpp:78:43: note: Null pointer dereference passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1Test.cpp:88:39: style: Parameter 'inTestName' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1Test.cpp:88:57: style: Parameter 'inCorrectHash' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1sum.cpp:95:19: style: Parameter 'inAppName' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/formats/encodingUtilsTest.cpp:28:36: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/formats/encodingUtilsTest.cpp:39:13: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/formats/encodingUtilsTest.cpp:39:29: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/formats/encodingUtils.cpp:282:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] passage-4+dfsg1.orig/minorGems/formats/encodingUtils.cpp:298:42: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] passage-4+dfsg1.orig/minorGems/formats/encodingUtils.cpp:405:51: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] passage-4+dfsg1.orig/minorGems/formats/encodingUtils.cpp:419:50: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] passage-4+dfsg1.orig/minorGems/formats/encodingUtils.cpp:359:9: style: The scope of the variable 'blockCount' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/formats/encodingUtils.cpp:132:33: style: Parameter 'inData' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/formats/encodingUtils.cpp:158:33: style: Parameter 'inHexString' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/formats/encodingUtils.cpp:233:36: style: Parameter 'inData' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/formats/encodingUtils.cpp:329:36: style: Parameter 'inBase64String' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:152:9: warning:inconclusive: Member variable 'Animation::mX' is not initialized in the constructor. [uninitMemberVar] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:152:9: warning:inconclusive: Member variable 'Animation::mY' is not initialized in the constructor. [uninitMemberVar] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:152:9: warning:inconclusive: Member variable 'Animation::mFrameW' is not initialized in the constructor. [uninitMemberVar] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:152:9: warning:inconclusive: Member variable 'Animation::mFrameH' is not initialized in the constructor. [uninitMemberVar] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:152:9: warning:inconclusive: Member variable 'Animation::mImageW' is not initialized in the constructor. [uninitMemberVar] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:152:9: warning:inconclusive: Member variable 'Animation::mPageNumber' is not initialized in the constructor. [uninitMemberVar] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:152:9: warning:inconclusive: Member variable 'Animation::mNumPages' is not initialized in the constructor. [uninitMemberVar] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:152:9: warning:inconclusive: Member variable 'Animation::mFrameNumber' is not initialized in the constructor. [uninitMemberVar] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:152:9: warning:inconclusive: Member variable 'Animation::mNumFrames' is not initialized in the constructor. [uninitMemberVar] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:152:9: warning:inconclusive: Member variable 'Animation::mAutoStep' is not initialized in the constructor. [uninitMemberVar] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:152:9: warning:inconclusive: Member variable 'Animation::mRemoveAtEnd' is not initialized in the constructor. [uninitMemberVar] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:152:9: warning:inconclusive: Member variable 'Animation::mGraphics' is not initialized in the constructor. [uninitMemberVar] passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:75:29: style:inconclusive: Technically the member function 'HashTable < rgbColorStruct >::computeHash' can be const. [functionConst] passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:30:13: note: Technically the member function 'HashTable < rgbColorStruct >::computeHash' can be const. passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:75:29: note: Technically the member function 'HashTable < rgbColorStruct >::computeHash' can be const. passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:27:13: warning: Class 'GraphicContainer' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:27:13: warning: Class 'GraphicContainer' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:43:11: warning: Class 'HashTable < rgbColorStruct >' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:43:11: warning: Class 'HashTable < rgbColorStruct >' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:19:9: style: Class 'GraphicContainer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:6:9: style: Class 'HashTable < rgbColorStruct >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:490:61: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:427:17: style: The scope of the variable 'animBlendIndex' can be reduced. [variableScope] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:595:13: style: Local variable 'imageY' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:553:9: note: Shadowed declaration passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:595:13: note: Shadow variable passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:596:13: style: Local variable 'imageX' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:554:9: note: Shadowed declaration passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:596:13: note: Shadow variable passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:620:13: style: Local variable 'imageIndex' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:571:9: note: Shadowed declaration passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:620:13: note: Shadow variable passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:115:60: performance: Function parameter 'inItem' should be passed by const reference. [passedByValue] passage-4+dfsg1.orig/gamma256/gameSource/World.cpp:872:16: style: Variable 'spouseAnimation' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:795:9: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:239:61: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:91:22: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:477:22: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:545:28: style: Redundant initialization for 'worldX'. The initialized value is overwritten before it is read. [redundantInitialization] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:537:31: note: worldX is initialized passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:545:28: note: worldX is overwritten passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:73:2: style: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:79:32: style: Parameter 'inImage' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:345:9: style: Variable 'keys' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:477:13: style: Variable 'pixels' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/graphics/converters/PNGImageConverter.h:40:9: style: Class 'PNGImageConverter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:517:36: style: Variable 'gameImageIndex' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/graphics/converters/PNGImageConverter.cpp:114:22: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/PNGImageConverter.cpp:118:36: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/PNGImageConverter.cpp:144:30: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:486:9: style: Variable 'yOffset' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/graphics/converters/PNGImageConverter.cpp:237:23: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:487:9: style: Variable 'xOffset' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:511:14: style: Variable 'someBlocksDrawn' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:517:21: style: Variable 'gameImageIndex' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/graphics/converters/PNGImageConverter.cpp:32:19: style: The scope of the variable 'c' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/PNGImageConverter.cpp:85:45: style: Parameter 'inData' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/graphics/converters/JPEGImageConverter.h:89:32: style:inconclusive: Either there is a missing 'override', or the member function 'JPEGImageConverter::getQuality' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/JPEGImageConverter.h:51:7: note: Either there is a missing 'override', or the member function 'JPEGImageConverter::getQuality' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/JPEGImageConverter.h:89:32: note: Either there is a missing 'override', or the member function 'JPEGImageConverter::getQuality' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/JPEGImageConverter.h:33:3: style: Class 'JPEGImageConverter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/minorGems/graphics/converters/libpngSample.cpp:18:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/converters/unix/JPEGImageConverterUnix.cpp:298:2: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] passage-4+dfsg1.orig/minorGems/graphics/converters/BMPImageConverter.h:124:10: style: Variable 'red' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/graphics/converters/BMPImageConverter.h:125:10: style: Variable 'green' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/graphics/converters/BMPImageConverter.h:126:10: style: Variable 'blue' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/graphics/converters/libpngSample.cpp:92:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:34:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:62:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mWidth [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:81:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:99:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mHeight [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:130:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:142:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:150:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:49:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:75:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:105:24: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:115:19: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:116:10: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:116:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:130:27: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:132:22: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:142:27: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:150:27: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:134:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] passage-4+dfsg1.orig/minorGems/graphics/loadFile.cpp:24:24: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/loadFile.cpp:63:24: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/loadFile.cpp:24:15: style: Variable 'numBytesRead' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/graphics/loadFile.cpp:63:15: style: Variable 'numBytesRead' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/graphics/linux/SDLTest.cpp:80:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:113:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDSpColorNeeds_Require [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:185:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDSpContextState_Inactive [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:211:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDSpBufferKind_Normal [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:273:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thePort [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:288:14: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:229:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:238:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:125:11: style: Variable 'theError' is reassigned a value before the old one has been used. [redundantAssignment] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:118:11: note: theError is assigned passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:125:11: note: theError is overwritten passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:128:11: style: Variable 'theError' is reassigned a value before the old one has been used. [redundantAssignment] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:125:11: note: theError is assigned passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:128:11: note: theError is overwritten passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:130:11: style: Variable 'theError' is reassigned a value before the old one has been used. [redundantAssignment] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:128:11: note: theError is assigned passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:130:11: note: theError is overwritten passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:137:11: style: Variable 'theError' is reassigned a value before the old one has been used. [redundantAssignment] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:130:11: note: theError is assigned passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:137:11: note: theError is overwritten passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:144:11: style: Variable 'theError' is reassigned a value before the old one has been used. [redundantAssignment] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:137:11: note: theError is assigned passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:144:11: note: theError is overwritten passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:148:11: style: Variable 'theError' is reassigned a value before the old one has been used. [redundantAssignment] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:144:11: note: theError is assigned passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:148:11: note: theError is overwritten passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:185:11: style: Variable 'theError' is reassigned a value before the old one has been used. [redundantAssignment] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:182:11: note: theError is assigned passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:185:11: note: theError is overwritten passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:188:11: style: Variable 'theError' is reassigned a value before the old one has been used. [redundantAssignment] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:185:11: note: theError is assigned passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:188:11: note: theError is overwritten passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:191:11: style: Variable 'theError' is reassigned a value before the old one has been used. [redundantAssignment] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:188:11: note: theError is assigned passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:191:11: note: theError is overwritten passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:211:11: style: Variable 'theError' is reassigned a value before the old one has been used. [redundantAssignment] passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:205:11: note: theError is assigned passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:211:11: note: theError is overwritten passage-4+dfsg1.orig/minorGems/graphics/test/rgb2yiq.cpp:60:19: style: Parameter 'inAppName' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/graphics/test/rgb2yiq.cpp:82:11: style: Variable 'channel' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/graphics/test/tgaConverter.cpp:88:19: style: Parameter 'inAppName' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/graphics/test/tgaConverter.cpp:114:11: style: Variable 'channel' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/graphics/test/yiq2rgb.cpp:58:19: style: Parameter 'inAppName' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/graphics/test/yiq2rgb.cpp:80:11: style: Variable 'channel' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/graphics/linux/SDLTest.cpp:26:9: style: Unused variable: j [unusedVariable] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:113:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DD_OK [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:297:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNDCLASSEX [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:430:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DDLOCK_SURFACEMEMORYPTR [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:773:28: style: Redundant initialization for 'worldX'. The initialized value is overwritten before it is read. [redundantInitialization] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:765:31: note: worldX is initialized passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:773:28: note: worldX is overwritten passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:114:2: style: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:517:9: style: The scope of the variable 'exploreScore' can be reduced. [variableScope] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:592:14: style: Local variable 'i' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:540:9: note: Shadowed declaration passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:592:14: note: Shadow variable passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:887:31: style: Local variable 'titleRed' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:586:13: note: Shadowed declaration passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:887:31: note: Shadow variable passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:888:31: style: Local variable 'titleGreen' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:587:13: note: Shadowed declaration passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:888:31: note: Shadow variable passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:889:31: style: Local variable 'titleBlue' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:588:13: note: Shadowed declaration passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:889:31: note: Shadow variable passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:121:9: style: Variable 'keys' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:586:13: style: Variable 'titleRed' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:587:13: style: Variable 'titleGreen' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:588:13: style: Variable 'titleBlue' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/gamma256/gameSource/game.cpp:644:17: style: Variable 'stepDX' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/io/file/win32/dirent.cpp:87:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/file/win32/dirent.cpp:115:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/file/win32/dirent.cpp:135:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/file/win32/dirent.cpp:151:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/linux/TypeIOLinux.cpp:46:32: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/linux/TypeIOLinux.cpp:94:32: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/linux/TypeIOLinux.cpp:66:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] passage-4+dfsg1.orig/minorGems/io/linux/TypeIOLinux.cpp:114:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] passage-4+dfsg1.orig/minorGems/io/linux/TypeIOLinux.cpp:66:32: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] passage-4+dfsg1.orig/minorGems/io/linux/TypeIOLinux.cpp:114:32: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:180:20: style: Condition 'index<256' is always true [knownConditionTrueFalse] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:164:21: note: Assuming that condition 'index<256' is not redundant passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:180:20: note: Condition 'index<256' is always true passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:151:23: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:258:13: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:306:27: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:433:20: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:253:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:260:8: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:266:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:276:11: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:420:9: style: The scope of the variable 'bufferHigh' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:421:9: style: The scope of the variable 'bufferWide' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:414:36: style: Parameter 'bufferB' can be declared as reference to const [constParameterReference] passage-4+dfsg1.orig/minorGems/io/file/Path.h:421:13: warning: Class 'Path' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] passage-4+dfsg1.orig/minorGems/io/file/Path.h:421:13: warning: Class 'Path' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] passage-4+dfsg1.orig/minorGems/io/file/Path.h:123:9: style: Class 'Path' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/minorGems/io/file/Path.h:535:30: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/file/testPath.cpp:17:11: style: Variable 'pathString' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/io/serialPort/SerialPortFromFile.cpp:24:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/SerialPortFromFile.cpp:31:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/SerialPortFromFile.cpp:47:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/file/win32/dirent.cpp:67:19: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/file/win32/dirent.cpp:68:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/serialPort/SerialPortFromFile.cpp:32:22: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/serialPort/SerialPortFromFile.cpp:48:22: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/serialPort/linux/SerialPortLinux.cpp:46:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/linux/SerialPortLinux.cpp:182:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/linux/SerialPortLinux.cpp:200:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/linux/SerialPortLinux.cpp:228:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/linux/SerialPortLinux.cpp:259:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/linux/SerialPortLinux.cpp:66:9: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] passage-4+dfsg1.orig/minorGems/io/serialPort/linux/SerialPortLinux.cpp:57:32: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/serialPort/linux/SerialPortLinux.cpp:184:13: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/serialPort/linux/SerialPortLinux.cpp:202:13: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/serialPort/linux/SerialPortLinux.cpp:230:13: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/serialPort/linux/SerialPortLinux.cpp:261:12: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/serialPort/linux/SerialPortLinux.cpp:201:32: style: Variable 'serialPortObject' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/io/serialPort/linux/SerialPortLinux.cpp:208:15: style: Variable 'endLineString' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/io/serialPort/linux/SerialPortLinux.cpp:260:31: style: Variable 'serialPortObject' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:45:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thePortHandle [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:70:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theDCB [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:85:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thePortHandle [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:100:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thePortHandle [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:116:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theDCB [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:127:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theDCB [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:139:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theDCB [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:168:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thePortHandle [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:188:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thePortHandle [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:201:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thePortHandle [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:223:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thePortHandle [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:246:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thePortHandle [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:265:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theDCB [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:277:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theDCB [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:291:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thePortHandle [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:328:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theDCB [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:351:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thePortHandle [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:369:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thePortHandle [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:384:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theDCB [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:395:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theDCB [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:406:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theDCB [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:417:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theDCB [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:427:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theDCB [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.cpp:437:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theDCB [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/win32/TypeIOWin32.cpp:26:32: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/win32/TypeIOWin32.cpp:46:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] passage-4+dfsg1.orig/minorGems/io/win32/TypeIOWin32.cpp:46:32: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/SerialPortWin32.cpp:106:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/SerialPortWin32.cpp:113:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/SerialPortWin32.cpp:122:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/SerialPortWin32.cpp:148:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/SerialPortWin32.cpp:187:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/numtest.cpp:32:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] passage-4+dfsg1.orig/minorGems/numtest.cpp:41:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] passage-4+dfsg1.orig/minorGems/numtest.cpp:41:32: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] passage-4+dfsg1.orig/minorGems/numtest.cpp:41:17: style: Variable 'doubleBuffer' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/COMPort.h:88:5: style: Class 'COMPort' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/SerialPortWin32.cpp:106:28: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/SerialPortWin32.cpp:114:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/SerialPortWin32.cpp:123:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/SerialPortWin32.cpp:126:39: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/SerialPortWin32.cpp:130:46: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/SerialPortWin32.cpp:149:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/io/serialPort/win32/SerialPortWin32.cpp:188:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/FinishedSignalThreadManager.cpp:31:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mStopSignal [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/FinishedSignalThreadManager.cpp:75:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mStopSignal [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/ThreadSafePrinter.h:61:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/Thread.h:118:14: style:inconclusive: Technically the member function 'Thread::isDetatched' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/system/TestThread.h:45:4: style: The destructor '~TestThread' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/system/Thread.h:58:12: note: Virtual destructor in base class passage-4+dfsg1.orig/minorGems/system/TestThread.h:45:4: note: Destructor in derived class passage-4+dfsg1.orig/minorGems/system/TestThread.h:48:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/system/Thread.h:80:16: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/system/TestThread.h:48:8: note: Function in derived class passage-4+dfsg1.orig/minorGems/system/linux/MutexLockLinux.cpp:34:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/linux/BinarySemaphoreLinux.cpp:38:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointerA [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/linux/MutexLockLinux.cpp:49:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/linux/BinarySemaphoreLinux.cpp:64:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointerA [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/linux/MutexLockLinux.cpp:63:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/linux/BinarySemaphoreLinux.cpp:92:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointerA [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/linux/MutexLockLinux.cpp:73:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/linux/BinarySemaphoreLinux.cpp:174:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointerA [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/linux/MutexLockLinux.cpp:38:3: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/MutexLockLinux.cpp:49:3: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/MutexLockLinux.cpp:63:3: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/MutexLockLinux.cpp:73:3: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/ThreadLinux.cpp:71:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/linux/ThreadLinux.cpp:78:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/linux/ThreadLinux.cpp:86:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mIsDetached [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/linux/ThreadLinux.cpp:110:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/linux/ThreadLinux.cpp:71:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/ThreadLinux.cpp:78:29: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/ThreadLinux.cpp:89:29: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/ThreadLinux.cpp:97:24: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/ThreadLinux.cpp:110:29: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/ThreadLinux.cpp:144:24: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/BinarySemaphoreLinux.cpp:38:26: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/BinarySemaphoreLinux.cpp:42:3: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/BinarySemaphoreLinux.cpp:49:26: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/BinarySemaphoreLinux.cpp:53:3: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/BinarySemaphoreLinux.cpp:64:3: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/BinarySemaphoreLinux.cpp:75:3: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/BinarySemaphoreLinux.cpp:92:3: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/BinarySemaphoreLinux.cpp:96:3: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/BinarySemaphoreLinux.cpp:174:3: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/linux/BinarySemaphoreLinux.cpp:178:3: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/win32/BinarySemaphoreWin32.cpp:35:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointerA [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/win32/BinarySemaphoreWin32.cpp:52:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointerA [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/win32/BinarySemaphoreWin32.cpp:66:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointerA [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/win32/BinarySemaphoreWin32.cpp:91:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointerA [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/win32/LauncherWin32.cpp:23:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _P_NOWAIT [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/win32/MutexLockWin32.cpp:39:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/win32/MutexLockWin32.cpp:55:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/win32/MutexLockWin32.cpp:68:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/win32/MutexLockWin32.cpp:77:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/semaphoreTest.cpp:33:14: style:inconclusive: Member variable 'WaitingThread::mSemaphore' is in the wrong place in the initializer list. [initializerList] passage-4+dfsg1.orig/minorGems/system/semaphoreTest.cpp:39:17: note: Member variable 'WaitingThread::mSemaphore' is in the wrong place in the initializer list. passage-4+dfsg1.orig/minorGems/system/semaphoreTest.cpp:33:14: note: Member variable 'WaitingThread::mSemaphore' is in the wrong place in the initializer list. passage-4+dfsg1.orig/minorGems/system/win32/BinarySemaphoreWin32.cpp:35:26: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/win32/BinarySemaphoreWin32.cpp:38:29: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/win32/BinarySemaphoreWin32.cpp:52:29: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/win32/BinarySemaphoreWin32.cpp:66:29: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/win32/BinarySemaphoreWin32.cpp:91:29: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/Semaphore.h:105:2: warning: Class 'Semaphore' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] passage-4+dfsg1.orig/minorGems/system/Semaphore.h:105:2: warning: Class 'Semaphore' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] passage-4+dfsg1.orig/minorGems/system/Semaphore.h:56:3: style: Class 'Semaphore' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/minorGems/system/semaphoreTest.cpp:62:3: style: Class 'SignalingThread' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/minorGems/system/semaphoreTest.cpp:30:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/system/Thread.h:80:16: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/system/semaphoreTest.cpp:30:8: note: Function in derived class passage-4+dfsg1.orig/minorGems/system/semaphoreTest.cpp:65:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/system/Thread.h:80:16: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/system/semaphoreTest.cpp:65:8: note: Function in derived class passage-4+dfsg1.orig/minorGems/system/win32/ThreadWin32.cpp:45:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/win32/ThreadWin32.cpp:52:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/win32/ThreadWin32.cpp:65:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mIsDetached [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/win32/ThreadWin32.cpp:85:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mNativeObjectPointer [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/system/win32/MutexLockWin32.cpp:42:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/win32/MutexLockWin32.cpp:55:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/win32/MutexLockWin32.cpp:68:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/win32/MutexLockWin32.cpp:77:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/win32/ThreadWin32.cpp:45:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/win32/ThreadWin32.cpp:52:26: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/win32/ThreadWin32.cpp:68:26: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/win32/ThreadWin32.cpp:85:26: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/system/win32/ThreadWin32.cpp:98:24: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/ui/linux/MouseLinux.cpp:52:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LMASK [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/ui/linux/KeyboardLinux.cpp:74:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PRESSED [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/ui/linux/KeyboardLinux.cpp:84:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_RELEASED [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/ui/linux/KeyboardLinux.cpp:112:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_m [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/ui/linux/KeyboardLinux.cpp:131:3: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] passage-4+dfsg1.orig/minorGems/util/StringBufferOutputStream.cpp:26:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mCharacterVector [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/ui/Plot.cpp:30:2: performance: Variable 'borderC' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] passage-4+dfsg1.orig/minorGems/ui/Plot.cpp:31:2: performance: Variable 'bgC' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] passage-4+dfsg1.orig/minorGems/ui/Plot.cpp:32:2: performance: Variable 'lineC' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] passage-4+dfsg1.orig/minorGems/ui/Plot.cpp:35:2: warning: Class 'Plot' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] passage-4+dfsg1.orig/minorGems/ui/Plot.cpp:35:2: warning: Class 'Plot' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] passage-4+dfsg1.orig/minorGems/ui/Plot.cpp:40:11: style: Local variable 'y' shadows outer argument [shadowArgument] passage-4+dfsg1.orig/minorGems/ui/Plot.cpp:19:24: note: Shadowed declaration passage-4+dfsg1.orig/minorGems/ui/Plot.cpp:40:11: note: Shadow variable passage-4+dfsg1.orig/minorGems/ui/Plot.cpp:45:11: style: Local variable 'y' shadows outer argument [shadowArgument] passage-4+dfsg1.orig/minorGems/ui/Plot.cpp:19:24: note: Shadowed declaration passage-4+dfsg1.orig/minorGems/ui/Plot.cpp:45:11: note: Shadow variable passage-4+dfsg1.orig/minorGems/ui/Plot.cpp:48:12: style: Local variable 'x' shadows outer argument [shadowArgument] passage-4+dfsg1.orig/minorGems/ui/Plot.cpp:19:17: note: Shadowed declaration passage-4+dfsg1.orig/minorGems/ui/Plot.cpp:48:12: note: Shadow variable passage-4+dfsg1.orig/minorGems/ui/ProgressBar.cpp:31:2: performance: Variable 'borderC' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] passage-4+dfsg1.orig/minorGems/ui/ProgressBar.cpp:32:2: performance: Variable 'highC' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] passage-4+dfsg1.orig/minorGems/ui/ProgressBar.cpp:33:2: performance: Variable 'barTipC' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] passage-4+dfsg1.orig/minorGems/ui/ProgressBar.cpp:36:2: warning: Class 'ProgressBar' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] passage-4+dfsg1.orig/minorGems/ui/ProgressBar.cpp:36:2: warning: Class 'ProgressBar' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] passage-4+dfsg1.orig/minorGems/ui/ProgressBar.cpp:41:11: style: Local variable 'y' shadows outer argument [shadowArgument] passage-4+dfsg1.orig/minorGems/ui/ProgressBar.cpp:20:37: note: Shadowed declaration passage-4+dfsg1.orig/minorGems/ui/ProgressBar.cpp:41:11: note: Shadow variable passage-4+dfsg1.orig/minorGems/ui/ProgressBar.cpp:46:11: style: Local variable 'y' shadows outer argument [shadowArgument] passage-4+dfsg1.orig/minorGems/ui/ProgressBar.cpp:20:37: note: Shadowed declaration passage-4+dfsg1.orig/minorGems/ui/ProgressBar.cpp:46:11: note: Shadow variable passage-4+dfsg1.orig/minorGems/ui/ProgressBar.cpp:49:12: style: Local variable 'x' shadows outer argument [shadowArgument] passage-4+dfsg1.orig/minorGems/ui/ProgressBar.cpp:20:30: note: Shadowed declaration passage-4+dfsg1.orig/minorGems/ui/ProgressBar.cpp:49:12: note: Shadow variable passage-4+dfsg1.orig/minorGems/util/development/leakTracer/test.cc:15:1: error: Memory leak: x [memleak] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/test.cc:23:12: error: Mismatching allocation and deallocation: z [mismatchAllocDealloc] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/test.cc:20:14: note: Mismatching allocation and deallocation: z passage-4+dfsg1.orig/minorGems/util/development/leakTracer/test.cc:23:12: note: Mismatching allocation and deallocation: z passage-4+dfsg1.orig/minorGems/util/development/leakTracer/test.cc:27:1: error: Memory leak: str [memleak] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/test.cc:14:10: style: Variable 'x' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/test.cc:18:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/test.cc:23:12: error: Memory is allocated but not initialized: z [uninitdata] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/test.cc:14:12: style: Variable 'x' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/test.cc:14:10: style: Variable 'x' is allocated memory that is never used. [unusedAllocatedMemory] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/test.cc:18:15: style: Variable 'str' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/test.cc:18:17: style: Variable 'str' is allocated memory that is never used. [unusedAllocatedMemory] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/test.cc:20:10: style: Variable 'z' is allocated memory that is never used. [unusedAllocatedMemory] passage-4+dfsg1.orig/minorGems/util/TranslationManager.cpp:319:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/util/SettingsManager.cpp:323:32: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:26:13: warning: Class 'TestClass' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:26:13: warning: Class 'TestClass' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:60:13: error: Dereferencing 'x' after it is deallocated / released [deallocuse] passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:60:19: error: Dereferencing 'x' after it is deallocated / released [deallocuse] passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:60:25: error: Dereferencing 'x' after it is deallocated / released [deallocuse] passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:60:31: error: Dereferencing 'x' after it is deallocated / released [deallocuse] passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:60:37: error: Dereferencing 'x' after it is deallocated / released [deallocuse] passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:71:12: error: Mismatching allocation and deallocation: z [mismatchAllocDealloc] passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:70:14: note: Mismatching allocation and deallocation: z passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:71:12: note: Mismatching allocation and deallocation: z passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:81:5: error: Memory leak: y [memleak] passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:44:13: error: Memory is allocated but not initialized: x [uninitdata] passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:71:12: error: Memory is allocated but not initialized: z [uninitdata] passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:70:10: style: Variable 'z' is allocated memory that is never used. [unusedAllocatedMemory] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:188:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:326:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:429:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/util/log/AppLog.h:147:9: style: Class 'LogPointerWrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:52:18: style: The destructor '~PrintLog' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/log/Log.h:63:18: note: Virtual destructor in base class passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:52:18: note: Destructor in derived class passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:57:22: style: The function 'setLoggingLevel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/log/Log.h:74:22: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:57:22: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:59:21: style: The function 'getLoggingLevel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/log/Log.h:85:21: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:59:21: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:61:22: style: The function 'logString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/log/Log.h:96:22: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:61:22: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:63:22: style: The function 'logString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/log/Log.h:110:22: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:63:22: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:66:22: style: The function 'logPrintf' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/log/Log.h:114:22: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:66:22: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:68:22: style: The function 'logNPrintf' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/log/Log.h:117:22: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:68:22: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/log/FileLog.cpp:58:9: warning: Class 'FileLog' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] passage-4+dfsg1.orig/minorGems/util/log/FileLog.cpp:58:9: warning: Class 'FileLog' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] passage-4+dfsg1.orig/minorGems/util/log/FileLog.h:53:9: style: Class 'FileLog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/minorGems/util/log/FileLog.h:58:18: style: The destructor '~FileLog' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:52:18: note: Virtual destructor in base class passage-4+dfsg1.orig/minorGems/util/log/FileLog.h:58:18: note: Destructor in derived class passage-4+dfsg1.orig/minorGems/util/log/FileLog.h:71:22: style: The function 'logString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/log/PrintLog.h:63:22: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/log/FileLog.h:71:22: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/log/PrintLog.cpp:55:7: warning: Class 'PrintLog' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] passage-4+dfsg1.orig/minorGems/util/log/PrintLog.cpp:55:7: warning: Class 'PrintLog' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] passage-4+dfsg1.orig/minorGems/util/log/PrintLog.cpp:86:16: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/log/PrintLog.cpp:140:16: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/log/PrintLog.cpp:189:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] passage-4+dfsg1.orig/minorGems/util/printUtils.cpp:39:21: error: va_list 'argList' was opened but not closed by va_end(). [va_end_missing] passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:68:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:78:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:161:2: warning: Member variable 'LeakTracer::destroyed' is not initialized in the constructor. [uninitMemberVar] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:232:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:326:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:454:4: portability: %d in format string (no. 5) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:468:4: portability: %d in format string (no. 3) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:474:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:532:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:524:4: warning: If memory allocation fails, then there is a possible null pointer dereference: memContents [nullPointerOutOfMemory] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:521:41: note: Assuming allocation function fails passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:521:24: note: Assignment 'memContents=(char*)malloc(leaks[i].size+1)', assigned value is 0 passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:524:4: note: Null pointer dereference passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:529:5: warning: If memory allocation fails, then there is a possible null pointer dereference: memContents [nullPointerOutOfMemory] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:521:41: note: Assuming allocation function fails passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:521:24: note: Assignment 'memContents=(char*)malloc(leaks[i].size+1)', assigned value is 0 passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:529:5: note: Null pointer dereference passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:228:14: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:229:11: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:350:20: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:389:11: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:467:20: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:476:12: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:494:10: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:521:24: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:522:12: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:522:33: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:567:9: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:350:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:467:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] passage-4+dfsg1.orig/minorGems/util/random/Noise.h:39:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/util/test/testSnprintf.cpp:40:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] passage-4+dfsg1.orig/minorGems/util/test/testSnprintf.cpp:38:28: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] passage-4+dfsg1.orig/minorGems/util/test/testSnprintf.cpp:29:35: note: Assuming allocation function fails passage-4+dfsg1.orig/minorGems/util/test/testSnprintf.cpp:29:20: note: Assignment 'buffer=(char*)(malloc(4))', assigned value is 0 passage-4+dfsg1.orig/minorGems/util/test/testSnprintf.cpp:38:28: note: Null pointer dereference passage-4+dfsg1.orig/minorGems/util/test/testSnprintf.cpp:46:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] passage-4+dfsg1.orig/minorGems/util/test/testSnprintf.cpp:29:35: note: Assuming allocation function fails passage-4+dfsg1.orig/minorGems/util/test/testSnprintf.cpp:29:20: note: Assignment 'buffer=(char*)(malloc(4))', assigned value is 0 passage-4+dfsg1.orig/minorGems/util/test/testSnprintf.cpp:46:13: note: Null pointer dereference passage-4+dfsg1.orig/minorGems/util/test/testSnprintf.cpp:29:20: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/test/testSnprintf.cpp:35:17: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/test/testSnprintf.cpp:25:9: style: The scope of the variable 'result' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/util/stringUtils.cpp:77:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/stringUtils.cpp:181:22: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/stringUtils.cpp:182:22: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/stringUtils.cpp:378:21: style: Local variable 'argList' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/minorGems/util/stringUtils.cpp:354:13: note: Shadowed declaration passage-4+dfsg1.orig/minorGems/util/stringUtils.cpp:378:21: note: Shadow variable passage-4+dfsg1.orig/minorGems/util/stringUtils.cpp:432:21: style: Local variable 'argList' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/minorGems/util/stringUtils.cpp:354:13: note: Shadowed declaration passage-4+dfsg1.orig/minorGems/util/stringUtils.cpp:432:21: note: Shadow variable passage-4+dfsg1.orig/minorGems/util/stringUtils.cpp:66:11: style: Variable 'matchPointer' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/util/stringUtils.cpp:216:9: style: Variable 'fieldPostTargetPointer' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:118:41: style:inconclusive: Technically the member function 'CustomRandomSource::getSavedState' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:44:22: note: Technically the member function 'CustomRandomSource::getSavedState' can be const. passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:118:41: note: Technically the member function 'CustomRandomSource::getSavedState' can be const. passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:35:9: style: Class 'CustomRandomSource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:44:3: style: Class 'StdRandomSource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:54:15: style: The function 'getRandomFloat' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/random/RandomSource.h:39:17: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:54:15: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:55:16: style: The function 'getRandomDouble' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/random/RandomSource.h:40:18: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:55:16: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:56:22: style: The function 'getRandomInt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/random/RandomSource.h:41:24: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:56:22: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:57:22: style: The function 'getIntMax' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/random/RandomSource.h:42:24: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:57:22: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:59:13: style: The function 'getRandomBoundedInt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/random/RandomSource.h:49:15: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:59:13: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:62:16: style: The function 'getRandomBoundedDouble' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/random/RandomSource.h:56:18: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:62:16: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:64:14: style: The function 'getRandomBoolean' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/random/RandomSource.h:64:22: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:64:14: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:48:9: style: The function 'getRandomFloat' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/random/RandomSource.h:39:17: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:48:9: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:49:10: style: The function 'getRandomDouble' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/random/RandomSource.h:40:18: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:49:10: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:50:16: style: The function 'getRandomInt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/random/RandomSource.h:41:24: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:50:16: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:51:16: style: The function 'getIntMax' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/random/RandomSource.h:42:24: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:51:16: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:53:7: style: The function 'getRandomBoundedInt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/random/RandomSource.h:49:15: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:53:7: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:56:16: style: The function 'getRandomBoundedDouble' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/random/RandomSource.h:56:18: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:56:16: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:58:14: style: The function 'getRandomBoolean' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] passage-4+dfsg1.orig/minorGems/util/random/RandomSource.h:64:22: note: Virtual function in base class passage-4+dfsg1.orig/minorGems/util/random/StdRandomSource.h:58:14: note: Function in derived class passage-4+dfsg1.orig/minorGems/util/random/testRandom.cpp:105:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] passage-4+dfsg1.orig/minorGems/util/random/testRandom.cpp:107:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: style:inconclusive: Technically the member function 'SimpleVector < char >::size' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:80:7: note: Technically the member function 'SimpleVector < char >::size' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: note: Technically the member function 'SimpleVector < char >::size' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: style:inconclusive: Technically the member function 'SimpleVector < char >::getElementIndex' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:104:7: note: Technically the member function 'SimpleVector < char >::getElementIndex' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: note: Technically the member function 'SimpleVector < char >::getElementIndex' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: style:inconclusive: Technically the member function 'SimpleVector < int >::size' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:80:7: note: Technically the member function 'SimpleVector < int >::size' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: note: Technically the member function 'SimpleVector < int >::size' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: style:inconclusive: Technically the member function 'SimpleVector < int >::getElementIndex' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:104:7: note: Technically the member function 'SimpleVector < int >::getElementIndex' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: note: Technically the member function 'SimpleVector < int >::getElementIndex' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: style:inconclusive: Technically the member function 'SimpleVector < A >::size' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:80:7: note: Technically the member function 'SimpleVector < A >::size' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: note: Technically the member function 'SimpleVector < A >::size' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: style:inconclusive: Technically the member function 'SimpleVector < A >::getElementIndex' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:104:7: note: Technically the member function 'SimpleVector < A >::getElementIndex' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: note: Technically the member function 'SimpleVector < A >::getElementIndex' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:55:3: style: Class 'SimpleVector < char >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:55:3: style: Class 'SimpleVector < int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:55:3: style: Class 'SimpleVector < A >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:432:13: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:432:31: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/util/random/testRandom.cpp:177:18: style: Local variable 'j' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/minorGems/util/random/testRandom.cpp:124:9: note: Shadowed declaration passage-4+dfsg1.orig/minorGems/util/random/testRandom.cpp:177:18: note: Shadow variable passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:310:60: performance: Function parameter 'inElement' should be passed by const reference. [passedByValue] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:54: performance: Function parameter 'inElement' should be passed by const reference. [passedByValue] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:349:48: performance: Function parameter 'x' should be passed by const reference. [passedByValue] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:91:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dtor [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4238:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4253:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:170:23: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:172:27: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:200:13: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:200:29: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:225:13: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:225:29: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:91:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:190:53: style: Parameter 'inData' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:215:44: style: Parameter 'inString' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:82:12: style: union member '_BYTE64QUAD16::c' is never used. [unusedStructMember] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:126:4: style: Variable 'a' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:126:8: style: Variable 'b' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:126:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:126:16: style: Variable 'd' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:126:20: style: Variable 'e' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:181:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:181:8: style: Variable 'j' is assigned a value that is never used. [unreadVariable] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4139:21: style:inconclusive: Technically the member function 'LodePNG::Decoder::getBpp' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:413:14: note: Technically the member function 'LodePNG::Decoder::getBpp' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4139:21: note: Technically the member function 'LodePNG::Decoder::getBpp' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4140:21: style:inconclusive: Technically the member function 'LodePNG::Decoder::getChannels' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:414:14: note: Technically the member function 'LodePNG::Decoder::getChannels' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4140:21: note: Technically the member function 'LodePNG::Decoder::getChannels' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4141:21: style:inconclusive: Technically the member function 'LodePNG::Decoder::isGreyscaleType' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:415:14: note: Technically the member function 'LodePNG::Decoder::isGreyscaleType' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4141:21: note: Technically the member function 'LodePNG::Decoder::isGreyscaleType' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4142:21: style:inconclusive: Technically the member function 'LodePNG::Decoder::isAlphaType' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:416:14: note: Technically the member function 'LodePNG::Decoder::isAlphaType' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4142:21: note: Technically the member function 'LodePNG::Decoder::isAlphaType' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2249:10: warning: Identical condition and return expression 'error', return value is always 0 [identicalConditionAfterEarlyExit] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2247:90: note: If condition 'error' is true, the function will return/exit passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2249:10: note: Returning identical expression 'error' passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2287:10: warning: Identical condition and return expression 'error', return value is always 0 [identicalConditionAfterEarlyExit] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2286:68: note: If condition 'error' is true, the function will return/exit passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2287:10: note: Returning identical expression 'error' passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:78:61: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:84:4: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:84:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:85:9: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:86:4: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:113:12: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:130:4: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:130:27: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:131:9: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:132:4: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:144:17: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:205:4: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:205:27: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:206:9: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:207:4: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:219:17: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:268:16: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:378:22: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:543:12: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:548:29: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:606:19: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:607:19: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:607:62: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:608:18: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:608:61: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:625:20: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1118:19: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1139:30: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1141:14: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1142:14: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1146:29: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1180:34: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1189:19: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1881:16: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1898:16: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1990:12: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2038:21: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2090:21: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2091:24: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2162:21: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2163:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2164:26: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2165:24: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2264:19: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2833:40: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2908:17: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2916:17: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2945:17: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2955:77: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2959:74: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2984:17: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2996:21: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3005:22: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3016:79: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3027:95: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3129:12: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3354:64: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3386:76: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3436:25: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3722:12: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3744:28: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3755:14: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3890:17: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4074:10: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4088:10: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4247:28: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4254:37: style: C-style pointer casting [cstyleCast] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3474:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3475:7: note: Found duplicate branches for 'if' and 'else'. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3474:7: note: Found duplicate branches for 'if' and 'else'. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3478:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3483:7: note: Found duplicate branches for 'if' and 'else'. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3478:7: note: Found duplicate branches for 'if' and 'else'. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2878:71: style: Redundant assignment of 'decoder->infoPng.background_g' to itself. [selfAssignment] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:77:10: style: The scope of the variable 'i' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:291:31: style: The scope of the variable 'i' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:497:12: style: The scope of the variable 'bits' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:497:18: style: The scope of the variable 'n' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:645:12: style: The scope of the variable 'i' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:667:12: style: The scope of the variable 'i' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:737:12: style: The scope of the variable 'n' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1112:12: style: The scope of the variable 'pos' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1289:10: style: The scope of the variable 'numcodes' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1289:20: style: The scope of the variable 'numcodesD' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1290:12: style: The scope of the variable 'HLIT' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1290:18: style: The scope of the variable 'HDIST' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1290:25: style: The scope of the variable 'HCLEN' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1445:10: style: The scope of the variable 'i' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1591:10: style: The scope of the variable 'i' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1594:12: style: The scope of the variable 'ADLER32' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1704:12: style: The scope of the variable 'c' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2302:13: style: The scope of the variable 'c' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2935:26: style: The scope of the variable 'string2_begin' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2974:26: style: The scope of the variable 'begin' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2974:33: style: The scope of the variable 'compressed' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3270:10: style: The scope of the variable 'i' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3370:13: style: The scope of the variable 'textsize' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3538:12: style: The scope of the variable 'x' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3564:12: style: The scope of the variable 'smallest' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3565:20: style: The scope of the variable 'bestType' can be reduced. [variableScope] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2536:80: style:inconclusive: Function 'LodePNG_inspect' argument 3 names different: declaration 'size' definition 'inlength'. [funcArgNamesDifferent] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:318:80: note: Function 'LodePNG_inspect' argument 3 names different: declaration 'size' definition 'inlength'. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2536:80: note: Function 'LodePNG_inspect' argument 3 names different: declaration 'size' definition 'inlength'. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4173:59: style:inconclusive: Function 'setSettings' argument 1 names different: declaration 'info' definition 'settings'. [funcArgNamesDifferent] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:420:52: note: Function 'setSettings' argument 1 names different: declaration 'info' definition 'settings'. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4173:59: note: Function 'setSettings' argument 1 names different: declaration 'info' definition 'settings'. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4221:59: style:inconclusive: Function 'setSettings' argument 1 names different: declaration 'info' definition 'settings'. [funcArgNamesDifferent] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:468:52: note: Function 'setSettings' argument 1 names different: declaration 'info' definition 'settings'. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4221:59: note: Function 'setSettings' argument 1 names different: declaration 'info' definition 'settings'. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2307:12: style: Local variable 'i' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2302:10: note: Shadowed declaration passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2307:12: note: Shadow variable passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3066:32: style: Local variable 'unknown' shadows outer variable [shadowVariable] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2787:12: note: Shadowed declaration passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3066:32: note: Shadow variable passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2297:90: style: Parameter 'infoOut' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:2636:18: style: Variable 'prevline' can be declared as pointer to const [constVariablePointer] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3304:116: style: Parameter 'zlibsettings' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3342:117: style: Parameter 'zlibsettings' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:3366:181: style: Parameter 'zlibsettings' can be declared as pointer to const [constParameterPointer] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:291:33: style: Variable 'i' is assigned a value that is never used. [unreadVariable] diff: 2.17.0 passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:30:13: style:inconclusive: Technically the member function 'HashTable < char >::computeHash' can be const. [functionConst] passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:75:29: note: Technically the member function 'HashTable < char >::computeHash' can be const. passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:30:13: note: Technically the member function 'HashTable < char >::computeHash' can be const. 2.17.0 passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:30:13: style:inconclusive: Technically the member function 'HashTable < rgbColorStruct >::computeHash' can be const. [functionConst] passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:75:29: note: Technically the member function 'HashTable < rgbColorStruct >::computeHash' can be const. passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:30:13: note: Technically the member function 'HashTable < rgbColorStruct >::computeHash' can be const. head passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:75:29: style:inconclusive: Technically the member function 'HashTable < char >::computeHash' can be const. [functionConst] passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:30:13: note: Technically the member function 'HashTable < char >::computeHash' can be const. passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:75:29: note: Technically the member function 'HashTable < char >::computeHash' can be const. head passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:75:29: style:inconclusive: Technically the member function 'HashTable < rgbColorStruct >::computeHash' can be const. [functionConst] passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:30:13: note: Technically the member function 'HashTable < rgbColorStruct >::computeHash' can be const. passage-4+dfsg1.orig/gamma256/gameSource/HashTable.h:75:29: note: Technically the member function 'HashTable < rgbColorStruct >::computeHash' can be const. head passage-4+dfsg1.orig/gamma256/prototypes/screenCompress/screenCompress.cpp:517:21: style: Variable 'gameImageIndex' is assigned a value that is never used. [unreadVariable] head passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:200:29: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:225:29: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:91:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 passage-4+dfsg1.orig/minorGems/crypto/hashes/sha1.cpp:91:11: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/formats/encodingUtilsTest.cpp:39:29: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/JPEGImageConverter.h:51:7: style:inconclusive: Either there is a missing 'override', or the member function 'JPEGImageConverter::getQuality' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/JPEGImageConverter.h:89:32: note: Either there is a missing 'override', or the member function 'JPEGImageConverter::getQuality' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/JPEGImageConverter.h:51:7: note: Either there is a missing 'override', or the member function 'JPEGImageConverter::getQuality' can be const. head passage-4+dfsg1.orig/minorGems/graphics/converters/JPEGImageConverter.h:89:32: style:inconclusive: Either there is a missing 'override', or the member function 'JPEGImageConverter::getQuality' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/JPEGImageConverter.h:51:7: note: Either there is a missing 'override', or the member function 'JPEGImageConverter::getQuality' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/JPEGImageConverter.h:89:32: note: Either there is a missing 'override', or the member function 'JPEGImageConverter::getQuality' can be const. 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/libpngSample.cpp:92:27: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/libpngSample.cpp:92:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1118:19: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1118:20: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1139:30: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1139:31: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1141:14: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1141:15: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1142:14: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1142:15: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1146:29: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1146:30: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1180:34: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1180:35: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1189:19: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:1189:20: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:130:27: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:130:4: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:130:5: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:131:10: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:131:9: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:132:4: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:132:5: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:205:27: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:205:4: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:205:5: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:206:10: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:206:9: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:207:4: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:207:5: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:378:22: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:378:23: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4139:21: style:inconclusive: Technically the member function 'LodePNG::Decoder::getBpp' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:413:14: note: Technically the member function 'LodePNG::Decoder::getBpp' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4139:21: note: Technically the member function 'LodePNG::Decoder::getBpp' can be const. head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4140:21: style:inconclusive: Technically the member function 'LodePNG::Decoder::getChannels' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:414:14: note: Technically the member function 'LodePNG::Decoder::getChannels' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4140:21: note: Technically the member function 'LodePNG::Decoder::getChannels' can be const. head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4141:21: style:inconclusive: Technically the member function 'LodePNG::Decoder::isGreyscaleType' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:415:14: note: Technically the member function 'LodePNG::Decoder::isGreyscaleType' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4141:21: note: Technically the member function 'LodePNG::Decoder::isGreyscaleType' can be const. head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4142:21: style:inconclusive: Technically the member function 'LodePNG::Decoder::isAlphaType' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:416:14: note: Technically the member function 'LodePNG::Decoder::isAlphaType' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4142:21: note: Technically the member function 'LodePNG::Decoder::isAlphaType' can be const. head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:543:12: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:543:13: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:548:29: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:548:30: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:606:19: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:606:20: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:607:19: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:607:20: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:607:62: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:608:18: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:608:19: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:608:61: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:625:20: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:625:21: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:84:25: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:84:4: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:84:5: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:85:10: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:85:9: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:86:4: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:86:5: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:413:14: style:inconclusive: Technically the member function 'LodePNG::Decoder::getBpp' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4139:21: note: Technically the member function 'LodePNG::Decoder::getBpp' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:413:14: note: Technically the member function 'LodePNG::Decoder::getBpp' can be const. 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:414:14: style:inconclusive: Technically the member function 'LodePNG::Decoder::getChannels' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4140:21: note: Technically the member function 'LodePNG::Decoder::getChannels' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:414:14: note: Technically the member function 'LodePNG::Decoder::getChannels' can be const. 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:415:14: style:inconclusive: Technically the member function 'LodePNG::Decoder::isGreyscaleType' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4141:21: note: Technically the member function 'LodePNG::Decoder::isGreyscaleType' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:415:14: note: Technically the member function 'LodePNG::Decoder::isGreyscaleType' can be const. 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:416:14: style:inconclusive: Technically the member function 'LodePNG::Decoder::isAlphaType' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.cpp:4142:21: note: Technically the member function 'LodePNG::Decoder::isAlphaType' can be const. passage-4+dfsg1.orig/minorGems/graphics/converters/lodepng.h:416:14: note: Technically the member function 'LodePNG::Decoder::isAlphaType' can be const. head passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:116:25: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:134:31: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/linux/ScreenGraphicsLinux.cpp:134:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:229:11: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:229:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:238:11: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/mac/graphixFramework.cpp:238:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:258:13: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:258:14: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:306:27: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/graphics/win32/graphixFramework.cpp:306:28: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/io/linux/TypeIOLinux.cpp:114:32: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/io/linux/TypeIOLinux.cpp:114:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 passage-4+dfsg1.orig/minorGems/io/linux/TypeIOLinux.cpp:66:32: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/io/linux/TypeIOLinux.cpp:66:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 passage-4+dfsg1.orig/minorGems/io/win32/TypeIOWin32.cpp:46:32: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/io/win32/TypeIOWin32.cpp:46:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 passage-4+dfsg1.orig/minorGems/numtest.cpp:41:32: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/numtest.cpp:41:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 passage-4+dfsg1.orig/minorGems/ui/SetMouseMac.cpp:22:25: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/ui/SetMouseMac.cpp:23:25: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:104:7: style:inconclusive: Technically the member function 'SimpleVector < A >::getElementIndex' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: note: Technically the member function 'SimpleVector < A >::getElementIndex' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:104:7: note: Technically the member function 'SimpleVector < A >::getElementIndex' can be const. 2.17.0 passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:104:7: style:inconclusive: Technically the member function 'SimpleVector < char >::getElementIndex' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: note: Technically the member function 'SimpleVector < char >::getElementIndex' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:104:7: note: Technically the member function 'SimpleVector < char >::getElementIndex' can be const. 2.17.0 passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:104:7: style:inconclusive: Technically the member function 'SimpleVector < int >::getElementIndex' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: note: Technically the member function 'SimpleVector < int >::getElementIndex' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:104:7: note: Technically the member function 'SimpleVector < int >::getElementIndex' can be const. head passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: style:inconclusive: Technically the member function 'SimpleVector < A >::size' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:80:7: note: Technically the member function 'SimpleVector < A >::size' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: note: Technically the member function 'SimpleVector < A >::size' can be const. head passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: style:inconclusive: Technically the member function 'SimpleVector < char >::size' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:80:7: note: Technically the member function 'SimpleVector < char >::size' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: note: Technically the member function 'SimpleVector < char >::size' can be const. head passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: style:inconclusive: Technically the member function 'SimpleVector < int >::size' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:80:7: note: Technically the member function 'SimpleVector < int >::size' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: note: Technically the member function 'SimpleVector < int >::size' can be const. head passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: style:inconclusive: Technically the member function 'SimpleVector < A >::getElementIndex' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:104:7: note: Technically the member function 'SimpleVector < A >::getElementIndex' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: note: Technically the member function 'SimpleVector < A >::getElementIndex' can be const. head passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: style:inconclusive: Technically the member function 'SimpleVector < char >::getElementIndex' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:104:7: note: Technically the member function 'SimpleVector < char >::getElementIndex' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: note: Technically the member function 'SimpleVector < char >::getElementIndex' can be const. head passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: style:inconclusive: Technically the member function 'SimpleVector < int >::getElementIndex' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:104:7: note: Technically the member function 'SimpleVector < int >::getElementIndex' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:323:32: note: Technically the member function 'SimpleVector < int >::getElementIndex' can be const. head passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:432:31: style: C-style pointer casting [cstyleCast] 2.17.0 passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:80:7: style:inconclusive: Technically the member function 'SimpleVector < A >::size' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: note: Technically the member function 'SimpleVector < A >::size' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:80:7: note: Technically the member function 'SimpleVector < A >::size' can be const. 2.17.0 passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:80:7: style:inconclusive: Technically the member function 'SimpleVector < char >::size' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: note: Technically the member function 'SimpleVector < char >::size' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:80:7: note: Technically the member function 'SimpleVector < char >::size' can be const. 2.17.0 passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:80:7: style:inconclusive: Technically the member function 'SimpleVector < int >::size' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:249:32: note: Technically the member function 'SimpleVector < int >::size' can be const. passage-4+dfsg1.orig/minorGems/util/SimpleVector.h:80:7: note: Technically the member function 'SimpleVector < int >::size' can be const. head passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:350:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:467:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head passage-4+dfsg1.orig/minorGems/util/development/leakTracer/LeakTracer.cc:522:33: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:60:19: error: Dereferencing 'x' after it is deallocated / released [deallocuse] head passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:60:25: error: Dereferencing 'x' after it is deallocated / released [deallocuse] head passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:60:31: error: Dereferencing 'x' after it is deallocated / released [deallocuse] head passage-4+dfsg1.orig/minorGems/util/development/memory/testDebugMemory.cpp:60:37: error: Dereferencing 'x' after it is deallocated / released [deallocuse] 2.17.0 passage-4+dfsg1.orig/minorGems/util/log/PrintLog.cpp:189:48: style: C-style pointer casting [cstyleCast] head passage-4+dfsg1.orig/minorGems/util/log/PrintLog.cpp:189:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:118:41: style:inconclusive: Technically the member function 'CustomRandomSource::getSavedState' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:44:22: note: Technically the member function 'CustomRandomSource::getSavedState' can be const. passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:118:41: note: Technically the member function 'CustomRandomSource::getSavedState' can be const. 2.17.0 passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:44:22: style:inconclusive: Technically the member function 'CustomRandomSource::getSavedState' can be const. [functionConst] passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:118:41: note: Technically the member function 'CustomRandomSource::getSavedState' can be const. passage-4+dfsg1.orig/minorGems/util/random/CustomRandomSource.h:44:22: note: Technically the member function 'CustomRandomSource::getSavedState' can be const. DONE