2024-04-16 20:57 ftp://ftp.de.debian.org/debian/pool/main/g/gigalomania/gigalomania_1.0+ds1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --library=qt --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 8cd680b (2024-04-15 22:43:04 +0200) count: 852 807 elapsed-time: 72.3 99.8 head-timing-info: old-timing-info: head results: gigalomania-1.0/CreateScaledGfx/main.cpp:13:13: style: Error code from the return value of function dst_dir.cd() is not used. [ignoredReturnErrorCode] gigalomania-1.0/CreateScaledGfx/main.cpp:20:5: performance: Range variable 'file' should be declared as const reference. [iterateByValue] gigalomania-1.0/CreateScaledGfx/main.cpp:82:25: style: Variable 'irgb00' can be declared as const array [constVariable] gigalomania-1.0/CreateScaledGfx/main.cpp:83:25: style: Variable 'irgb10' can be declared as const array [constVariable] gigalomania-1.0/CreateScaledGfx/main.cpp:84:25: style: Variable 'irgb01' can be declared as const array [constVariable] gigalomania-1.0/CreateScaledGfx/main.cpp:85:25: style: Variable 'irgb11' can be declared as const array [constVariable] gigalomania-1.0/panel.h:230:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable modal_child [valueFlowBailoutIncompleteVar] gigalomania-1.0/game.cpp:874:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] gigalomania-1.0/game.cpp:3393:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gigalomania-1.0/game.cpp:337:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:341:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:356:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:360:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:364:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:406:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:415:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:482:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:488:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:494:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:499:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:504:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:572:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:573:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:695:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:699:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:732:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:751:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:762:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:763:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:769:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:789:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:790:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:816:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:819:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:846:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:851:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:871:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:925:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:926:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:956:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:965:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:974:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:975:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:976:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:982:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:1239:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:1261:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:1283:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:1347:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:1387:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:1431:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:1435:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:1454:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:1779:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:2564:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:2585:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:2685:7: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:2854:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:2863:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:2909:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3054:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3074:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3085:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3094:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3102:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3110:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3149:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3162:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3169:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3182:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3250:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3305:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3307:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3308:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3326:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3413:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3429:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3483:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3508:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3524:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3560:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3586:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3619:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3631:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3850:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3910:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3938:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3962:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3993:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:4057:7: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:4063:7: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:4073:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:4079:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:4084:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:4197:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:4250:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:4254:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:4258:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:4262:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:5236:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:5317:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:5322:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:5325:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:5329:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:5341:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:5359:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:5374:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:5390:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:5410:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/game.cpp:3083:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gigalomania-1.0/game.cpp:3092:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gigalomania-1.0/game.cpp:3100:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gigalomania-1.0/game.cpp:3108:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gigalomania-1.0/game.cpp:3160:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gigalomania-1.0/game.cpp:3167:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gigalomania-1.0/game.cpp:3180:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gigalomania-1.0/game.cpp:3398:17: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] gigalomania-1.0/panel.h:153:2: style: The class 'Button' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gigalomania-1.0/panel.h:168:2: style: The class 'ImageButton' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gigalomania-1.0/sound.h:24:2: style: The class 'Sample' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] gigalomania-1.0/game.h:159:7: performance:inconclusive: Technically the member function 'Game::getDesktopResolution' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/game.cpp:2892:12: note: Technically the member function 'Game::getDesktopResolution' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/game.h:159:7: note: Technically the member function 'Game::getDesktopResolution' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/game.h:161:14: performance:inconclusive: Technically the member function 'Game::getFilename' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/game.cpp:947:19: note: Technically the member function 'Game::getFilename' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/game.h:161:14: note: Technically the member function 'Game::getFilename' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/game.h:167:7: performance:inconclusive: Technically the member function 'Game::copyFile' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/game.cpp:5207:12: note: Technically the member function 'Game::copyFile' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/game.h:167:7: note: Technically the member function 'Game::copyFile' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/game.h:169:7: performance:inconclusive: Technically the member function 'Game::testFindSoldiersBuildingNewTower' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/game.cpp:4305:12: note: Technically the member function 'Game::testFindSoldiersBuildingNewTower' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/game.h:169:7: note: Technically the member function 'Game::testFindSoldiersBuildingNewTower' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/game.h:481:7: performance:inconclusive: Technically the member function 'Game::deleteState' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/game.cpp:3763:12: note: Technically the member function 'Game::deleteState' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/game.h:481:7: note: Technically the member function 'Game::deleteState' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/game.h:496:7: performance:inconclusive: Technically the member function 'Game::validPlayer' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/game.cpp:1041:12: note: Technically the member function 'Game::validPlayer' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/game.h:496:7: note: Technically the member function 'Game::validPlayer' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/game.h:500:7: style:inconclusive: Technically the member function 'Game::activate' can be const. [functionConst] gigalomania-1.0/game.cpp:3675:12: note: Technically the member function 'Game::activate' can be const. gigalomania-1.0/game.h:500:7: note: Technically the member function 'Game::activate' can be const. gigalomania-1.0/game.h:508:7: performance:inconclusive: Technically the member function 'Game::readLineFromRWOps' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/game.cpp:3209:12: note: Technically the member function 'Game::readLineFromRWOps' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/game.h:508:7: note: Technically the member function 'Game::readLineFromRWOps' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/sector.h:183:6: style:inconclusive: Technically the member function 'Design::getCost' can be const. [functionConst] gigalomania-1.0/sector.h:86:2: style: Class 'SmokeParticleSystem' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gigalomania-1.0/gamestate.h:209:2: style: Class 'GameState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gigalomania-1.0/gamestate.h:247:2: style: Class 'ChooseGameTypeGameState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gigalomania-1.0/gamestate.h:261:2: style: Class 'ChooseDifficultyGameState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gigalomania-1.0/gamestate.h:277:2: style: Class 'ChoosePlayerGameState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gigalomania-1.0/gamestate.h:288:2: style: Class 'ChooseTutorialGameState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gigalomania-1.0/gamestate.h:304:2: style: Class 'PlaceMenGameState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gigalomania-1.0/gamestate.h:382:2: style: Class 'PlayingGameState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gigalomania-1.0/gamestate.h:466:2: style: Class 'EndIslandGameState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gigalomania-1.0/gamestate.h:479:2: style: Class 'GameCompleteGameState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gigalomania-1.0/gui.h:105:2: style: Class 'ChooseMenPanel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gigalomania-1.0/tutorial.h:291:2: style: Class 'Tutorial1' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gigalomania-1.0/tutorial.h:298:2: style: Class 'Tutorial2' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gigalomania-1.0/tutorial.h:305:2: style: Class 'Tutorial3' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gigalomania-1.0/image.h:47:12: style: The destructor '~Image' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/resources.h:17:12: note: Virtual destructor in base class gigalomania-1.0/image.h:47:12: note: Destructor in derived class gigalomania-1.0/image.h:48:23: style: The function 'getClass' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/resources.h:28:23: note: Virtual function in base class gigalomania-1.0/image.h:48:23: note: Function in derived class gigalomania-1.0/sector.h:87:11: style: The destructor '~SmokeParticleSystem' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/sector.h:69:11: note: Virtual destructor in base class gigalomania-1.0/sector.h:87:11: note: Destructor in derived class gigalomania-1.0/sector.h:99:15: style: The function 'update' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/sector.h:77:15: note: Virtual function in base class gigalomania-1.0/sector.h:99:15: note: Function in derived class gigalomania-1.0/gamestate.h:133:15: style: The function 'render' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:114:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:133:15: note: Function in derived class gigalomania-1.0/gamestate.h:142:11: style: The destructor '~FadeEffect' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:104:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:142:11: note: Destructor in derived class gigalomania-1.0/gamestate.h:143:15: style: The function 'render' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:114:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:143:15: note: Function in derived class gigalomania-1.0/gamestate.h:154:15: style: The function 'render' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:114:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:154:15: note: Function in derived class gigalomania-1.0/gamestate.h:172:15: style: The function 'render' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:114:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:172:15: note: Function in derived class gigalomania-1.0/gamestate.h:182:15: style: The function 'render' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:114:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:182:15: note: Function in derived class gigalomania-1.0/gamestate.h:248:11: style: The destructor '~ChooseGameTypeGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:248:11: note: Destructor in derived class gigalomania-1.0/gamestate.h:250:15: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:221:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:250:15: note: Function in derived class gigalomania-1.0/gamestate.h:251:15: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:222:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:251:15: note: Function in derived class gigalomania-1.0/gamestate.h:252:15: style: The function 'mouseClick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:224:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:252:15: note: Function in derived class gigalomania-1.0/gamestate.h:262:11: style: The destructor '~ChooseDifficultyGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:262:11: note: Destructor in derived class gigalomania-1.0/gamestate.h:264:15: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:221:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:264:15: note: Function in derived class gigalomania-1.0/gamestate.h:265:15: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:222:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:265:15: note: Function in derived class gigalomania-1.0/gamestate.h:266:15: style: The function 'mouseClick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:224:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:266:15: note: Function in derived class gigalomania-1.0/gamestate.h:278:11: style: The destructor '~ChoosePlayerGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:278:11: note: Destructor in derived class gigalomania-1.0/gamestate.h:280:15: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:221:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:280:15: note: Function in derived class gigalomania-1.0/gamestate.h:281:15: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:222:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:281:15: note: Function in derived class gigalomania-1.0/gamestate.h:282:15: style: The function 'mouseClick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:224:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:282:15: note: Function in derived class gigalomania-1.0/gamestate.h:289:11: style: The destructor '~ChooseTutorialGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:289:11: note: Destructor in derived class gigalomania-1.0/gamestate.h:292:15: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:221:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:292:15: note: Function in derived class gigalomania-1.0/gamestate.h:293:15: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:222:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:293:15: note: Function in derived class gigalomania-1.0/gamestate.h:294:15: style: The function 'mouseClick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:224:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:294:15: note: Function in derived class gigalomania-1.0/gamestate.h:305:11: style: The destructor '~PlaceMenGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:305:11: note: Destructor in derived class gigalomania-1.0/gamestate.h:307:15: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:221:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:307:15: note: Function in derived class gigalomania-1.0/gamestate.h:308:15: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:222:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:308:15: note: Function in derived class gigalomania-1.0/gamestate.h:309:15: style: The function 'mouseClick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:224:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:309:15: note: Function in derived class gigalomania-1.0/gamestate.h:310:18: style: The function 'requestQuit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:225:18: note: Virtual function in base class gigalomania-1.0/gamestate.h:310:18: note: Function in derived class gigalomania-1.0/gamestate.h:311:15: style: The function 'requestConfirm' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:226:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:311:15: note: Function in derived class gigalomania-1.0/gamestate.h:377:18: style: The function 'createQuitWindow' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:206:18: note: Virtual function in base class gigalomania-1.0/gamestate.h:377:18: note: Function in derived class gigalomania-1.0/gamestate.h:383:11: style: The destructor '~PlayingGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:383:11: note: Destructor in derived class gigalomania-1.0/gamestate.h:387:15: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:221:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:387:15: note: Function in derived class gigalomania-1.0/gamestate.h:388:15: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:222:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:388:15: note: Function in derived class gigalomania-1.0/gamestate.h:389:15: style: The function 'update' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:223:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:389:15: note: Function in derived class gigalomania-1.0/gamestate.h:390:15: style: The function 'mouseClick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:224:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:390:15: note: Function in derived class gigalomania-1.0/gamestate.h:391:18: style: The function 'requestQuit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:225:18: note: Virtual function in base class gigalomania-1.0/gamestate.h:391:18: note: Function in derived class gigalomania-1.0/gamestate.h:392:15: style: The function 'requestConfirm' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:226:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:392:15: note: Function in derived class gigalomania-1.0/gamestate.h:405:15: style: The function 'addTextEffect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:231:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:405:15: note: Function in derived class gigalomania-1.0/gamestate.h:460:15: style: The function 'saveState' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:239:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:460:15: note: Function in derived class gigalomania-1.0/gamestate.h:468:11: style: The destructor '~EndIslandGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:468:11: note: Destructor in derived class gigalomania-1.0/gamestate.h:471:15: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:221:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:471:15: note: Function in derived class gigalomania-1.0/gamestate.h:472:15: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:222:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:472:15: note: Function in derived class gigalomania-1.0/gamestate.h:473:15: style: The function 'mouseClick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:224:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:473:15: note: Function in derived class gigalomania-1.0/gamestate.h:474:18: style: The function 'requestQuit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:225:18: note: Virtual function in base class gigalomania-1.0/gamestate.h:474:18: note: Function in derived class gigalomania-1.0/gamestate.h:481:11: style: The destructor '~GameCompleteGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:481:11: note: Destructor in derived class gigalomania-1.0/gamestate.h:484:15: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:221:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:484:15: note: Function in derived class gigalomania-1.0/gamestate.h:485:15: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:222:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:485:15: note: Function in derived class gigalomania-1.0/gamestate.h:486:15: style: The function 'mouseClick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:224:15: note: Virtual function in base class gigalomania-1.0/gamestate.h:486:15: note: Function in derived class gigalomania-1.0/gamestate.h:487:18: style: The function 'requestQuit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:225:18: note: Virtual function in base class gigalomania-1.0/gamestate.h:487:18: note: Function in derived class gigalomania-1.0/panel.h:67:23: style: The function 'getClass' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/resources.h:28:23: note: Virtual function in base class gigalomania-1.0/panel.h:67:23: note: Function in derived class gigalomania-1.0/panel.h:164:23: style: The function 'getClass' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:67:23: note: Virtual function in base class gigalomania-1.0/panel.h:164:23: note: Function in derived class gigalomania-1.0/panel.h:165:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:148:16: note: Virtual function in base class gigalomania-1.0/panel.h:165:16: note: Function in derived class gigalomania-1.0/panel.h:187:23: style: The function 'getClass' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:67:23: note: Virtual function in base class gigalomania-1.0/panel.h:187:23: note: Function in derived class gigalomania-1.0/panel.h:188:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:148:16: note: Virtual function in base class gigalomania-1.0/panel.h:188:16: note: Function in derived class gigalomania-1.0/panel.h:199:12: style: The destructor '~CycleButton' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/resources.h:17:12: note: Virtual destructor in base class gigalomania-1.0/panel.h:199:12: note: Destructor in derived class gigalomania-1.0/panel.h:201:23: style: The function 'getClass' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:67:23: note: Virtual function in base class gigalomania-1.0/panel.h:201:23: note: Function in derived class gigalomania-1.0/panel.h:202:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:148:16: note: Virtual function in base class gigalomania-1.0/panel.h:202:16: note: Function in derived class gigalomania-1.0/panel.h:207:16: style: The function 'input' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:150:16: note: Virtual function in base class gigalomania-1.0/panel.h:207:16: note: Function in derived class gigalomania-1.0/panel.h:215:12: style: The destructor '~MultiPanel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/resources.h:17:12: note: Virtual destructor in base class gigalomania-1.0/panel.h:215:12: note: Destructor in derived class gigalomania-1.0/panel.h:221:16: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:148:16: note: Virtual function in base class gigalomania-1.0/panel.h:221:16: note: Function in derived class gigalomania-1.0/panel.h:222:16: style: The function 'input' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:150:16: note: Virtual function in base class gigalomania-1.0/panel.h:222:16: note: Function in derived class gigalomania-1.0/panel.h:229:16: style: The function 'hasModal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:89:16: note: Virtual function in base class gigalomania-1.0/panel.h:229:16: note: Function in derived class gigalomania-1.0/gui.h:37:15: style: The function 'input' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:150:16: note: Virtual function in base class gigalomania-1.0/gui.h:37:15: note: Function in derived class gigalomania-1.0/gui.h:50:15: style: The function 'input' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:222:16: note: Virtual function in base class gigalomania-1.0/gui.h:50:15: note: Function in derived class gigalomania-1.0/gui.h:62:15: style: The function 'input' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:222:16: note: Virtual function in base class gigalomania-1.0/gui.h:62:15: note: Function in derived class gigalomania-1.0/gui.h:107:15: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:221:16: note: Virtual function in base class gigalomania-1.0/gui.h:107:15: note: Function in derived class gigalomania-1.0/gui.h:108:15: style: The function 'input' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:222:16: note: Virtual function in base class gigalomania-1.0/gui.h:108:15: note: Function in derived class gigalomania-1.0/gui.h:227:11: style: The destructor '~GamePanel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:215:12: note: Virtual destructor in base class gigalomania-1.0/gui.h:227:11: note: Destructor in derived class gigalomania-1.0/gui.h:237:15: style: The function 'setPage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:223:16: note: Virtual function in base class gigalomania-1.0/gui.h:237:15: note: Function in derived class gigalomania-1.0/gui.h:249:15: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:221:16: note: Virtual function in base class gigalomania-1.0/gui.h:249:15: note: Function in derived class gigalomania-1.0/gui.h:250:15: style: The function 'input' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:222:16: note: Virtual function in base class gigalomania-1.0/gui.h:250:15: note: Function in derived class gigalomania-1.0/tutorial.h:43:15: style: The function 'setGUI' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/tutorial.h:31:15: note: Virtual function in base class gigalomania-1.0/tutorial.h:43:15: note: Function in derived class gigalomania-1.0/tutorial.h:140:15: style: The function 'canProceed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/tutorial.h:117:15: note: Virtual function in base class gigalomania-1.0/tutorial.h:140:15: note: Function in derived class gigalomania-1.0/tutorial.h:163:15: style: The function 'canProceed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/tutorial.h:117:15: note: Virtual function in base class gigalomania-1.0/tutorial.h:163:15: note: Function in derived class gigalomania-1.0/tutorial.h:174:15: style: The function 'canProceed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/tutorial.h:117:15: note: Virtual function in base class gigalomania-1.0/tutorial.h:174:15: note: Function in derived class gigalomania-1.0/tutorial.h:198:15: style: The function 'canProceed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/tutorial.h:117:15: note: Virtual function in base class gigalomania-1.0/tutorial.h:198:15: note: Function in derived class gigalomania-1.0/tutorial.h:213:15: style: The function 'canProceed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/tutorial.h:117:15: note: Virtual function in base class gigalomania-1.0/tutorial.h:213:15: note: Function in derived class gigalomania-1.0/tutorial.h:293:15: style: The function 'initCards' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/tutorial.h:286:15: note: Virtual function in base class gigalomania-1.0/tutorial.h:293:15: note: Function in derived class gigalomania-1.0/tutorial.h:300:15: style: The function 'initCards' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/tutorial.h:286:15: note: Virtual function in base class gigalomania-1.0/tutorial.h:300:15: note: Function in derived class gigalomania-1.0/tutorial.h:307:15: style: The function 'initCards' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/tutorial.h:286:15: note: Virtual function in base class gigalomania-1.0/tutorial.h:307:15: note: Function in derived class gigalomania-1.0/sound.h:40:23: style: The function 'getClass' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/resources.h:28:23: note: Virtual function in base class gigalomania-1.0/sound.h:40:23: note: Function in derived class gigalomania-1.0/tutorial.h:74:9: performance: Function 'getId()' should return member 'id' by const reference. [returnByReference] gigalomania-1.0/tutorial.h:77:9: performance: Function 'getText()' should return member 'text' by const reference. [returnByReference] gigalomania-1.0/tutorial.h:84:9: performance: Function 'getNextText()' should return member 'next_text' by const reference. [returnByReference] gigalomania-1.0/tutorial.h:237:9: performance: Function 'getId()' should return member 'id' by const reference. [returnByReference] gigalomania-1.0/game.cpp:604:20: style: Condition 'c==3' is always true [knownConditionTrueFalse] gigalomania-1.0/game.cpp:602:20: note: Assuming that condition 'c==2' is not redundant gigalomania-1.0/game.cpp:596:21: note: Assuming that condition 'c<4' is not redundant gigalomania-1.0/game.cpp:604:20: note: Condition 'c==3' is always true gigalomania-1.0/game.cpp:1453:7: style: Condition '!remapLand(land[i],(MapColour)i)' is always false [knownConditionTrueFalse] gigalomania-1.0/game.cpp:1453:17: note: Calling function 'remapLand' returns 1 gigalomania-1.0/game.cpp:1453:7: note: Condition '!remapLand(land[i],(MapColour)i)' is always false gigalomania-1.0/game.cpp:5311:6: style: Condition '!run_tests' is always true [knownConditionTrueFalse] gigalomania-1.0/game.cpp:5296:19: note: Assignment 'run_tests=false', assigned value is 0 gigalomania-1.0/game.cpp:5311:6: note: Condition '!run_tests' is always true gigalomania-1.0/game.cpp:863:3: error: Resource leak: file [resourceLeak] gigalomania-1.0/game.cpp:5214:3: error: Resource leak: read_file [resourceLeak] gigalomania-1.0/game.cpp:5227:3: error: Resource leak: save_file [resourceLeak] gigalomania-1.0/game.cpp:1308:5: warning: Either the condition 'player_heads_alliance_all==NULL' is redundant or there is possible null pointer dereference: image. [nullPointerRedundantCheck] gigalomania-1.0/game.cpp:2082:32: note: Assuming that condition 'player_heads_alliance_all==NULL' is not redundant gigalomania-1.0/game.cpp:2081:15: note: Calling function 'processImage', 1st argument 'player_heads_alliance_all' value is 0 gigalomania-1.0/game.cpp:1308:5: note: Null pointer dereference gigalomania-1.0/game.cpp:1310:5: warning: Either the condition 'player_heads_alliance_all==NULL' is redundant or there is possible null pointer dereference: image. [nullPointerRedundantCheck] gigalomania-1.0/game.cpp:2082:32: note: Assuming that condition 'player_heads_alliance_all==NULL' is not redundant gigalomania-1.0/game.cpp:2081:15: note: Calling function 'processImage', 1st argument 'player_heads_alliance_all' value is 0 gigalomania-1.0/game.cpp:1310:5: note: Null pointer dereference gigalomania-1.0/game.cpp:884:35: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:889:14: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:894:13: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:900:20: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:906:13: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:912:15: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:992:4: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:995:4: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:998:4: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:1007:5: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:1011:4: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:1016:5: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:1028:4: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:3315:16: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:3316:16: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:3423:9: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:5388:32: style: C-style pointer casting [cstyleCast] gigalomania-1.0/game.cpp:3952:12: style: Local variable 'real_time' shadows outer variable [shadowVariable] gigalomania-1.0/game.h:124:6: note: Shadowed declaration gigalomania-1.0/game.cpp:3952:12: note: Shadow variable gigalomania-1.0/game.cpp:3956:12: style: Local variable 'game_time' shadows outer variable [shadowVariable] gigalomania-1.0/game.h:126:6: note: Shadowed declaration gigalomania-1.0/game.cpp:3956:12: note: Shadow variable gigalomania-1.0/image.h:102:35: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] gigalomania-1.0/game.cpp:658:13: style: Variable 'sector' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/game.cpp:3315:7: style: Variable 'map_a' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/game.cpp:3316:7: style: Variable 'map_b' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/game.cpp:4404:13: style: Variable 'sector' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/game.cpp:4484:10: style: Variable 'army' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/game.cpp:4798:10: style: Variable 'storedArmy' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/game.cpp:5065:12: style: Variable 'start_sector' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/game.cpp:5235:33: style: Parameter 'args' can be declared as const array [constParameter] gigalomania-1.0/game.cpp:4021:15: style: Unused variable: stream [unusedVariable] gigalomania-1.0/gamestate.cpp:831:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIRMTYPE_NEWGAME [valueFlowBailoutIncompleteVar] gigalomania-1.0/gamestate.cpp:863:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIRMTYPE_NEWGAME [valueFlowBailoutIncompleteVar] gigalomania-1.0/gamestate.cpp:946:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIRMTYPE_QUITGAME [valueFlowBailoutIncompleteVar] gigalomania-1.0/gamestate.cpp:1256:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIRMTYPE_UNKNOWN [valueFlowBailoutIncompleteVar] gigalomania-1.0/gamestate.cpp:2025:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] gigalomania-1.0/gamestate.cpp:1134:4: warning: Assert statement calls a function which may have desired side effects: 'getMap'. [assertWithSideEffect] gigalomania-1.0/gamestate.cpp:41:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:84:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:113:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:259:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:270:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:384:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:387:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:429:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:432:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:472:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:473:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:622:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:625:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:633:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:634:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:639:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:640:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:774:9: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:777:9: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:781:9: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:784:9: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:795:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:848:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:852:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:921:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:941:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:973:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:995:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1008:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1021:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1027:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1037:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1098:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1134:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1157:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1158:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1377:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1378:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1402:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1403:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1633:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1635:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1666:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1704:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1714:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1741:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1743:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:1896:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2142:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2147:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2172:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2187:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2190:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2216:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2217:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2218:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2253:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2254:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2255:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2256:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2376:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2377:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2379:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2380:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2400:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2416:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2426:7: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2433:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2501:9: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2509:9: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2516:9: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2549:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2606:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2621:17: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2634:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2635:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2709:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2951:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2961:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2971:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2981:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:2991:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3001:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3009:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3017:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3025:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3040:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3051:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3060:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3068:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3080:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3081:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3088:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3092:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3101:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3102:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3114:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3125:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3136:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3147:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3155:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3251:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3276:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3299:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3332:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3369:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3416:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:3559:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gamestate.cpp:988:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gigalomania-1.0/gamestate.cpp:993:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gigalomania-1.0/gamestate.cpp:1006:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gigalomania-1.0/gamestate.cpp:1025:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gigalomania-1.0/gamestate.cpp:1035:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gigalomania-1.0/gamestate.h:366:7: performance:inconclusive: Technically the member function 'PlayingGameState::getFlagOffset' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/gamestate.cpp:1452:24: note: Technically the member function 'PlayingGameState::getFlagOffset' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/gamestate.h:366:7: note: Technically the member function 'PlayingGameState::getFlagOffset' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/gamestate.h:367:7: style:inconclusive: Technically the member function 'PlayingGameState::openPitMine' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:1183:24: note: Technically the member function 'PlayingGameState::openPitMine' can be const. gigalomania-1.0/gamestate.h:367:7: note: Technically the member function 'PlayingGameState::openPitMine' can be const. gigalomania-1.0/gamestate.h:374:7: performance:inconclusive: Technically the member function 'PlayingGameState::readSectorsProcessLine' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/gamestate.cpp:967:24: note: Technically the member function 'PlayingGameState::readSectorsProcessLine' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/gamestate.h:374:7: note: Technically the member function 'PlayingGameState::readSectorsProcessLine' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/gamestate.h:376:7: performance:inconclusive: Technically the member function 'PlayingGameState::loadStateParseXMLMapXY' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/gamestate.cpp:3190:24: note: Technically the member function 'PlayingGameState::loadStateParseXMLMapXY' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/gamestate.h:376:7: note: Technically the member function 'PlayingGameState::loadStateParseXMLMapXY' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/gamestate.h:418:7: performance:inconclusive: Technically the member function 'PlayingGameState::canRequestAlliance' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/gamestate.cpp:2215:24: note: Technically the member function 'PlayingGameState::canRequestAlliance' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/gamestate.h:418:7: note: Technically the member function 'PlayingGameState::canRequestAlliance' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/gamestate.h:432:7: style:inconclusive: Technically the member function 'PlayingGameState::setNDesigners' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:2949:24: note: Technically the member function 'PlayingGameState::setNDesigners' can be const. gigalomania-1.0/gamestate.h:432:7: note: Technically the member function 'PlayingGameState::setNDesigners' can be const. gigalomania-1.0/gamestate.h:433:7: style:inconclusive: Technically the member function 'PlayingGameState::setNWorkers' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:2959:24: note: Technically the member function 'PlayingGameState::setNWorkers' can be const. gigalomania-1.0/gamestate.h:433:7: note: Technically the member function 'PlayingGameState::setNWorkers' can be const. gigalomania-1.0/gamestate.h:434:7: style:inconclusive: Technically the member function 'PlayingGameState::setFAmount' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:2969:24: note: Technically the member function 'PlayingGameState::setFAmount' can be const. gigalomania-1.0/gamestate.h:434:7: note: Technically the member function 'PlayingGameState::setFAmount' can be const. gigalomania-1.0/gamestate.h:435:7: style:inconclusive: Technically the member function 'PlayingGameState::setNMiners' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:2979:24: note: Technically the member function 'PlayingGameState::setNMiners' can be const. gigalomania-1.0/gamestate.h:435:7: note: Technically the member function 'PlayingGameState::setNMiners' can be const. gigalomania-1.0/gamestate.h:436:7: style:inconclusive: Technically the member function 'PlayingGameState::setNBuilders' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:2989:24: note: Technically the member function 'PlayingGameState::setNBuilders' can be const. gigalomania-1.0/gamestate.h:436:7: note: Technically the member function 'PlayingGameState::setNBuilders' can be const. gigalomania-1.0/gamestate.h:438:7: style:inconclusive: Technically the member function 'PlayingGameState::setCurrentDesign' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:2999:24: note: Technically the member function 'PlayingGameState::setCurrentDesign' can be const. gigalomania-1.0/gamestate.h:438:7: note: Technically the member function 'PlayingGameState::setCurrentDesign' can be const. gigalomania-1.0/gamestate.h:439:7: style:inconclusive: Technically the member function 'PlayingGameState::setCurrentManufacture' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:3007:24: note: Technically the member function 'PlayingGameState::setCurrentManufacture' can be const. gigalomania-1.0/gamestate.h:439:7: note: Technically the member function 'PlayingGameState::setCurrentManufacture' can be const. gigalomania-1.0/gamestate.h:441:7: style:inconclusive: Technically the member function 'PlayingGameState::assembledArmyEmpty' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:3015:24: note: Technically the member function 'PlayingGameState::assembledArmyEmpty' can be const. gigalomania-1.0/gamestate.h:441:7: note: Technically the member function 'PlayingGameState::assembledArmyEmpty' can be const. gigalomania-1.0/gamestate.h:442:7: style:inconclusive: Technically the member function 'PlayingGameState::assembleArmyUnarmed' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:3023:24: note: Technically the member function 'PlayingGameState::assembleArmyUnarmed' can be const. gigalomania-1.0/gamestate.h:442:7: note: Technically the member function 'PlayingGameState::assembleArmyUnarmed' can be const. gigalomania-1.0/gamestate.h:443:7: style:inconclusive: Technically the member function 'PlayingGameState::assembleArmy' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:3038:24: note: Technically the member function 'PlayingGameState::assembleArmy' can be const. gigalomania-1.0/gamestate.h:443:7: note: Technically the member function 'PlayingGameState::assembleArmy' can be const. gigalomania-1.0/gamestate.h:444:7: style:inconclusive: Technically the member function 'PlayingGameState::assembleAll' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:3049:24: note: Technically the member function 'PlayingGameState::assembleAll' can be const. gigalomania-1.0/gamestate.h:444:7: note: Technically the member function 'PlayingGameState::assembleAll' can be const. gigalomania-1.0/gamestate.h:445:7: style:inconclusive: Technically the member function 'PlayingGameState::returnAssembledArmy' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:3058:24: note: Technically the member function 'PlayingGameState::returnAssembledArmy' can be const. gigalomania-1.0/gamestate.h:445:7: note: Technically the member function 'PlayingGameState::returnAssembledArmy' can be const. gigalomania-1.0/gamestate.h:446:7: style:inconclusive: Technically the member function 'PlayingGameState::returnArmy' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:3066:24: note: Technically the member function 'PlayingGameState::returnArmy' can be const. gigalomania-1.0/gamestate.h:446:7: note: Technically the member function 'PlayingGameState::returnArmy' can be const. gigalomania-1.0/gamestate.h:447:7: style:inconclusive: Technically the member function 'PlayingGameState::moveArmyTo' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:3077:24: note: Technically the member function 'PlayingGameState::moveArmyTo' can be const. gigalomania-1.0/gamestate.h:447:7: note: Technically the member function 'PlayingGameState::moveArmyTo' can be const. gigalomania-1.0/gamestate.h:448:7: style:inconclusive: Technically the member function 'PlayingGameState::moveAssembledArmyTo' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:3086:24: note: Technically the member function 'PlayingGameState::moveAssembledArmyTo' can be const. gigalomania-1.0/gamestate.h:448:7: note: Technically the member function 'PlayingGameState::moveAssembledArmyTo' can be const. gigalomania-1.0/gamestate.h:451:7: style:inconclusive: Technically the member function 'PlayingGameState::deployDefender' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:3112:24: note: Technically the member function 'PlayingGameState::deployDefender' can be const. gigalomania-1.0/gamestate.h:451:7: note: Technically the member function 'PlayingGameState::deployDefender' can be const. gigalomania-1.0/gamestate.h:452:7: style:inconclusive: Technically the member function 'PlayingGameState::returnDefender' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:3123:24: note: Technically the member function 'PlayingGameState::returnDefender' can be const. gigalomania-1.0/gamestate.h:452:7: note: Technically the member function 'PlayingGameState::returnDefender' can be const. gigalomania-1.0/gamestate.h:453:7: style:inconclusive: Technically the member function 'PlayingGameState::useShield' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:3134:24: note: Technically the member function 'PlayingGameState::useShield' can be const. gigalomania-1.0/gamestate.h:453:7: note: Technically the member function 'PlayingGameState::useShield' can be const. gigalomania-1.0/gamestate.h:455:7: style:inconclusive: Technically the member function 'PlayingGameState::trashDesign' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:3145:24: note: Technically the member function 'PlayingGameState::trashDesign' can be const. gigalomania-1.0/gamestate.h:455:7: note: Technically the member function 'PlayingGameState::trashDesign' can be const. gigalomania-1.0/gamestate.h:457:7: style:inconclusive: Technically the member function 'PlayingGameState::shutdown' can be const. [functionConst] gigalomania-1.0/gamestate.cpp:3153:24: note: Technically the member function 'PlayingGameState::shutdown' can be const. gigalomania-1.0/gamestate.h:457:7: note: Technically the member function 'PlayingGameState::shutdown' can be const. gigalomania-1.0/gamestate.cpp:245:8: warning: Class 'GameState' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] gigalomania-1.0/gamestate.cpp:245:8: warning: Class 'GameState' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] gigalomania-1.0/gamestate.cpp:773:9: style: Condition '!done' is always true [knownConditionTrueFalse] gigalomania-1.0/gamestate.cpp:772:17: note: Assignment 'done=false', assigned value is 0 gigalomania-1.0/gamestate.cpp:773:9: note: Condition '!done' is always true gigalomania-1.0/gamestate.cpp:780:14: style: Condition '!done' is always true [knownConditionTrueFalse] gigalomania-1.0/gamestate.cpp:772:17: note: Assignment 'done=false', assigned value is 0 gigalomania-1.0/gamestate.cpp:780:14: note: Condition '!done' is always true gigalomania-1.0/gamestate.cpp:54:17: style: C-style pointer casting [cstyleCast] gigalomania-1.0/gamestate.cpp:55:17: style: C-style pointer casting [cstyleCast] gigalomania-1.0/gamestate.cpp:166:40: style: Same value in both branches of ternary operator. [duplicateValueTernary] gigalomania-1.0/gamestate.cpp:307:13: style: The comparison 'copy == fade' is always true because 'copy' and 'fade' represent the same value. [knownConditionTrueFalse] gigalomania-1.0/gamestate.cpp:305:23: note: 'copy' is assigned value 'fade' here. gigalomania-1.0/gamestate.cpp:307:13: note: The comparison 'copy == fade' is always true because 'copy' and 'fade' represent the same value. gigalomania-1.0/gamestate.cpp:315:13: style: The comparison 'copy == whitefade' is always true because 'copy' and 'whitefade' represent the same value. [knownConditionTrueFalse] gigalomania-1.0/gamestate.cpp:313:23: note: 'copy' is assigned value 'whitefade' here. gigalomania-1.0/gamestate.cpp:315:13: note: The comparison 'copy == whitefade' is always true because 'copy' and 'whitefade' represent the same value. gigalomania-1.0/gamestate.cpp:686:20: style: The comparison 'patchVersion == 0' is always true. [knownConditionTrueFalse] gigalomania-1.0/common.h:5:26: note: 'patchVersion' is assigned value '0' here. gigalomania-1.0/gamestate.cpp:686:20: note: The comparison 'patchVersion == 0' is always true. gigalomania-1.0/gamestate.cpp:65:12: style: Local variable 'ticks_per_frame_c' shadows outer variable [shadowVariable] gigalomania-1.0/game.h:643:11: note: Shadowed declaration gigalomania-1.0/gamestate.cpp:65:12: note: Shadow variable gigalomania-1.0/gamestate.cpp:54:11: style: Variable 's1' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:55:11: style: Variable 's2' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:115:22: style: Variable 'image' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:305:16: style: Variable 'copy' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:313:16: style: Variable 'copy' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:713:22: style: Variable 'era' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:1187:14: style: Variable 'element' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:1415:46: style: Parameter 'building' can be declared as pointer to const [constParameterPointer] gigalomania-1.0/gamestate.cpp:1514:13: style: Variable 'army' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:1535:24: style: Variable 'image' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:1606:26: style: Variable 'image' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:1665:12: style: Variable 'soldier' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:1671:24: style: Variable 'image' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:1703:12: style: Variable 'soldier' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:1706:24: style: Variable 'image' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:2098:27: style: Variable 'image' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:2141:22: style: Variable 'base_image' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:2417:13: style: Variable 'target_sector' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:2616:13: style: Variable 'building' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:2725:24: style: Variable 'image' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:2754:13: style: Variable 'soldier' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:2856:13: style: Variable 'building' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gamestate.cpp:3165:23: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] gigalomania-1.0/gamestate.cpp:3167:37: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] gigalomania-1.0/gui.cpp:426:5: warning: Assert statement calls a function which may have desired side effects: 'getMapPanel'. [assertWithSideEffect] gigalomania-1.0/gui.cpp:38:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:46:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:78:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:325:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:362:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:426:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:718:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:891:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:1160:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:1285:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:1300:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:1436:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:1482:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:1484:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:1606:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:1607:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:1836:21: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:1931:7: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:1961:7: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:2002:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:2046:17: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:2123:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_design' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_ndesigners' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_shield' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_defence' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_attack' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::element_index' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_elements' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_nminers' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_build' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_nbuilders' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_knowndesigns' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_factory' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_nworkers' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_bigdesign' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_designers' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_shields' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_defences' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_weapons' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_bigshield' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_deploy_shields' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_shutdown' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_bigdefence' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_deploy_defences' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_bigattack' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_deploy_unarmedmen' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_deploy_attackers' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_return_attackers' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_select_all' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_bigelementstocks' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_elements2' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_nminers2' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_bigbuild' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_nbuilders2' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_bigknowndesigns' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_knownshields' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_knowndefences' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_knownweapons' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_bigdesigninfo' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_trashdesign' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_bigfactory' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_workers' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_famount' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_fshields' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_fdefences' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.cpp:592:12: warning: Member variable 'GamePanel::button_fweapons' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/gui.h:216:7: performance:inconclusive: Technically the member function 'GamePanel::drawKnownDesignsPage' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/gui.cpp:1475:17: note: Technically the member function 'GamePanel::drawKnownDesignsPage' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/gui.h:216:7: note: Technically the member function 'GamePanel::drawKnownDesignsPage' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/gui.cpp:60:8: warning: Class 'OneMouseButtonPanel' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] gigalomania-1.0/gui.cpp:60:8: warning: Class 'OneMouseButtonPanel' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] gigalomania-1.0/gui.cpp:88:12: warning: Class 'ChooseGameTypePanel' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] gigalomania-1.0/gui.cpp:88:12: warning: Class 'ChooseGameTypePanel' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] gigalomania-1.0/gui.cpp:132:11: warning: Class 'ChooseDifficultyPanel' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] gigalomania-1.0/gui.cpp:132:11: warning: Class 'ChooseDifficultyPanel' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] gigalomania-1.0/gui.cpp:228:11: warning: Class 'ChooseMenPanel' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] gigalomania-1.0/gui.cpp:228:11: warning: Class 'ChooseMenPanel' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] gigalomania-1.0/panel.h:58:12: style: The destructor '~PanelPage' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/resources.h:17:12: note: Virtual destructor in base class gigalomania-1.0/panel.h:58:12: note: Destructor in derived class gigalomania-1.0/panel.h:162:12: style: The destructor '~Button' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:58:12: note: Virtual destructor in base class gigalomania-1.0/panel.h:162:12: note: Destructor in derived class gigalomania-1.0/panel.h:178:12: style: The destructor '~ImageButton' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:58:12: note: Virtual destructor in base class gigalomania-1.0/panel.h:178:12: note: Destructor in derived class gigalomania-1.0/panel.h:199:12: style: The destructor '~CycleButton' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:58:12: note: Virtual destructor in base class gigalomania-1.0/panel.h:199:12: note: Destructor in derived class gigalomania-1.0/panel.h:215:12: style: The destructor '~MultiPanel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:58:12: note: Virtual destructor in base class gigalomania-1.0/panel.h:215:12: note: Destructor in derived class gigalomania-1.0/gui.cpp:223:8: style: Variable 'cy' is reassigned a value before the old one has been used. [redundantAssignment] gigalomania-1.0/gui.cpp:212:8: note: cy is assigned gigalomania-1.0/gui.cpp:223:8: note: cy is overwritten gigalomania-1.0/gui.cpp:685:7: style: Variable 'xpos' is reassigned a value before the old one has been used. [redundantAssignment] gigalomania-1.0/gui.cpp:683:7: note: xpos is assigned gigalomania-1.0/gui.cpp:685:7: note: xpos is overwritten gigalomania-1.0/gui.cpp:172:51: style:inconclusive: Function 'ChooseMenPanel' argument 1 names different: declaration 'placeMenGameState' definition 'gamestate'. [funcArgNamesDifferent] gigalomania-1.0/gui.h:105:36: note: Function 'ChooseMenPanel' argument 1 names different: declaration 'placeMenGameState' definition 'gamestate'. gigalomania-1.0/gui.cpp:172:51: note: Function 'ChooseMenPanel' argument 1 names different: declaration 'placeMenGameState' definition 'gamestate'. gigalomania-1.0/gui.cpp:309:7: style: Local variable 'n_men' shadows outer variable [shadowVariable] gigalomania-1.0/gui.h:89:6: note: Shadowed declaration gigalomania-1.0/gui.cpp:309:7: note: Shadow variable gigalomania-1.0/gui.cpp:346:7: style: Local variable 'n_men' shadows outer variable [shadowVariable] gigalomania-1.0/gui.h:89:6: note: Shadowed declaration gigalomania-1.0/gui.cpp:346:7: note: Shadow variable gigalomania-1.0/gui.cpp:56:96: style: Parameter 'caller_button' can be declared as pointer to const [constParameterPointer] gigalomania-1.0/gui.cpp:1265:23: style: Variable 'era' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gui.cpp:1329:14: style: Variable 'current_invention' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gui.cpp:1521:14: style: Variable 'current_manufacture' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/gui.cpp:271:12: style: Variable 'cy' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:445:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:453:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:461:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:467:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:489:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:496:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:500:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:506:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:529:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:534:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:539:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:547:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:554:26: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:568:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:1910:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:1937:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:2056:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:2114:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:2120:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:2179:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/gui.cpp:2199:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/image.cpp:260:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] gigalomania-1.0/image.cpp:292:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] gigalomania-1.0/image.cpp:440:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BLENDMODE_BLEND [valueFlowBailoutIncompleteVar] gigalomania-1.0/image.cpp:823:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SWSURFACE [valueFlowBailoutIncompleteVar] gigalomania-1.0/image.cpp:923:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SWSURFACE [valueFlowBailoutIncompleteVar] gigalomania-1.0/image.cpp:432:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/image.cpp:471:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/image.cpp:472:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/image.cpp:667:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/image.cpp:696:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/image.cpp:976:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/image.cpp:977:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/image.cpp:1094:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/image.cpp:215:21: style: C-style pointer casting [cstyleCast] gigalomania-1.0/image.cpp:225:3: style: C-style pointer casting [cstyleCast] gigalomania-1.0/image.cpp:250:13: style: C-style pointer casting [cstyleCast] gigalomania-1.0/image.cpp:257:11: style: C-style pointer casting [cstyleCast] gigalomania-1.0/image.cpp:266:11: style: C-style pointer casting [cstyleCast] gigalomania-1.0/image.cpp:280:13: style: C-style pointer casting [cstyleCast] gigalomania-1.0/image.cpp:288:4: style: C-style pointer casting [cstyleCast] gigalomania-1.0/image.cpp:304:4: style: C-style pointer casting [cstyleCast] gigalomania-1.0/image.cpp:481:28: style: C-style pointer casting [cstyleCast] gigalomania-1.0/image.cpp:826:22: style: C-style pointer casting [cstyleCast] gigalomania-1.0/image.cpp:927:16: style: C-style pointer casting [cstyleCast] gigalomania-1.0/image.cpp:1155:28: style: C-style pointer casting [cstyleCast] gigalomania-1.0/image.cpp:714:8: style: Local variable 'scale' shadows outer function [shadowFunction] gigalomania-1.0/image.h:72:8: note: Shadowed declaration gigalomania-1.0/image.cpp:714:8: note: Shadow variable gigalomania-1.0/image.cpp:823:16: style: Local variable 'surface' shadows outer variable [shadowVariable] gigalomania-1.0/image.h:32:16: note: Shadowed declaration gigalomania-1.0/image.cpp:823:16: note: Shadow variable gigalomania-1.0/image.cpp:941:10: style: Local variable 'h' shadows outer argument [shadowArgument] gigalomania-1.0/image.cpp:933:63: note: Shadowed declaration gigalomania-1.0/image.cpp:941:10: note: Shadow variable gigalomania-1.0/image.cpp:481:17: style: Variable 'src_data' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/image.cpp:671:7: style: Variable 'to' can be declared as const array [constVariable] gigalomania-1.0/image.cpp:714:8: style: Variable 'scale' can be declared as const array [constVariable] gigalomania-1.0/image.cpp:325:33: style: Variable 'a' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/panel.cpp:118:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] gigalomania-1.0/panel.cpp:477:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/panel.cpp:486:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/panel.cpp:495:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/panel.cpp:504:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/panel.cpp:537:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/panel.cpp:581:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/panel.cpp:539:8: warning: Class 'CycleButton' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] gigalomania-1.0/panel.cpp:539:8: warning: Class 'CycleButton' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] gigalomania-1.0/panel.cpp:259:9: style: Local variable 'w' shadows outer variable [shadowVariable] gigalomania-1.0/panel.h:39:7: note: Shadowed declaration gigalomania-1.0/panel.cpp:259:9: note: Shadow variable gigalomania-1.0/panel.cpp:260:9: style: Local variable 'h' shadows outer variable [shadowVariable] gigalomania-1.0/panel.h:39:10: note: Shadowed declaration gigalomania-1.0/panel.cpp:260:9: note: Shadow variable gigalomania-1.0/panel.cpp:338:14: style: Local variable 'panel' shadows outer variable [shadowVariable] gigalomania-1.0/panel.cpp:211:13: note: Shadowed declaration gigalomania-1.0/panel.cpp:338:14: note: Shadow variable gigalomania-1.0/panel.cpp:211:13: style: Variable 'panel' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/player.cpp:1060:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] gigalomania-1.0/player.cpp:32:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:59:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:133:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:141:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:216:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:232:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:255:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:256:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:257:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:267:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:268:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:269:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:288:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:289:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:290:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:300:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:301:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:302:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:315:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:338:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:341:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:412:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:470:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:550:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:1030:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:1036:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:1116:7: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:1121:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:1133:10: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:1148:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/player.cpp:784:36: style: The if condition is the same as the previous if condition [duplicateCondition] gigalomania-1.0/player.cpp:782:36: note: First condition gigalomania-1.0/player.cpp:784:36: note: Second condition gigalomania-1.0/player.cpp:786:36: style: The if condition is the same as the previous if condition [duplicateCondition] gigalomania-1.0/player.cpp:784:36: note: First condition gigalomania-1.0/player.cpp:786:36: note: Second condition gigalomania-1.0/player.cpp:789:36: style: The if condition is the same as the previous if condition [duplicateCondition] gigalomania-1.0/player.cpp:786:36: note: First condition gigalomania-1.0/player.cpp:789:36: note: Second condition gigalomania-1.0/player.cpp:450:34: style: Condition 'one_side' is always true [knownConditionTrueFalse] gigalomania-1.0/player.cpp:446:6: note: Assuming that condition 'one_side' is not redundant gigalomania-1.0/player.cpp:450:34: note: Condition 'one_side' is always true gigalomania-1.0/player.cpp:357:33: style: Parameter 'allied' can be declared as const array [constParameter] gigalomania-1.0/player.cpp:990:27: style: Variable 'assembled_strength' is assigned a value that is never used. [unreadVariable] gigalomania-1.0/resources.cpp:35:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/resources.cpp:58:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/screen.cpp:56:108: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_RESIZABLE [valueFlowBailoutIncompleteVar] gigalomania-1.0/screen.cpp:103:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HINT_RENDER_SCALE_QUALITY [valueFlowBailoutIncompleteVar] gigalomania-1.0/screen.cpp:280:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] gigalomania-1.0/screen.cpp:323:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] gigalomania-1.0/screen.cpp:57:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/screen.cpp:69:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/screen.cpp:269:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/screen.cpp:281:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sound.h:36:3: warning: Member variable 'Sample::channel' is not initialized in the constructor. [uninitMemberVar] gigalomania-1.0/screen.h:80:7: performance:inconclusive: Technically the member function 'Application::init' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/screen.cpp:273:19: note: Technically the member function 'Application::init' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/screen.h:80:7: note: Technically the member function 'Application::init' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/screen.h:82:15: performance:inconclusive: Technically the member function 'Application::getTicks' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/screen.cpp:287:27: note: Technically the member function 'Application::getTicks' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/screen.h:82:15: note: Technically the member function 'Application::getTicks' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/screen.h:83:7: performance:inconclusive: Technically the member function 'Application::delay' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/screen.cpp:291:19: note: Technically the member function 'Application::delay' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/screen.h:83:7: note: Technically the member function 'Application::delay' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/sound.h:39:12: style: The destructor '~Sample' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/resources.h:17:12: note: Virtual destructor in base class gigalomania-1.0/sound.h:39:12: note: Destructor in derived class gigalomania-1.0/screen.cpp:199:42: warning: Function 'drawLine' argument order different: declaration 'x0, y0, x1, y1, r, g, b' definition 'x1, y1, x2, y2, r, g, b' [funcArgOrderDifferent] gigalomania-1.0/screen.h:47:23: note: Function 'drawLine' argument order different: declaration 'x0, y0, x1, y1, r, g, b' definition 'x1, y1, x2, y2, r, g, b' gigalomania-1.0/screen.cpp:199:42: note: Function 'drawLine' argument order different: declaration 'x0, y0, x1, y1, r, g, b' definition 'x1, y1, x2, y2, r, g, b' gigalomania-1.0/screen.cpp:301:15: style: Local variable 'delay' shadows outer function [shadowFunction] gigalomania-1.0/screen.h:83:7: note: Shadowed declaration gigalomania-1.0/screen.cpp:301:15: note: Shadow variable gigalomania-1.0/sector.cpp:460:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEAPON [valueFlowBailoutIncompleteVar] gigalomania-1.0/sector.cpp:493:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEAPON [valueFlowBailoutIncompleteVar] gigalomania-1.0/sector.cpp:1781:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] gigalomania-1.0/sector.cpp:45:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:53:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:143:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:148:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:156:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:166:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:176:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:180:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:188:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:198:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:199:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:200:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:201:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:206:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:207:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:210:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:216:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:223:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:224:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:225:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:227:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:231:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:248:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:295:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:296:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:319:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:379:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:394:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:441:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:466:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:467:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:487:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:495:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:572:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:613:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:692:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:697:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:698:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:703:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:708:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:713:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:754:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:773:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:791:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:823:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:988:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:998:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1047:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1056:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1114:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1157:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1158:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1159:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1249:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1263:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1269:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1276:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1420:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1422:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1439:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1441:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1501:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1502:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1503:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1505:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1520:7: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1539:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1561:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1585:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1589:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1599:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1636:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1675:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1686:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1691:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1710:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1716:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:1862:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2054:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2058:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2060:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2139:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2229:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2247:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2251:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2319:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2356:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2377:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2399:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2408:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2421:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2455:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2477:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2478:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2530:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2536:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2542:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2548:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2554:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2559:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2565:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2573:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2576:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2584:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2587:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2595:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2605:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2615:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2639:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2640:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2650:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2651:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2652:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2662:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2684:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2685:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2706:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2712:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2722:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2727:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2747:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2761:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2771:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2777:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:2997:4: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:3128:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:3147:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:3180:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:3220:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:3293:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:3319:8: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.cpp:3334:6: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/sector.h:391:10: performance:inconclusive: Technically the member function 'Sector::loadStateParseXMLDesign' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/sector.cpp:2979:17: note: Technically the member function 'Sector::loadStateParseXMLDesign' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/sector.h:391:10: note: Technically the member function 'Sector::loadStateParseXMLDesign' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/sector.h:574:7: performance:inconclusive: Technically the member function 'Sector::printDebugInfo' can be static (but you may consider moving to unnamed namespace). [functionStatic] gigalomania-1.0/sector.cpp:3355:14: note: Technically the member function 'Sector::printDebugInfo' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/sector.h:574:7: note: Technically the member function 'Sector::printDebugInfo' can be static (but you may consider moving to unnamed namespace). gigalomania-1.0/sector.cpp:576:3: warning: Class 'Building' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] gigalomania-1.0/sector.cpp:576:3: warning: Class 'Building' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] gigalomania-1.0/sector.cpp:879:9: warning: Class 'Sector' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] gigalomania-1.0/sector.cpp:879:9: warning: Class 'Sector' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] gigalomania-1.0/sector.cpp:2037:17: style: Condition 'spare_pop>0' is always true [knownConditionTrueFalse] gigalomania-1.0/sector.cpp:2031:38: note: Assuming that condition 'this->getSparePopulation()>0' is not redundant gigalomania-1.0/sector.cpp:2032:43: note: Assignment 'spare_pop=this->getSparePopulation()', assigned value is greater than 0 gigalomania-1.0/sector.cpp:2037:17: note: Condition 'spare_pop>0' is always true gigalomania-1.0/sector.cpp:957:22: style: C-style pointer casting [cstyleCast] gigalomania-1.0/sector.cpp:208:7: style: Local variable 'any' shadows outer function [shadowFunction] gigalomania-1.0/sector.h:121:7: note: Shadowed declaration gigalomania-1.0/sector.cpp:208:7: note: Shadow variable gigalomania-1.0/sector.cpp:837:7: style: Local variable 'xpos' shadows outer argument [shadowArgument] gigalomania-1.0/sector.cpp:812:60: note: Shadowed declaration gigalomania-1.0/sector.cpp:837:7: note: Shadow variable gigalomania-1.0/sector.cpp:838:7: style: Local variable 'ypos' shadows outer argument [shadowArgument] gigalomania-1.0/sector.cpp:812:70: note: Shadowed declaration gigalomania-1.0/sector.cpp:838:7: note: Shadow variable gigalomania-1.0/sector.cpp:855:7: style: Local variable 'ypos' shadows outer argument [shadowArgument] gigalomania-1.0/sector.cpp:812:70: note: Shadowed declaration gigalomania-1.0/sector.cpp:855:7: note: Shadow variable gigalomania-1.0/sector.cpp:871:7: style: Local variable 'ypos' shadows outer argument [shadowArgument] gigalomania-1.0/sector.cpp:812:70: note: Shadowed declaration gigalomania-1.0/sector.cpp:871:7: note: Shadow variable gigalomania-1.0/sector.cpp:2202:10: style: Local variable 'xpos' shadows outer variable [shadowVariable] gigalomania-1.0/sector.h:338:6: note: Shadowed declaration gigalomania-1.0/sector.cpp:2202:10: note: Shadow variable gigalomania-1.0/sector.cpp:2203:10: style: Local variable 'ypos' shadows outer variable [shadowVariable] gigalomania-1.0/sector.h:338:12: note: Shadowed declaration gigalomania-1.0/sector.cpp:2203:10: note: Shadow variable gigalomania-1.0/sector.cpp:2575:6: style: Local variable 'n_builders' shadows outer variable [shadowVariable] gigalomania-1.0/sector.h:355:6: note: Shadowed declaration gigalomania-1.0/sector.cpp:2575:6: note: Shadow variable gigalomania-1.0/sector.cpp:2586:6: style: Local variable 'n_builders' shadows outer variable [shadowVariable] gigalomania-1.0/sector.h:355:6: note: Shadowed declaration gigalomania-1.0/sector.cpp:2586:6: note: Shadow variable gigalomania-1.0/sector.cpp:3280:10: style: Local variable 'epoch' shadows outer variable [shadowVariable] gigalomania-1.0/sector.h:339:6: note: Shadowed declaration gigalomania-1.0/sector.cpp:3280:10: note: Shadow variable gigalomania-1.0/sector.cpp:850:23: style: Variable 'image' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sector.cpp:867:23: style: Variable 'image' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sector.cpp:1275:13: style: Variable 'invention' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sector.cpp:1366:11: style: Variable 'design' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sector.cpp:1421:13: style: Variable 'invention' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sector.cpp:1440:13: style: Variable 'invention' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sector.cpp:1471:11: style: Variable 'design' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sector.cpp:1487:11: style: Variable 'this_design' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sector.cpp:1576:13: style: Variable 'invention' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sector.cpp:1750:9: style: Variable 'army' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sector.cpp:1981:12: style: Variable 'element' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sector.cpp:2159:31: style: Variable 'nuke_image' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sector.cpp:2228:11: style: Variable 'element' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sector.cpp:2779:10: style: Variable 'src_sector' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sector.cpp:2825:10: style: Variable 'src_sector' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/sound.cpp:34:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] gigalomania-1.0/sound.cpp:62:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] gigalomania-1.0/sound.cpp:94:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MUS_OGG [valueFlowBailoutIncompleteVar] gigalomania-1.0/sound.cpp:117:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] gigalomania-1.0/sound.cpp:35:3: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/tutorial.cpp:124:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/tutorial.cpp:226:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/tutorial.cpp:228:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/tutorial.cpp:426:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/tutorial.cpp:574:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/tutorial.cpp:203:17: style: Variable 'card' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/tutorial.cpp:225:10: style: Variable 'start_sector' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/tutorial.cpp:573:10: style: Variable 'start_sector' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/utils.cpp:45:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] gigalomania-1.0/utils.cpp:46:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/utils.cpp:116:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/utils.cpp:259:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/utils.cpp:267:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/utils.cpp:273:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/utils.cpp:293:2: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/utils.cpp:302:5: warning: Return value of function log() is not used. [ignoredReturnValue] gigalomania-1.0/utils.cpp:379:12: style: The scope of the variable 'k' can be reduced. [variableScope] gigalomania-1.0/utils.cpp:422:27: style: Parameter 'vec' can be declared as const array [constParameter] gigalomania-1.0/utils.cpp:424:29: style: Variable 'q' can be declared as pointer to const [constVariablePointer] gigalomania-1.0/utils.cpp:88:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] diff: head gigalomania-1.0/CreateScaledGfx/main.cpp:13:13: style: Error code from the return value of function dst_dir.cd() is not used. [ignoredReturnErrorCode] 2.13.0 gigalomania-1.0/CreateScaledGfx/main.cpp:13:13: warning: Return value of function dst_dir.cd() is not used. [ignoredReturnValue] head gigalomania-1.0/game.cpp:3393:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head gigalomania-1.0/game.cpp:5388:32: style: C-style pointer casting [cstyleCast] 2.13.0 gigalomania-1.0/game.cpp:759:26: warning: Either the condition 'selected_island==max_islands_per_epoch_c' is redundant or the array 'completed_island[3]' is accessed at index 3, which is out of bounds. [arrayIndexOutOfBoundsCond] gigalomania-1.0/game.cpp:761:24: note: Assuming that condition 'selected_island==max_islands_per_epoch_c' is not redundant gigalomania-1.0/game.cpp:759:26: note: Array index out of bounds head gigalomania-1.0/game.cpp:874:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head gigalomania-1.0/gamestate.cpp:1256:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIRMTYPE_UNKNOWN [valueFlowBailoutIncompleteVar] head gigalomania-1.0/gamestate.cpp:2025:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head gigalomania-1.0/gamestate.cpp:831:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIRMTYPE_NEWGAME [valueFlowBailoutIncompleteVar] head gigalomania-1.0/gamestate.cpp:863:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIRMTYPE_NEWGAME [valueFlowBailoutIncompleteVar] head gigalomania-1.0/gamestate.cpp:946:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIRMTYPE_QUITGAME [valueFlowBailoutIncompleteVar] head gigalomania-1.0/gamestate.h:142:11: style: The destructor '~FadeEffect' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:104:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:142:11: note: Destructor in derived class head gigalomania-1.0/gamestate.h:248:11: style: The destructor '~ChooseGameTypeGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:248:11: note: Destructor in derived class head gigalomania-1.0/gamestate.h:262:11: style: The destructor '~ChooseDifficultyGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:262:11: note: Destructor in derived class head gigalomania-1.0/gamestate.h:278:11: style: The destructor '~ChoosePlayerGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:278:11: note: Destructor in derived class head gigalomania-1.0/gamestate.h:289:11: style: The destructor '~ChooseTutorialGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:289:11: note: Destructor in derived class head gigalomania-1.0/gamestate.h:305:11: style: The destructor '~PlaceMenGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:305:11: note: Destructor in derived class head gigalomania-1.0/gamestate.h:383:11: style: The destructor '~PlayingGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:383:11: note: Destructor in derived class head gigalomania-1.0/gamestate.h:468:11: style: The destructor '~EndIslandGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:468:11: note: Destructor in derived class head gigalomania-1.0/gamestate.h:481:11: style: The destructor '~GameCompleteGameState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/gamestate.h:210:11: note: Virtual destructor in base class gigalomania-1.0/gamestate.h:481:11: note: Destructor in derived class 2.13.0 gigalomania-1.0/gui.cpp:830:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEAPON [valueFlowBailoutIncompleteVar] head gigalomania-1.0/gui.h:227:11: style: The destructor '~GamePanel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:215:12: note: Virtual destructor in base class gigalomania-1.0/gui.h:227:11: note: Destructor in derived class head gigalomania-1.0/image.cpp:292:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] head gigalomania-1.0/image.cpp:440:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BLENDMODE_BLEND [valueFlowBailoutIncompleteVar] head gigalomania-1.0/image.cpp:823:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SWSURFACE [valueFlowBailoutIncompleteVar] head gigalomania-1.0/image.cpp:923:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SWSURFACE [valueFlowBailoutIncompleteVar] head gigalomania-1.0/image.h:47:12: style: The destructor '~Image' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/resources.h:17:12: note: Virtual destructor in base class gigalomania-1.0/image.h:47:12: note: Destructor in derived class head gigalomania-1.0/panel.h:162:12: style: The destructor '~Button' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:58:12: note: Virtual destructor in base class gigalomania-1.0/panel.h:162:12: note: Destructor in derived class head gigalomania-1.0/panel.h:178:12: style: The destructor '~ImageButton' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:58:12: note: Virtual destructor in base class gigalomania-1.0/panel.h:178:12: note: Destructor in derived class head gigalomania-1.0/panel.h:199:12: style: The destructor '~CycleButton' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:58:12: note: Virtual destructor in base class gigalomania-1.0/panel.h:199:12: note: Destructor in derived class head gigalomania-1.0/panel.h:199:12: style: The destructor '~CycleButton' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/resources.h:17:12: note: Virtual destructor in base class gigalomania-1.0/panel.h:199:12: note: Destructor in derived class head gigalomania-1.0/panel.h:215:12: style: The destructor '~MultiPanel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/panel.h:58:12: note: Virtual destructor in base class gigalomania-1.0/panel.h:215:12: note: Destructor in derived class head gigalomania-1.0/panel.h:215:12: style: The destructor '~MultiPanel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/resources.h:17:12: note: Virtual destructor in base class gigalomania-1.0/panel.h:215:12: note: Destructor in derived class head gigalomania-1.0/panel.h:58:12: style: The destructor '~PanelPage' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/resources.h:17:12: note: Virtual destructor in base class gigalomania-1.0/panel.h:58:12: note: Destructor in derived class head gigalomania-1.0/player.cpp:1060:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.13.0 gigalomania-1.0/player.cpp:624:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEAPON [valueFlowBailoutIncompleteVar] head gigalomania-1.0/screen.cpp:103:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HINT_RENDER_SCALE_QUALITY [valueFlowBailoutIncompleteVar] head gigalomania-1.0/screen.cpp:280:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] head gigalomania-1.0/screen.cpp:323:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] head gigalomania-1.0/screen.cpp:56:108: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_RESIZABLE [valueFlowBailoutIncompleteVar] head gigalomania-1.0/sector.cpp:1781:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head gigalomania-1.0/sector.cpp:2037:17: style: Condition 'spare_pop>0' is always true [knownConditionTrueFalse] gigalomania-1.0/sector.cpp:2031:38: note: Assuming that condition 'this->getSparePopulation()>0' is not redundant gigalomania-1.0/sector.cpp:2032:43: note: Assignment 'spare_pop=this->getSparePopulation()', assigned value is greater than 0 gigalomania-1.0/sector.cpp:2037:17: note: Condition 'spare_pop>0' is always true head gigalomania-1.0/sector.cpp:460:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEAPON [valueFlowBailoutIncompleteVar] head gigalomania-1.0/sector.cpp:493:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEAPON [valueFlowBailoutIncompleteVar] head gigalomania-1.0/sector.h:87:11: style: The destructor '~SmokeParticleSystem' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/sector.h:69:11: note: Virtual destructor in base class gigalomania-1.0/sector.h:87:11: note: Destructor in derived class head gigalomania-1.0/sound.cpp:117:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] head gigalomania-1.0/sound.cpp:62:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] head gigalomania-1.0/sound.cpp:94:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MUS_OGG [valueFlowBailoutIncompleteVar] head gigalomania-1.0/sound.h:39:12: style: The destructor '~Sample' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gigalomania-1.0/resources.h:17:12: note: Virtual destructor in base class gigalomania-1.0/sound.h:39:12: note: Destructor in derived class head gigalomania-1.0/tutorial.h:237:9: performance: Function 'getId()' should return member 'id' by const reference. [returnByReference] head gigalomania-1.0/tutorial.h:74:9: performance: Function 'getId()' should return member 'id' by const reference. [returnByReference] head gigalomania-1.0/tutorial.h:77:9: performance: Function 'getText()' should return member 'text' by const reference. [returnByReference] head gigalomania-1.0/tutorial.h:84:9: performance: Function 'getNextText()' should return member 'next_text' by const reference. [returnByReference] DONE