2025-05-06 05:14 ftp://ftp.de.debian.org/debian/pool/main/m/mazeofgalious/mazeofgalious_0.62.dfsg2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 581f101 (2025-05-05 21:13:30 +0200) count: 385 385 elapsed-time: 23.1 23.7 head-timing-info: old-timing-info: head results: mazeofgalious-0.62/debug-report.cpp:410:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_LAST [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/bitmaps.h:10:2: warning: Member variable 'Bitmap::pal' is not initialized in the constructor. [uninitMemberVar] mazeofgalious-0.62/bitmaps.h:10:2: warning: Member variable 'Bitmap::type' is not initialized in the constructor. [uninitMemberVar] mazeofgalious-0.62/bitmaps.h:25:6: style:inconclusive: Technically the member function 'Bitmap::get_ancho' can be const. [functionConst] mazeofgalious-0.62/bitmaps.h:26:6: style:inconclusive: Technically the member function 'Bitmap::get_alto' can be const. [functionConst] mazeofgalious-0.62/tiles.h:10:83: warning: Class 'CTile' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] mazeofgalious-0.62/tiles.h:10:83: warning: Class 'CTile' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] mazeofgalious-0.62/bitmaps.h:11:2: style: Class 'Bitmap' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mazeofgalious-0.62/debug-report.cpp:165:31: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/drawing.cpp:242:10: style: Condition 'np1--' is always true [knownConditionTrueFalse] mazeofgalious-0.62/drawing.cpp:241:28: note: Assuming that condition 'np1>0' is not redundant mazeofgalious-0.62/drawing.cpp:242:10: note: Condition 'np1--' is always true mazeofgalious-0.62/drawing.cpp:252:10: style: Condition 'np2--' is always true [knownConditionTrueFalse] mazeofgalious-0.62/drawing.cpp:251:28: note: Assuming that condition 'np2>0' is not redundant mazeofgalious-0.62/drawing.cpp:252:10: note: Condition 'np2--' is always true mazeofgalious-0.62/drawing.cpp:280:10: style: Condition 'np1--' is always true [knownConditionTrueFalse] mazeofgalious-0.62/drawing.cpp:279:28: note: Assuming that condition 'np1>0' is not redundant mazeofgalious-0.62/drawing.cpp:280:10: note: Condition 'np1--' is always true mazeofgalious-0.62/drawing.cpp:327:10: style: Condition 'np2--' is always true [knownConditionTrueFalse] mazeofgalious-0.62/drawing.cpp:326:28: note: Assuming that condition 'np2>0' is not redundant mazeofgalious-0.62/drawing.cpp:327:10: note: Condition 'np2--' is always true mazeofgalious-0.62/drawing.cpp:268:10: style: C-style pointer casting [cstyleCast] mazeofgalious-0.62/drawing.cpp:304:10: style: C-style pointer casting [cstyleCast] mazeofgalious-0.62/drawing.cpp:343:10: style: C-style pointer casting [cstyleCast] mazeofgalious-0.62/drawing.cpp:377:10: style: C-style pointer casting [cstyleCast] mazeofgalious-0.62/drawing.cpp:190:10: style: The scope of the variable 'errt1' can be reduced. [variableScope] mazeofgalious-0.62/drawing.cpp:190:16: style: The scope of the variable 'errt2' can be reduced. [variableScope] mazeofgalious-0.62/drawing.cpp:190:22: style: The scope of the variable 'ydif1' can be reduced. [variableScope] mazeofgalious-0.62/drawing.cpp:190:28: style: The scope of the variable 'ydif2' can be reduced. [variableScope] mazeofgalious-0.62/drawing.cpp:190:34: style: The scope of the variable 'xdif1' can be reduced. [variableScope] mazeofgalious-0.62/drawing.cpp:190:40: style: The scope of the variable 'xdif2' can be reduced. [variableScope] mazeofgalious-0.62/drawing.cpp:190:46: style: The scope of the variable 'xunit1' can be reduced. [variableScope] mazeofgalious-0.62/drawing.cpp:190:53: style: The scope of the variable 'xunit2' can be reduced. [variableScope] mazeofgalious-0.62/drawing.cpp:193:14: style: The scope of the variable 'desp1' can be reduced. [variableScope] mazeofgalious-0.62/drawing.cpp:194:14: style: The scope of the variable 'desp2' can be reduced. [variableScope] mazeofgalious-0.62/drawing.cpp:185:21: style: Parameter 'xp' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/drawing.cpp:185:29: style: Parameter 'yp' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/drawing.cpp:32:11: style: Variable 'rincy' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/drawing.cpp:36:11: style: Variable 'rincy' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/drawing.cpp:87:11: style: Variable 'rincy' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/drawing.cpp:91:11: style: Variable 'rincy' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/drawing.cpp:388:6: style: Variable 'vs1' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/drawing.cpp:396:6: style: Variable 'vs2' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/gameaux.cpp:2620:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_q [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/gameaux.cpp:2778:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_UNKNOWN [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/gameaux.cpp:2793:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_a [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/gameaux.cpp:3062:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/bitmaps.h:11:2: warning: Member variable 'Bitmap::type' is not initialized in the constructor. [uninitMemberVar] mazeofgalious-0.62/bitmaps.cpp:94:14: style:inconclusive: Technically the member function 'Bitmap::draw' can be const. [functionConst] mazeofgalious-0.62/bitmaps.h:16:7: note: Technically the member function 'Bitmap::draw' can be const. mazeofgalious-0.62/bitmaps.cpp:94:14: note: Technically the member function 'Bitmap::draw' can be const. mazeofgalious-0.62/bitmaps.cpp:194:14: style:inconclusive: Technically the member function 'Bitmap::draw_sprite' can be const. [functionConst] mazeofgalious-0.62/bitmaps.h:17:7: note: Technically the member function 'Bitmap::draw_sprite' can be const. mazeofgalious-0.62/bitmaps.cpp:194:14: note: Technically the member function 'Bitmap::draw_sprite' can be const. mazeofgalious-0.62/bitmaps.cpp:292:14: style:inconclusive: Technically the member function 'Bitmap::draw_sprite_cut' can be const. [functionConst] mazeofgalious-0.62/bitmaps.h:18:7: note: Technically the member function 'Bitmap::draw_sprite_cut' can be const. mazeofgalious-0.62/bitmaps.cpp:292:14: note: Technically the member function 'Bitmap::draw_sprite_cut' can be const. mazeofgalious-0.62/bitmaps.cpp:394:14: style:inconclusive: Technically the member function 'Bitmap::draw_sprite_mask' can be const. [functionConst] mazeofgalious-0.62/bitmaps.h:19:7: note: Technically the member function 'Bitmap::draw_sprite_mask' can be const. mazeofgalious-0.62/bitmaps.cpp:394:14: note: Technically the member function 'Bitmap::draw_sprite_mask' can be const. mazeofgalious-0.62/bitmaps.cpp:492:13: style:inconclusive: Technically the member function 'Bitmap::coltest' can be const. [functionConst] mazeofgalious-0.62/bitmaps.h:20:7: note: Technically the member function 'Bitmap::coltest' can be const. mazeofgalious-0.62/bitmaps.cpp:492:13: note: Technically the member function 'Bitmap::coltest' can be const. mazeofgalious-0.62/bitmaps.cpp:592:14: style:inconclusive: Technically the member function 'Bitmap::to_tile_colision' can be const. [functionConst] mazeofgalious-0.62/bitmaps.h:21:7: note: Technically the member function 'Bitmap::to_tile_colision' can be const. mazeofgalious-0.62/bitmaps.cpp:592:14: note: Technically the member function 'Bitmap::to_tile_colision' can be const. mazeofgalious-0.62/bitmaps.cpp:24:53: error: Resource leak: fp [resourceLeak] mazeofgalious-0.62/bitmaps.cpp:25:20: error: Resource leak: fp [resourceLeak] mazeofgalious-0.62/bitmaps.cpp:8:30: style: Parameter 'nombre' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/bitmaps.cpp:492:83: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/bitmaps.cpp:592:39: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/bitmaps.cpp:42:10: style: Variable 'columnas' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/bitmaps.cpp:43:7: style: Variable 'filas' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/bitmaps.cpp:594:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/gamecycle.cpp:367:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_SPACE [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/demons.cpp:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] mazeofgalious-0.62/demons.cpp:139:10: style: The scope of the variable 'offs' can be reduced. [variableScope] mazeofgalious-0.62/demons.cpp:355:7: style: The scope of the variable 'mask' can be reduced. [variableScope] mazeofgalious-0.62/demons.cpp:166:7: style: Variable 'x' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:167:7: style: Variable 'y' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:200:7: style: Variable 'x' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:201:7: style: Variable 'y' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:222:7: style: Variable 'x' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:259:7: style: Variable 'x' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:260:7: style: Variable 'y' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:355:7: style: Variable 'mask' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:970:6: style: Variable 'obj' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:1032:9: style: Variable 'yo' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:1085:6: style: Variable 'cycle' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:1171:10: style: Variable 'presets' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:1595:6: style: Variable 'seq' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:1636:9: style: Variable 'dx' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:1637:9: style: Variable 'dy' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:1765:9: style: Variable 'x' can be declared as const array [constVariable] mazeofgalious-0.62/demons.cpp:1766:9: style: Variable 'y' can be declared as const array [constVariable] mazeofgalious-0.62/gamecycle.cpp:311:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] mazeofgalious-0.62/gamecycle.cpp:309:17: note: Assuming allocation function fails mazeofgalious-0.62/gamecycle.cpp:309:17: note: Assignment 'fp=fopen("report.txt","w+")', assigned value is 0 mazeofgalious-0.62/gamecycle.cpp:311:10: note: Null pointer dereference mazeofgalious-0.62/gamecycle.cpp:312:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] mazeofgalious-0.62/gamecycle.cpp:309:17: note: Assuming allocation function fails mazeofgalious-0.62/gamecycle.cpp:309:17: note: Assignment 'fp=fopen("report.txt","w+")', assigned value is 0 mazeofgalious-0.62/gamecycle.cpp:312:10: note: Null pointer dereference mazeofgalious-0.62/gamecycle.cpp:313:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] mazeofgalious-0.62/gamecycle.cpp:309:17: note: Assuming allocation function fails mazeofgalious-0.62/gamecycle.cpp:309:17: note: Assignment 'fp=fopen("report.txt","w+")', assigned value is 0 mazeofgalious-0.62/gamecycle.cpp:313:10: note: Null pointer dereference mazeofgalious-0.62/gamecycle.cpp:314:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] mazeofgalious-0.62/gamecycle.cpp:309:17: note: Assuming allocation function fails mazeofgalious-0.62/gamecycle.cpp:309:17: note: Assignment 'fp=fopen("report.txt","w+")', assigned value is 0 mazeofgalious-0.62/gamecycle.cpp:314:10: note: Null pointer dereference mazeofgalious-0.62/gamecycle.cpp:315:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] mazeofgalious-0.62/gamecycle.cpp:309:17: note: Assuming allocation function fails mazeofgalious-0.62/gamecycle.cpp:309:17: note: Assignment 'fp=fopen("report.txt","w+")', assigned value is 0 mazeofgalious-0.62/gamecycle.cpp:315:10: note: Null pointer dereference mazeofgalious-0.62/gamecycle.cpp:317:9: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] mazeofgalious-0.62/gamecycle.cpp:309:17: note: Assuming allocation function fails mazeofgalious-0.62/gamecycle.cpp:309:17: note: Assignment 'fp=fopen("report.txt","w+")', assigned value is 0 mazeofgalious-0.62/gamecycle.cpp:317:9: note: Null pointer dereference mazeofgalious-0.62/gamecycle.cpp:1535:28: style: Redundant assignment of 'player_experience[0]' to itself. [selfAssignment] mazeofgalious-0.62/gamecycle.cpp:1538:29: style: Redundant assignment of 'player_dexperience[0]' to itself. [selfAssignment] mazeofgalious-0.62/gamecycle.cpp:2314:20: style: Variable 'old_room_demonroom' is reassigned a value before the old one has been used. [redundantAssignment] mazeofgalious-0.62/gamecycle.cpp:1519:25: note: old_room_demonroom is assigned mazeofgalious-0.62/gamecycle.cpp:2314:20: note: old_room_demonroom is overwritten mazeofgalious-0.62/gamecycle.cpp:1654:9: style: The scope of the variable 'i' can be reduced. [variableScope] mazeofgalious-0.62/gamecycle.cpp:1654:11: style: The scope of the variable 'j' can be reduced. [variableScope] mazeofgalious-0.62/gamecycle.cpp:1655:10: style: The scope of the variable 'found' can be reduced. [variableScope] mazeofgalious-0.62/gamecycle.cpp:1984:13: style: The scope of the variable 'tmpy' can be reduced. [variableScope] mazeofgalious-0.62/gamecycle.cpp:2162:13: style: The scope of the variable 'tmpy' can be reduced. [variableScope] mazeofgalious-0.62/gamecycle.cpp:609:13: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:324:7: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:609:13: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:659:12: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:324:7: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:659:12: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:1126:10: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:324:7: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:1126:10: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:1182:10: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:324:7: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:1182:10: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:1192:11: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:324:7: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:1192:11: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:1214:11: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:324:7: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:1214:11: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:1278:10: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:324:7: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:1278:10: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:1503:13: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:324:7: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:1503:13: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:1513:13: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:324:7: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:1513:13: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:1585:10: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:324:7: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:1585:10: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:1642:11: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:324:7: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:1642:11: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:1704:12: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:324:7: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:1704:12: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:1710:12: style: Local variable 'i' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:1654:9: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:1710:12: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:1918:10: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:324:7: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:1918:10: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:2259:10: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gamecycle.cpp:324:7: note: Shadowed declaration mazeofgalious-0.62/gamecycle.cpp:2259:10: note: Shadow variable mazeofgalious-0.62/gamecycle.cpp:325:17: style: Variable 'keyboard' can be declared as pointer to const [constVariablePointer] mazeofgalious-0.62/gamecycle.cpp:481:9: style: Variable 'x' can be declared as const array [constVariable] mazeofgalious-0.62/gamecycle.cpp:482:9: style: Variable 'y' can be declared as const array [constVariable] mazeofgalious-0.62/gamecycle.cpp:671:13: style: Variable 'x' can be declared as const array [constVariable] mazeofgalious-0.62/gamecycle.cpp:886:11: style: Variable 'pos' can be declared as const array [constVariable] mazeofgalious-0.62/gamecycle.cpp:1657:9: style: Variable 'ypos' can be declared as const array [constVariable] mazeofgalious-0.62/gamecycle.cpp:1658:9: style: Variable 'xpos' can be declared as const array [constVariable] mazeofgalious-0.62/gamecycle.cpp:1920:11: style: Variable 'prefixes' can be declared as const array [constVariable] mazeofgalious-0.62/gamecycle.cpp:2260:11: style: Variable 'letter' can be declared as const array [constVariable] mazeofgalious-0.62/gamecycle.cpp:1693:11: style: Variable 'found' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/gameaux.cpp:541:18: warning: Logical disjunction always evaluates to true: tile >= 135 || tile <= 140. [incorrectLogicOperator] mazeofgalious-0.62/gameaux.cpp:944:12: style: Condition 'j<0' is always false [knownConditionTrueFalse] mazeofgalious-0.62/gameaux.cpp:941:11: note: Assuming that condition 'j<0' is not redundant mazeofgalious-0.62/gameaux.cpp:942:9: note: Assignment 'j=-j', assigned value is greater than 0 mazeofgalious-0.62/gameaux.cpp:943:7: note: j is decremented', new value is -1 mazeofgalious-0.62/gameaux.cpp:944:12: note: Condition 'j<0' is always false mazeofgalious-0.62/gameaux.cpp:1743:3: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] mazeofgalious-0.62/gameaux.cpp:1828:4: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] mazeofgalious-0.62/gameaux.cpp:2396:11: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] mazeofgalious-0.62/gameaux.cpp:2587:2: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] mazeofgalious-0.62/gameaux.cpp:2599:2: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] mazeofgalious-0.62/gameaux.cpp:2574:71: error: Resource leak: fp [resourceLeak] mazeofgalious-0.62/gameaux.cpp:2580:71: error: Resource leak: fp [resourceLeak] mazeofgalious-0.62/gameaux.cpp:2559:9: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] mazeofgalious-0.62/gameaux.cpp:2543:10: note: Assuming allocation function fails mazeofgalious-0.62/gameaux.cpp:2543:10: note: Assignment 'fp=fopen(filename,"w+")', assigned value is 0 mazeofgalious-0.62/gameaux.cpp:2559:9: note: Null pointer dereference mazeofgalious-0.62/gameaux.cpp:520:6: style: The scope of the variable 'val' can be reduced. [variableScope] mazeofgalious-0.62/gameaux.cpp:2805:8: style: The scope of the variable 'str' can be reduced. [variableScope] mazeofgalious-0.62/gameaux.cpp:2805:12: style: The scope of the variable 'c' can be reduced. [variableScope] mazeofgalious-0.62/gameaux.cpp:2825:6: style: The scope of the variable 'maps' can be reduced. [variableScope] mazeofgalious-0.62/gameaux.cpp:693:10: style: Local variable 'val' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameaux.cpp:520:6: note: Shadowed declaration mazeofgalious-0.62/gameaux.cpp:693:10: note: Shadow variable mazeofgalious-0.62/gameaux.cpp:916:10: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameaux.cpp:519:8: note: Shadowed declaration mazeofgalious-0.62/gameaux.cpp:916:10: note: Shadow variable mazeofgalious-0.62/gameaux.cpp:917:10: style: Local variable 'val' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameaux.cpp:520:6: note: Shadowed declaration mazeofgalious-0.62/gameaux.cpp:917:10: note: Shadow variable mazeofgalious-0.62/gameaux.cpp:1050:11: style: Local variable 'val' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameaux.cpp:520:6: note: Shadowed declaration mazeofgalious-0.62/gameaux.cpp:1050:11: note: Shadow variable mazeofgalious-0.62/gameaux.cpp:1366:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameaux.cpp:519:8: note: Shadowed declaration mazeofgalious-0.62/gameaux.cpp:1366:11: note: Shadow variable mazeofgalious-0.62/gameaux.cpp:1415:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameaux.cpp:519:8: note: Shadowed declaration mazeofgalious-0.62/gameaux.cpp:1415:11: note: Shadow variable mazeofgalious-0.62/gameaux.cpp:1463:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameaux.cpp:519:8: note: Shadowed declaration mazeofgalious-0.62/gameaux.cpp:1463:11: note: Shadow variable mazeofgalious-0.62/gameaux.cpp:1483:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameaux.cpp:519:8: note: Shadowed declaration mazeofgalious-0.62/gameaux.cpp:1483:11: note: Shadow variable mazeofgalious-0.62/gameaux.cpp:1506:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameaux.cpp:519:8: note: Shadowed declaration mazeofgalious-0.62/gameaux.cpp:1506:11: note: Shadow variable mazeofgalious-0.62/gameaux.cpp:2445:8: style: Local variable 'i' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameaux.cpp:1699:6: note: Shadowed declaration mazeofgalious-0.62/gameaux.cpp:2445:8: note: Shadow variable mazeofgalious-0.62/gameaux.cpp:1507:11: style: Variable 'init' can be declared as const array [constVariable] mazeofgalious-0.62/gameaux.cpp:1508:11: style: Variable 'end' can be declared as const array [constVariable] mazeofgalious-0.62/gameaux.cpp:1627:23: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/gameaux.cpp:1661:24: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/gameaux.cpp:1701:8: style: Variable 'prefixes' can be declared as const array [constVariable] mazeofgalious-0.62/gameaux.cpp:2539:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/gameaux.cpp:2564:33: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/gameaux.cpp:2786:8: style: Variable 'keyboard' can be declared as pointer to const [constVariablePointer] mazeofgalious-0.62/gameaux.cpp:2803:25: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/gameaux.cpp:2805:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] mazeofgalious-0.62/gameaux.cpp:2823:6: style: Variable 'offs' can be declared as const array [constVariable] mazeofgalious-0.62/gameaux.cpp:2825:6: style: Variable 'maps' can be declared as const array [constVariable] mazeofgalious-0.62/gameaux.cpp:3047:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/gametiles.cpp:145:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/gametiles.cpp:1375:7: style: Local variable 'i' shadows outer variable [shadowVariable] mazeofgalious-0.62/gametiles.cpp:126:6: note: Shadowed declaration mazeofgalious-0.62/gametiles.cpp:1375:7: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:336:14: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] mazeofgalious-0.62/gameinteractions.cpp:331:12: note: outer condition: obj!=-1 mazeofgalious-0.62/gameinteractions.cpp:336:14: note: identical inner condition: obj!=-1 mazeofgalious-0.62/gameinteractions.cpp:700:16: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] mazeofgalious-0.62/gameinteractions.cpp:695:14: note: outer condition: obj!=-1 mazeofgalious-0.62/gameinteractions.cpp:700:16: note: identical inner condition: obj!=-1 mazeofgalious-0.62/gameinteractions.cpp:893:16: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] mazeofgalious-0.62/gameinteractions.cpp:888:14: note: outer condition: obj!=-1 mazeofgalious-0.62/gameinteractions.cpp:893:16: note: identical inner condition: obj!=-1 mazeofgalious-0.62/gameinteractions.cpp:769:18: style: Redundant condition: obj!=-1. 'obj==-1 || (obj!=-1 && object[obj].type==130)' is equivalent to 'obj==-1 || object[obj].type==130' [redundantCondition] mazeofgalious-0.62/gameinteractions.cpp:302:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] mazeofgalious-0.62/gameinteractions.cpp:304:7: note: Found duplicate branches for 'if' and 'else'. mazeofgalious-0.62/gameinteractions.cpp:302:5: note: Found duplicate branches for 'if' and 'else'. mazeofgalious-0.62/gameinteractions.cpp:824:22: style: Variable 'object[i].state' is reassigned a value before the old one has been used. [redundantAssignment] mazeofgalious-0.62/gameinteractions.cpp:823:22: note: object[i].state is assigned mazeofgalious-0.62/gameinteractions.cpp:824:22: note: object[i].state is overwritten mazeofgalious-0.62/gameinteractions.cpp:249:7: style: The scope of the variable 'hit' can be reduced. [variableScope] mazeofgalious-0.62/gameinteractions.cpp:523:11: style: The scope of the variable 'ot' can be reduced. [variableScope] mazeofgalious-0.62/gameinteractions.cpp:638:10: style: The scope of the variable 'j' can be reduced. [variableScope] mazeofgalious-0.62/gameinteractions.cpp:1101:10: style: The scope of the variable 'val' can be reduced. [variableScope] mazeofgalious-0.62/gameinteractions.cpp:1626:9: style: The scope of the variable 'hit' can be reduced. [variableScope] mazeofgalious-0.62/gameinteractions.cpp:1713:8: style: The scope of the variable 'n_tx' can be reduced. [variableScope] mazeofgalious-0.62/gameinteractions.cpp:1713:13: style: The scope of the variable 'n_ty' can be reduced. [variableScope] mazeofgalious-0.62/gameinteractions.cpp:2021:10: style: The scope of the variable 'need_salt' can be reduced. [variableScope] mazeofgalious-0.62/gameinteractions.cpp:3672:12: style: The scope of the variable 'offs' can be reduced. [variableScope] mazeofgalious-0.62/gameinteractions.cpp:300:9: style: Local variable 'val' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameinteractions.cpp:248:10: note: Shadowed declaration mazeofgalious-0.62/gameinteractions.cpp:300:9: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:638:10: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameinteractions.cpp:248:8: note: Shadowed declaration mazeofgalious-0.62/gameinteractions.cpp:638:10: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:1067:10: style: Local variable 'val' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameinteractions.cpp:248:10: note: Shadowed declaration mazeofgalious-0.62/gameinteractions.cpp:1067:10: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:1101:10: style: Local variable 'val' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameinteractions.cpp:248:10: note: Shadowed declaration mazeofgalious-0.62/gameinteractions.cpp:1101:10: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:1160:10: style: Local variable 'val' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameinteractions.cpp:248:10: note: Shadowed declaration mazeofgalious-0.62/gameinteractions.cpp:1160:10: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:1178:10: style: Local variable 'val' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameinteractions.cpp:248:10: note: Shadowed declaration mazeofgalious-0.62/gameinteractions.cpp:1178:10: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:1215:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameinteractions.cpp:248:8: note: Shadowed declaration mazeofgalious-0.62/gameinteractions.cpp:1215:11: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:1247:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameinteractions.cpp:248:8: note: Shadowed declaration mazeofgalious-0.62/gameinteractions.cpp:1247:11: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:1332:10: style: Local variable 'val' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameinteractions.cpp:248:10: note: Shadowed declaration mazeofgalious-0.62/gameinteractions.cpp:1332:10: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:1625:8: style: Local variable 'val' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameinteractions.cpp:248:10: note: Shadowed declaration mazeofgalious-0.62/gameinteractions.cpp:1625:8: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:1626:9: style: Local variable 'hit' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameinteractions.cpp:249:7: note: Shadowed declaration mazeofgalious-0.62/gameinteractions.cpp:1626:9: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:2717:8: style: Local variable 'i' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameinteractions.cpp:2704:7: note: Shadowed declaration mazeofgalious-0.62/gameinteractions.cpp:2717:8: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:2904:8: style: Local variable 'i' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameinteractions.cpp:2891:7: note: Shadowed declaration mazeofgalious-0.62/gameinteractions.cpp:2904:8: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:3199:8: style: Local variable 'i' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameinteractions.cpp:3187:7: note: Shadowed declaration mazeofgalious-0.62/gameinteractions.cpp:3199:8: note: Shadow variable mazeofgalious-0.62/gameinteractions.cpp:250:17: style: Variable 'keyboard' can be declared as pointer to const [constVariablePointer] mazeofgalious-0.62/gameinteractions.cpp:2173:17: style: Variable 'keyboard' can be declared as pointer to const [constVariablePointer] mazeofgalious-0.62/gameinteractions.cpp:3674:6: style: Variable 'disp' can be declared as const array [constVariable] mazeofgalious-0.62/gameinteractions.cpp:1068:34: style: Variable 'val' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/gameinteractions.cpp:1069:19: style: Variable 'val' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/gameinteractions.cpp:1627:19: style: Variable 'val' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/gameinteractions.cpp:1628:16: style: Variable 'val' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/ingamecycle.cpp:692:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_LCTRL [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/keyboard.cpp:18:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KMOD_ALT [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/keyboard.cpp:28:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KMOD_ALT [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/loadpcx.h:7:2: warning: Member variable 'PCX_IMAGE::pal' is not initialized in the constructor. [uninitMemberVar] mazeofgalious-0.62/loadpcx.h:16:7: style:inconclusive: Technically the member function 'PCX_IMAGE::done' can be const. [functionConst] mazeofgalious-0.62/loadpcx.cpp:95:17: style:inconclusive: Technically the member function 'PCX_IMAGE::draw' can be const. [functionConst] mazeofgalious-0.62/loadpcx.h:40:7: note: Technically the member function 'PCX_IMAGE::draw' can be const. mazeofgalious-0.62/loadpcx.cpp:95:17: note: Technically the member function 'PCX_IMAGE::draw' can be const. mazeofgalious-0.62/loadpcx.cpp:195:17: style:inconclusive: Technically the member function 'PCX_IMAGE::draw_sprite' can be const. [functionConst] mazeofgalious-0.62/loadpcx.h:41:7: note: Technically the member function 'PCX_IMAGE::draw_sprite' can be const. mazeofgalious-0.62/loadpcx.cpp:195:17: note: Technically the member function 'PCX_IMAGE::draw_sprite' can be const. mazeofgalious-0.62/loadpcx.h:45:6: style:inconclusive: Technically the member function 'PCX_IMAGE::get_ancho' can be const. [functionConst] mazeofgalious-0.62/loadpcx.h:46:6: style:inconclusive: Technically the member function 'PCX_IMAGE::get_alto' can be const. [functionConst] mazeofgalious-0.62/loadpcx.cpp:25:53: error: Resource leak: fp [resourceLeak] mazeofgalious-0.62/loadpcx.cpp:26:20: error: Resource leak: fp [resourceLeak] mazeofgalious-0.62/loadpcx.cpp:17:10: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] mazeofgalious-0.62/loadpcx.cpp:16:8: note: Assuming that condition 'fp==NULL' is not redundant mazeofgalious-0.62/loadpcx.cpp:17:10: note: Null pointer dereference mazeofgalious-0.62/loadpcx.cpp:17:10: error: Null pointer dereference [nullPointer] mazeofgalious-0.62/loadpcx.cpp:8:33: style: Parameter 'nombre' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/loadpcx.cpp:43:10: style: Variable 'columnas' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/loadpcx.cpp:44:7: style: Variable 'filas' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/main.cpp:124:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_F12 [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/main.cpp:227:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HWPALETTE [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/main.cpp:108:11: style: The scope of the variable 'act_time' can be reduced. [variableScope] mazeofgalious-0.62/main.cpp:221:32: style:inconclusive: Function 'initializeSDL' argument 1 names different: declaration 'flags' definition 'moreflags'. [funcArgNamesDifferent] mazeofgalious-0.62/main.cpp:94:32: note: Function 'initializeSDL' argument 1 names different: declaration 'flags' definition 'moreflags'. mazeofgalious-0.62/main.cpp:221:32: note: Function 'initializeSDL' argument 1 names different: declaration 'flags' definition 'moreflags'. mazeofgalious-0.62/main.cpp:224:15: style: Local variable 'screen' shadows outer variable [shadowVariable] mazeofgalious-0.62/main.cpp:90:14: note: Shadowed declaration mazeofgalious-0.62/main.cpp:224:15: note: Shadow variable mazeofgalious-0.62/ingamecycle.cpp:1754:12: style: Variable 'next_y' is reassigned a value before the old one has been used. [redundantAssignment] mazeofgalious-0.62/ingamecycle.cpp:1742:13: note: next_y is assigned mazeofgalious-0.62/ingamecycle.cpp:1754:12: note: next_y is overwritten mazeofgalious-0.62/ingamecycle.cpp:138:8: style: The scope of the variable 'j' can be reduced. [variableScope] mazeofgalious-0.62/ingamecycle.cpp:139:6: style: The scope of the variable 'dist' can be reduced. [variableScope] mazeofgalious-0.62/ingamecycle.cpp:140:6: style: The scope of the variable 't_x' can be reduced. [variableScope] mazeofgalious-0.62/ingamecycle.cpp:141:10: style: The scope of the variable 'inc' can be reduced. [variableScope] mazeofgalious-0.62/ingamecycle.cpp:146:7: style: The scope of the variable 'found' can be reduced. [variableScope] mazeofgalious-0.62/ingamecycle.cpp:147:7: style: The scope of the variable 'der_col' can be reduced. [variableScope] mazeofgalious-0.62/ingamecycle.cpp:147:15: style: The scope of the variable 'izq_col' can be reduced. [variableScope] mazeofgalious-0.62/ingamecycle.cpp:224:12: style: The scope of the variable 'oldobj' can be reduced. [variableScope] mazeofgalious-0.62/ingamecycle.cpp:2238:10: style: Local variable 'found' shadows outer variable [shadowVariable] mazeofgalious-0.62/ingamecycle.cpp:146:7: note: Shadowed declaration mazeofgalious-0.62/ingamecycle.cpp:2238:10: note: Shadow variable mazeofgalious-0.62/ingamecycle.cpp:151:17: style: Variable 'keyboard' can be declared as pointer to const [constVariablePointer] mazeofgalious-0.62/path.cpp:190:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/path.cpp:155:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] mazeofgalious-0.62/path.cpp:185:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] mazeofgalious-0.62/path.cpp:205:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] mazeofgalious-0.62/path.cpp:235:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] mazeofgalious-0.62/path.cpp:144:18: style: Variable 'direntry' can be declared as pointer to const [constVariablePointer] mazeofgalious-0.62/passwords.cpp:44:26: error: Array 'block[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] mazeofgalious-0.62/passwords.cpp:45:17: error: Array 'block[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] mazeofgalious-0.62/passwords.cpp:78:6: style: The scope of the variable 'pos' can be reduced. [variableScope] mazeofgalious-0.62/passwords.cpp:78:10: style: The scope of the variable 'val' can be reduced. [variableScope] mazeofgalious-0.62/passwords.cpp:94:6: style: The scope of the variable 'pos' can be reduced. [variableScope] mazeofgalious-0.62/passwords.cpp:94:10: style: The scope of the variable 'val' can be reduced. [variableScope] mazeofgalious-0.62/passwords.cpp:28:19: style: Parameter 'BCD' can be declared as const array [constParameter] mazeofgalious-0.62/passwords.cpp:49:21: style: Parameter 'block' can be declared as const array [constParameter] mazeofgalious-0.62/passwords.cpp:55:21: style: Parameter 'bits' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/passwords.cpp:65:30: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/passwords.cpp:80:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] mazeofgalious-0.62/passwords.cpp:91:38: style: Parameter 'passwd' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/passwords.cpp:96:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] mazeofgalious-0.62/passwords.cpp:113:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] mazeofgalious-0.62/passwords.cpp:114:8: style: Variable 'hex' can be declared as pointer to const [constVariablePointer] mazeofgalious-0.62/passwords.cpp:191:6: style: Variable 'wstart' can be declared as const array [constVariable] mazeofgalious-0.62/passwords.cpp:333:6: style: Variable 'wstart' can be declared as const array [constVariable] mazeofgalious-0.62/render.cpp:92:11: style: C-style pointer casting [cstyleCast] mazeofgalious-0.62/render.cpp:101:11: style: C-style pointer casting [cstyleCast] mazeofgalious-0.62/render.cpp:84:13: style: The scope of the variable 'x' can be reduced. [variableScope] mazeofgalious-0.62/render.cpp:84:15: style: The scope of the variable 'inc_x' can be reduced. [variableScope] mazeofgalious-0.62/render.cpp:84:21: style: The scope of the variable 'inc_y' can be reduced. [variableScope] mazeofgalious-0.62/render.cpp:85:8: style: The scope of the variable 'offsx' can be reduced. [variableScope] mazeofgalious-0.62/render.cpp:85:14: style: The scope of the variable 'offsy' can be reduced. [variableScope] mazeofgalious-0.62/render.cpp:83:10: style: Variable 'orig' can be declared as pointer to const [constVariablePointer] mazeofgalious-0.62/shrines.cpp:253:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_F5 [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/shrines.cpp:360:7: style: The scope of the variable 'price' can be reduced. [variableScope] mazeofgalious-0.62/shrines.cpp:451:7: style: The scope of the variable 'price' can be reduced. [variableScope] mazeofgalious-0.62/shrines.cpp:612:7: style: The scope of the variable 'price' can be reduced. [variableScope] mazeofgalious-0.62/shrines.cpp:702:7: style: The scope of the variable 'price' can be reduced. [variableScope] mazeofgalious-0.62/shrines.cpp:792:7: style: The scope of the variable 'price' can be reduced. [variableScope] mazeofgalious-0.62/shrines.cpp:882:7: style: The scope of the variable 'price' can be reduced. [variableScope] mazeofgalious-0.62/shrines.cpp:972:7: style: The scope of the variable 'price' can be reduced. [variableScope] mazeofgalious-0.62/shrines.cpp:1065:7: style: The scope of the variable 'price' can be reduced. [variableScope] mazeofgalious-0.62/shrines.cpp:1217:7: style: The scope of the variable 'price' can be reduced. [variableScope] mazeofgalious-0.62/shrines.cpp:1290:7: style: The scope of the variable 'price' can be reduced. [variableScope] mazeofgalious-0.62/shrines.cpp:269:9: style: Local variable 'i' shadows outer variable [shadowVariable] mazeofgalious-0.62/shrines.cpp:144:6: note: Shadowed declaration mazeofgalious-0.62/shrines.cpp:269:9: note: Shadow variable mazeofgalious-0.62/shrines.cpp:360:7: style: Variable 'price' can be declared as const array [constVariable] mazeofgalious-0.62/shrines.cpp:451:7: style: Variable 'price' can be declared as const array [constVariable] mazeofgalious-0.62/shrines.cpp:612:7: style: Variable 'price' can be declared as const array [constVariable] mazeofgalious-0.62/shrines.cpp:702:7: style: Variable 'price' can be declared as const array [constVariable] mazeofgalious-0.62/shrines.cpp:792:7: style: Variable 'price' can be declared as const array [constVariable] mazeofgalious-0.62/shrines.cpp:882:7: style: Variable 'price' can be declared as const array [constVariable] mazeofgalious-0.62/shrines.cpp:972:7: style: Variable 'price' can be declared as const array [constVariable] mazeofgalious-0.62/shrines.cpp:1065:7: style: Variable 'price' can be declared as const array [constVariable] mazeofgalious-0.62/shrines.cpp:1217:7: style: Variable 'price' can be declared as const array [constVariable] mazeofgalious-0.62/shrines.cpp:1290:7: style: Variable 'price' can be declared as const array [constVariable] mazeofgalious-0.62/gameobjects.cpp:272:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/sound.cpp:44:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUDIO_S16 [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/sound.cpp:98:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/sound.cpp:128:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/sound.cpp:173:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/sound.cpp:188:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUDIO_S16 [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/sound.cpp:368:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_SAMPLEFLAG_EOF [valueFlowBailoutIncompleteVar] mazeofgalious-0.62/sound.cpp:362:8: style: C-style pointer casting [cstyleCast] mazeofgalious-0.62/sound.cpp:382:11: style: C-style pointer casting [cstyleCast] mazeofgalious-0.62/sound.cpp:109:6: style: The scope of the variable 'n_ext' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:110:8: style: The scope of the variable 'ext' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:111:7: style: The scope of the variable 'name' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:111:17: style: The scope of the variable 'name2' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:112:6: style: The scope of the variable 'i' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:181:6: style: The scope of the variable 'n_ext' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:182:8: style: The scope of the variable 'ext' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:183:7: style: The scope of the variable 'name' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:183:17: style: The scope of the variable 'name2' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:184:6: style: The scope of the variable 'i' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:219:6: style: The scope of the variable 'seq_len' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:280:6: style: The scope of the variable 'i' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:294:6: style: The scope of the variable 'i' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:320:6: style: The scope of the variable 'seq_len' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:358:6: style: The scope of the variable 'i' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:358:8: style: The scope of the variable 'act' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:359:10: style: The scope of the variable 'ptr2' can be reduced. [variableScope] mazeofgalious-0.62/sound.cpp:88:22: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/sound.cpp:107:33: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/sound.cpp:110:8: style: Variable 'ext' can be declared as const array [constVariable] mazeofgalious-0.62/sound.cpp:148:35: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/sound.cpp:151:8: style: Variable 'ext' can be declared as const array [constVariable] mazeofgalious-0.62/sound.cpp:179:41: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mazeofgalious-0.62/sound.cpp:182:8: style: Variable 'ext' can be declared as const array [constVariable] mazeofgalious-0.62/sound.cpp:219:13: style: Variable 'seq_len' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/sound.cpp:228:11: style: Variable 'seq_len' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/sound.cpp:239:11: style: Variable 'seq_len' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/sound.cpp:250:11: style: Variable 'seq_len' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/sound.cpp:320:13: style: Variable 'seq_len' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/sound.cpp:333:11: style: Variable 'seq_len' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/sound.cpp:340:11: style: Variable 'seq_len' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/sound.cpp:347:11: style: Variable 'seq_len' is assigned a value that is never used. [unreadVariable] mazeofgalious-0.62/gameobjects.cpp:3063:24: style: Variable 'object[i].union_x' is reassigned a value before the old one has been used. [redundantAssignment] mazeofgalious-0.62/gameobjects.cpp:3062:24: note: object[i].union_x is assigned mazeofgalious-0.62/gameobjects.cpp:3063:24: note: object[i].union_x is overwritten mazeofgalious-0.62/gameobjects.cpp:3962:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] mazeofgalious-0.62/gameobjects.cpp:1090:12: style: The scope of the variable 'j' can be reduced. [variableScope] mazeofgalious-0.62/gameobjects.cpp:1166:12: style: The scope of the variable 'j' can be reduced. [variableScope] mazeofgalious-0.62/gameobjects.cpp:1322:10: style: The scope of the variable 'res' can be reduced. [variableScope] mazeofgalious-0.62/gameobjects.cpp:1738:10: style: The scope of the variable 'j' can be reduced. [variableScope] mazeofgalious-0.62/gameobjects.cpp:1739:11: style: The scope of the variable 'no_other_witch' can be reduced. [variableScope] mazeofgalious-0.62/gameobjects.cpp:2545:10: style: The scope of the variable 'xm' can be reduced. [variableScope] mazeofgalious-0.62/gameobjects.cpp:2546:10: style: The scope of the variable 'xm2' can be reduced. [variableScope] mazeofgalious-0.62/gameobjects.cpp:2547:10: style: The scope of the variable 'xm3' can be reduced. [variableScope] mazeofgalious-0.62/gameobjects.cpp:2637:11: style: The scope of the variable 'col' can be reduced. [variableScope] mazeofgalious-0.62/gameobjects.cpp:3299:10: style: The scope of the variable 'xt' can be reduced. [variableScope] mazeofgalious-0.62/gameobjects.cpp:3299:13: style: The scope of the variable 'yt' can be reduced. [variableScope] mazeofgalious-0.62/gameobjects.cpp:4729:11: style: The scope of the variable 'col' can be reduced. [variableScope] mazeofgalious-0.62/gameobjects.cpp:979:10: style: Local variable 'colision' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:116:6: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:979:10: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:1090:12: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:1090:12: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:1166:12: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:1166:12: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:1321:10: style: Local variable 'colision' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:116:6: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:1321:10: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:1738:10: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:1738:10: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:2028:10: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:2028:10: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:2196:18: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:2196:18: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:2519:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:2519:11: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:3172:18: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:3172:18: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:3256:10: style: Local variable 'colision' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:116:6: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:3256:10: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:3294:10: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:3294:10: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:3331:10: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:3331:10: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:3390:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:3390:11: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:3406:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:3406:11: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:3423:10: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:3423:10: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:3539:12: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:3539:12: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:3558:12: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:3558:12: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:3569:15: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:3564:14: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:3569:15: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:3580:15: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:3575:14: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:3580:15: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:3607:10: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:3607:10: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4199:11: style: Local variable 'dx' shadows outer argument [shadowArgument] mazeofgalious-0.62/gameobjects.cpp:112:30: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4199:11: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4200:11: style: Local variable 'dy' shadows outer argument [shadowArgument] mazeofgalious-0.62/gameobjects.cpp:112:37: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4200:11: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4217:12: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4217:12: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4234:15: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:4229:14: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4234:15: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4245:15: style: Local variable 'tmp' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:4240:14: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4245:15: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4277:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4277:11: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4287:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4287:11: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4303:10: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4303:10: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4377:14: style: Local variable 'dx' shadows outer argument [shadowArgument] mazeofgalious-0.62/gameobjects.cpp:112:30: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4377:14: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4377:17: style: Local variable 'dy' shadows outer argument [shadowArgument] mazeofgalious-0.62/gameobjects.cpp:112:37: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4377:17: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4414:12: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4414:12: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4415:14: style: Local variable 'dx' shadows outer argument [shadowArgument] mazeofgalious-0.62/gameobjects.cpp:112:30: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4415:14: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4415:17: style: Local variable 'dy' shadows outer argument [shadowArgument] mazeofgalious-0.62/gameobjects.cpp:112:37: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4415:17: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4665:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4665:11: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4877:12: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4877:12: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:4906:12: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:4906:12: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:5036:10: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:5036:10: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:5083:12: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:5083:12: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:5112:12: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:5112:12: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:5269:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:5269:11: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:5321:12: style: Local variable 'dx' shadows outer argument [shadowArgument] mazeofgalious-0.62/gameobjects.cpp:112:30: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:5321:12: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:5321:15: style: Local variable 'dy' shadows outer argument [shadowArgument] mazeofgalious-0.62/gameobjects.cpp:112:37: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:5321:15: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:5918:10: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:5918:10: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:5969:11: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:5969:11: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:6004:10: style: Local variable 'j' shadows outer variable [shadowVariable] mazeofgalious-0.62/gameobjects.cpp:114:8: note: Shadowed declaration mazeofgalious-0.62/gameobjects.cpp:6004:10: note: Shadow variable mazeofgalious-0.62/gameobjects.cpp:338:8: style: Variable 'off' can be declared as const array [constVariable] mazeofgalious-0.62/gameobjects.cpp:2147:12: style: Variable 'py' can be declared as const array [constVariable] mazeofgalious-0.62/gameobjects.cpp:2198:12: style: Variable 'py' can be declared as const array [constVariable] mazeofgalious-0.62/gameobjects.cpp:2545:10: style: Variable 'xm' can be declared as const array [constVariable] mazeofgalious-0.62/gameobjects.cpp:2546:10: style: Variable 'xm2' can be declared as const array [constVariable] mazeofgalious-0.62/gameobjects.cpp:2547:10: style: Variable 'xm3' can be declared as const array [constVariable] mazeofgalious-0.62/gameobjects.cpp:3297:10: style: Variable 'xs' can be declared as const array [constVariable] mazeofgalious-0.62/gameobjects.cpp:3298:10: style: Variable 'ys' can be declared as const array [constVariable] mazeofgalious-0.62/gameobjects.cpp:3689:10: style: Variable 'seq' can be declared as const array [constVariable] mazeofgalious-0.62/gameobjects.cpp:6002:10: style: Variable 'init' can be declared as const array [constVariable] mazeofgalious-0.62/gameobjects.cpp:6003:10: style: Variable 'end' can be declared as const array [constVariable] diff: head mazeofgalious-0.62/bitmaps.cpp:194:14: style:inconclusive: Technically the member function 'Bitmap::draw_sprite' can be const. [functionConst] mazeofgalious-0.62/bitmaps.h:17:7: note: Technically the member function 'Bitmap::draw_sprite' can be const. mazeofgalious-0.62/bitmaps.cpp:194:14: note: Technically the member function 'Bitmap::draw_sprite' can be const. head mazeofgalious-0.62/bitmaps.cpp:292:14: style:inconclusive: Technically the member function 'Bitmap::draw_sprite_cut' can be const. [functionConst] mazeofgalious-0.62/bitmaps.h:18:7: note: Technically the member function 'Bitmap::draw_sprite_cut' can be const. mazeofgalious-0.62/bitmaps.cpp:292:14: note: Technically the member function 'Bitmap::draw_sprite_cut' can be const. head mazeofgalious-0.62/bitmaps.cpp:394:14: style:inconclusive: Technically the member function 'Bitmap::draw_sprite_mask' can be const. [functionConst] mazeofgalious-0.62/bitmaps.h:19:7: note: Technically the member function 'Bitmap::draw_sprite_mask' can be const. mazeofgalious-0.62/bitmaps.cpp:394:14: note: Technically the member function 'Bitmap::draw_sprite_mask' can be const. head mazeofgalious-0.62/bitmaps.cpp:492:13: style:inconclusive: Technically the member function 'Bitmap::coltest' can be const. [functionConst] mazeofgalious-0.62/bitmaps.h:20:7: note: Technically the member function 'Bitmap::coltest' can be const. mazeofgalious-0.62/bitmaps.cpp:492:13: note: Technically the member function 'Bitmap::coltest' can be const. head mazeofgalious-0.62/bitmaps.cpp:592:14: style:inconclusive: Technically the member function 'Bitmap::to_tile_colision' can be const. [functionConst] mazeofgalious-0.62/bitmaps.h:21:7: note: Technically the member function 'Bitmap::to_tile_colision' can be const. mazeofgalious-0.62/bitmaps.cpp:592:14: note: Technically the member function 'Bitmap::to_tile_colision' can be const. head mazeofgalious-0.62/bitmaps.cpp:94:14: style:inconclusive: Technically the member function 'Bitmap::draw' can be const. [functionConst] mazeofgalious-0.62/bitmaps.h:16:7: note: Technically the member function 'Bitmap::draw' can be const. mazeofgalious-0.62/bitmaps.cpp:94:14: note: Technically the member function 'Bitmap::draw' can be const. 2.17.0 mazeofgalious-0.62/bitmaps.h:16:7: style:inconclusive: Technically the member function 'Bitmap::draw' can be const. [functionConst] mazeofgalious-0.62/bitmaps.cpp:94:14: note: Technically the member function 'Bitmap::draw' can be const. mazeofgalious-0.62/bitmaps.h:16:7: note: Technically the member function 'Bitmap::draw' can be const. 2.17.0 mazeofgalious-0.62/bitmaps.h:17:7: style:inconclusive: Technically the member function 'Bitmap::draw_sprite' can be const. [functionConst] mazeofgalious-0.62/bitmaps.cpp:194:14: note: Technically the member function 'Bitmap::draw_sprite' can be const. mazeofgalious-0.62/bitmaps.h:17:7: note: Technically the member function 'Bitmap::draw_sprite' can be const. 2.17.0 mazeofgalious-0.62/bitmaps.h:18:7: style:inconclusive: Technically the member function 'Bitmap::draw_sprite_cut' can be const. [functionConst] mazeofgalious-0.62/bitmaps.cpp:292:14: note: Technically the member function 'Bitmap::draw_sprite_cut' can be const. mazeofgalious-0.62/bitmaps.h:18:7: note: Technically the member function 'Bitmap::draw_sprite_cut' can be const. 2.17.0 mazeofgalious-0.62/bitmaps.h:19:7: style:inconclusive: Technically the member function 'Bitmap::draw_sprite_mask' can be const. [functionConst] mazeofgalious-0.62/bitmaps.cpp:394:14: note: Technically the member function 'Bitmap::draw_sprite_mask' can be const. mazeofgalious-0.62/bitmaps.h:19:7: note: Technically the member function 'Bitmap::draw_sprite_mask' can be const. 2.17.0 mazeofgalious-0.62/bitmaps.h:20:7: style:inconclusive: Technically the member function 'Bitmap::coltest' can be const. [functionConst] mazeofgalious-0.62/bitmaps.cpp:492:13: note: Technically the member function 'Bitmap::coltest' can be const. mazeofgalious-0.62/bitmaps.h:20:7: note: Technically the member function 'Bitmap::coltest' can be const. 2.17.0 mazeofgalious-0.62/bitmaps.h:21:7: style:inconclusive: Technically the member function 'Bitmap::to_tile_colision' can be const. [functionConst] mazeofgalious-0.62/bitmaps.cpp:592:14: note: Technically the member function 'Bitmap::to_tile_colision' can be const. mazeofgalious-0.62/bitmaps.h:21:7: note: Technically the member function 'Bitmap::to_tile_colision' can be const. head mazeofgalious-0.62/loadpcx.cpp:195:17: style:inconclusive: Technically the member function 'PCX_IMAGE::draw_sprite' can be const. [functionConst] mazeofgalious-0.62/loadpcx.h:41:7: note: Technically the member function 'PCX_IMAGE::draw_sprite' can be const. mazeofgalious-0.62/loadpcx.cpp:195:17: note: Technically the member function 'PCX_IMAGE::draw_sprite' can be const. head mazeofgalious-0.62/loadpcx.cpp:95:17: style:inconclusive: Technically the member function 'PCX_IMAGE::draw' can be const. [functionConst] mazeofgalious-0.62/loadpcx.h:40:7: note: Technically the member function 'PCX_IMAGE::draw' can be const. mazeofgalious-0.62/loadpcx.cpp:95:17: note: Technically the member function 'PCX_IMAGE::draw' can be const. 2.17.0 mazeofgalious-0.62/loadpcx.h:40:7: style:inconclusive: Technically the member function 'PCX_IMAGE::draw' can be const. [functionConst] mazeofgalious-0.62/loadpcx.cpp:95:17: note: Technically the member function 'PCX_IMAGE::draw' can be const. mazeofgalious-0.62/loadpcx.h:40:7: note: Technically the member function 'PCX_IMAGE::draw' can be const. 2.17.0 mazeofgalious-0.62/loadpcx.h:41:7: style:inconclusive: Technically the member function 'PCX_IMAGE::draw_sprite' can be const. [functionConst] mazeofgalious-0.62/loadpcx.cpp:195:17: note: Technically the member function 'PCX_IMAGE::draw_sprite' can be const. mazeofgalious-0.62/loadpcx.h:41:7: note: Technically the member function 'PCX_IMAGE::draw_sprite' can be const. DONE