2024-03-25 02:07 ftp://ftp.de.debian.org/debian/pool/main/o/overgod/overgod_1.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=valueFlowBailoutIncompleteVar -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-0.deb11.6-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.45 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.13.0 head-info: 51f8b53 (2024-03-24 16:07:43 +0100) count: 298 292 elapsed-time: 53.4 5.7 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 52.7469s (avg. 52.7469s - 1 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 52.0263s (avg. 13.0066s - 4 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.227369s (avg. 0.0568422s - 4 result(s)) valueFlowSymbolic(tokenlist, symboldatabase, errorLogger, settings): 0.088984s (avg. 0.088984s - 1 result(s)) valueFlowCondition(SymbolicConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.085894s (avg. 0.0214735s - 4 result(s)) Overall time: 53.0107s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 5.08166s (avg. 5.08166s - 1 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 4.54892s (avg. 1.13723s - 4 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.127221s (avg. 0.0318053s - 4 result(s)) Tokenizer::simplifyTokens1::setValueType: 0.087856s (avg. 0.087856s - 1 result(s)) valueFlowUninit(tokenlist, settings): 0.071196s (avg. 0.017799s - 4 result(s)) Overall time: 5.33781s head results: overgod-1.0/cloud.c:95:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:95:9: note: Array index out of bounds overgod-1.0/cloud.c:96:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:96:9: note: Array index out of bounds overgod-1.0/cloud.c:97:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:97:9: note: Array index out of bounds overgod-1.0/cloud.c:98:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:98:9: note: Array index out of bounds overgod-1.0/cloud.c:99:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:99:9: note: Array index out of bounds overgod-1.0/cloud.c:100:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:100:9: note: Array index out of bounds overgod-1.0/cloud.c:101:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:101:9: note: Array index out of bounds overgod-1.0/cloud.c:102:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:102:9: note: Array index out of bounds overgod-1.0/cloud.c:103:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:103:9: note: Array index out of bounds overgod-1.0/cloud.c:104:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:104:9: note: Array index out of bounds overgod-1.0/cloud.c:105:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:105:9: note: Array index out of bounds overgod-1.0/cloud.c:106:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:106:9: note: Array index out of bounds overgod-1.0/cloud.c:107:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:107:9: note: Array index out of bounds overgod-1.0/cloud.c:108:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:108:9: note: Array index out of bounds overgod-1.0/cloud.c:109:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:109:9: note: Array index out of bounds overgod-1.0/cloud.c:110:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:110:9: note: Array index out of bounds overgod-1.0/cloud.c:111:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:111:9: note: Array index out of bounds overgod-1.0/cloud.c:112:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:89:18: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:112:9: note: Array index out of bounds overgod-1.0/cloud.c:134:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:134:9: note: Array index out of bounds overgod-1.0/cloud.c:135:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:135:9: note: Array index out of bounds overgod-1.0/cloud.c:136:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:136:9: note: Array index out of bounds overgod-1.0/cloud.c:137:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:137:9: note: Array index out of bounds overgod-1.0/cloud.c:138:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:138:9: note: Array index out of bounds overgod-1.0/cloud.c:139:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:139:9: note: Array index out of bounds overgod-1.0/cloud.c:140:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:140:9: note: Array index out of bounds overgod-1.0/cloud.c:141:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:141:9: note: Array index out of bounds overgod-1.0/cloud.c:142:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:142:9: note: Array index out of bounds overgod-1.0/cloud.c:143:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:143:9: note: Array index out of bounds overgod-1.0/cloud.c:144:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:144:9: note: Array index out of bounds overgod-1.0/cloud.c:145:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:145:9: note: Array index out of bounds overgod-1.0/cloud.c:146:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:146:9: note: Array index out of bounds overgod-1.0/cloud.c:147:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:147:9: note: Array index out of bounds overgod-1.0/cloud.c:148:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:148:9: note: Array index out of bounds overgod-1.0/cloud.c:149:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:149:9: note: Array index out of bounds overgod-1.0/cloud.c:150:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:150:9: note: Array index out of bounds overgod-1.0/cloud.c:151:9: error: Array 'cloud[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:128:24: note: Assuming that condition 'c<1000' is not redundant overgod-1.0/cloud.c:151:9: note: Array index out of bounds overgod-1.0/cloud.c:806:8: error: Array 'effect[15]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:798:16: note: Assuming that condition 'i<15+1' is not redundant overgod-1.0/cloud.c:806:8: note: Array index out of bounds overgod-1.0/cloud.c:807:8: error: Array 'effect[15]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:798:16: note: Assuming that condition 'i<15+1' is not redundant overgod-1.0/cloud.c:807:8: note: Array index out of bounds overgod-1.0/cloud.c:808:8: error: Array 'effect[15]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:798:16: note: Assuming that condition 'i<15+1' is not redundant overgod-1.0/cloud.c:808:8: note: Array index out of bounds overgod-1.0/cloud.c:809:8: error: Array 'effect[15]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:798:16: note: Assuming that condition 'i<15+1' is not redundant overgod-1.0/cloud.c:809:8: note: Array index out of bounds overgod-1.0/cloud.c:810:8: error: Array 'effect[15]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:798:16: note: Assuming that condition 'i<15+1' is not redundant overgod-1.0/cloud.c:810:8: note: Array index out of bounds overgod-1.0/cloud.c:811:8: error: Array 'effect[15]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:798:16: note: Assuming that condition 'i<15+1' is not redundant overgod-1.0/cloud.c:811:8: note: Array index out of bounds overgod-1.0/cloud.c:812:8: error: Array 'effect[15]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:798:16: note: Assuming that condition 'i<15+1' is not redundant overgod-1.0/cloud.c:812:8: note: Array index out of bounds overgod-1.0/cloud.c:813:8: error: Array 'effect[15]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:798:16: note: Assuming that condition 'i<15+1' is not redundant overgod-1.0/cloud.c:813:8: note: Array index out of bounds overgod-1.0/cloud.c:814:8: error: Array 'effect[15]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:798:16: note: Assuming that condition 'i<15+1' is not redundant overgod-1.0/cloud.c:814:8: note: Array index out of bounds overgod-1.0/cloud.c:815:8: error: Array 'effect[15]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:798:16: note: Assuming that condition 'i<15+1' is not redundant overgod-1.0/cloud.c:815:8: note: Array index out of bounds overgod-1.0/cloud.c:816:8: error: Array 'effect[15]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:798:16: note: Assuming that condition 'i<15+1' is not redundant overgod-1.0/cloud.c:816:8: note: Array index out of bounds overgod-1.0/cloud.c:817:8: error: Array 'effect[15]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/cloud.c:798:16: note: Assuming that condition 'i<15+1' is not redundant overgod-1.0/cloud.c:817:8: note: Array index out of bounds overgod-1.0/cloud.c:327:25: style: Condition 'move_cloud(c,1)==0' is always false [knownConditionTrueFalse] overgod-1.0/cloud.c:327:18: note: Calling function 'move_cloud' returns 1 overgod-1.0/cloud.c:327:25: note: Condition 'move_cloud(c,1)==0' is always false overgod-1.0/cloud.c:172:23: style:inconclusive: Function 'manage_cloud' argument 1 names different: declaration 'cl' definition 'c'. [funcArgNamesDifferent] overgod-1.0/cloud.c:48:23: note: Function 'manage_cloud' argument 1 names different: declaration 'cl' definition 'c'. overgod-1.0/cloud.c:172:23: note: Function 'manage_cloud' argument 1 names different: declaration 'cl' definition 'c'. overgod-1.0/cloud.c:341:20: style:inconclusive: Function 'move_cloud' argument 1 names different: declaration 'mc' definition 'c'. [funcArgNamesDifferent] overgod-1.0/cloud.c:49:20: note: Function 'move_cloud' argument 1 names different: declaration 'mc' definition 'c'. overgod-1.0/cloud.c:341:20: note: Function 'move_cloud' argument 1 names different: declaration 'mc' definition 'c'. overgod-1.0/cloud.c:84:37: style: Parameter 'colours' can be declared as const array [constParameter] overgod-1.0/cloud.c:123:50: style: Parameter 'colours' can be declared as const array [constParameter] overgod-1.0/cloud.c:480:66: style: Parameter 'colours' can be declared as const array [constParameter] overgod-1.0/cloud.c:528:75: style: Parameter 'colours' can be declared as const array [constParameter] overgod-1.0/cloud.c:567:72: style: Parameter 'colours' can be declared as const array [constParameter] overgod-1.0/cloud.c:616:77: style: Parameter 'colours' can be declared as const array [constParameter] overgod-1.0/cloud.c:672:69: style: Parameter 'colours' can be declared as const array [constParameter] overgod-1.0/displ_in.c:1223:9: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] overgod-1.0/displ_in.c:1223:17: style: Variable 'c2' is assigned a value that is never used. [unreadVariable] overgod-1.0/actor.c:1741:16: style: Variable 'actor[a].lock' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/actor.c:1729:16: note: actor[a].lock is assigned overgod-1.0/actor.c:1741:16: note: actor[a].lock is overwritten overgod-1.0/actor.c:801:2: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] overgod-1.0/bullet.c:181:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:18: note: Assuming that condition 'b<1000' is not redundant overgod-1.0/bullet.c:181:10: note: Array index out of bounds overgod-1.0/bullet.c:196:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:196:10: note: Array index out of bounds overgod-1.0/bullet.c:197:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:197:10: note: Array index out of bounds overgod-1.0/bullet.c:198:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:198:10: note: Array index out of bounds overgod-1.0/bullet.c:199:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:199:10: note: Array index out of bounds overgod-1.0/bullet.c:200:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:200:10: note: Array index out of bounds overgod-1.0/bullet.c:201:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:201:10: note: Array index out of bounds overgod-1.0/bullet.c:202:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:202:10: note: Array index out of bounds overgod-1.0/bullet.c:204:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:204:10: note: Array index out of bounds overgod-1.0/bullet.c:205:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:205:10: note: Array index out of bounds overgod-1.0/bullet.c:206:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:206:10: note: Array index out of bounds overgod-1.0/bullet.c:207:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:207:10: note: Array index out of bounds overgod-1.0/bullet.c:208:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:208:10: note: Array index out of bounds overgod-1.0/bullet.c:209:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:209:10: note: Array index out of bounds overgod-1.0/bullet.c:210:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:210:10: note: Array index out of bounds overgod-1.0/bullet.c:211:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:211:10: note: Array index out of bounds overgod-1.0/bullet.c:212:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:212:10: note: Array index out of bounds overgod-1.0/bullet.c:213:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:213:10: note: Array index out of bounds overgod-1.0/bullet.c:214:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:214:10: note: Array index out of bounds overgod-1.0/bullet.c:215:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:215:10: note: Array index out of bounds overgod-1.0/bullet.c:216:10: error: Array 'bullet[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/bullet.c:172:4: note: After for loop, b has value 1000 overgod-1.0/bullet.c:216:10: note: Array index out of bounds overgod-1.0/bullet.c:3422:7: warning: Buffer 'pc2' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/bullet.c:3422:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/bullet.c:3416:8: note: Passing buffer 'pc2' to function that is declared here overgod-1.0/bullet.c:3422:7: note: Buffer 'pc2' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/bullet.c:3430:7: warning: Buffer 'pc2' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/bullet.c:3430:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/bullet.c:3416:8: note: Passing buffer 'pc2' to function that is declared here overgod-1.0/bullet.c:3430:7: note: Buffer 'pc2' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/bullet.c:2408:6: style: Redundant initialization for 'xs'. The initialized value is overwritten before it is read. [redundantInitialization] overgod-1.0/bullet.c:2400:9: note: xs is initialized overgod-1.0/bullet.c:2408:6: note: xs is overwritten overgod-1.0/bullet.c:2409:6: style: Redundant initialization for 'ys'. The initialized value is overwritten before it is read. [redundantInitialization] overgod-1.0/bullet.c:2401:9: note: ys is initialized overgod-1.0/bullet.c:2409:6: note: ys is overwritten overgod-1.0/bullet.c:2217:6: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] overgod-1.0/bullet.c:152:27: style: Parameter 'colours' can be declared as const array [constParameter] overgod-1.0/bullet.c:2538:24: style: Variable 'passing_colours[2]' is assigned a value that is never used. [unreadVariable] overgod-1.0/game.c:265:14: style: Variable 'slacktime' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/game.c:264:14: note: slacktime is assigned overgod-1.0/game.c:265:14: note: slacktime is overwritten overgod-1.0/game.c:154:20: style: Variable 'playing' is assigned a value that is never used. [unreadVariable] overgod-1.0/game.c:319:19: style: Variable 'hostile_attack' is assigned a value that is never used. [unreadVariable] overgod-1.0/levels.c:269:12: style: Variable 'etype' is assigned a value that is never used. [unreadVariable] overgod-1.0/main.c:322:20: style: Variable 'special_600_y' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/main.c:318:20: note: special_600_y is assigned overgod-1.0/main.c:322:20: note: special_600_y is overwritten overgod-1.0/menu.c:4391:6: error: Array 'pyro[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4383:16: note: Assuming that condition 'i<30' is not redundant overgod-1.0/menu.c:4391:6: note: Array index out of bounds overgod-1.0/menu.c:4392:6: error: Array 'pyro[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4383:16: note: Assuming that condition 'i<30' is not redundant overgod-1.0/menu.c:4392:6: note: Array index out of bounds overgod-1.0/menu.c:4393:6: error: Array 'pyro[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4383:16: note: Assuming that condition 'i<30' is not redundant overgod-1.0/menu.c:4393:6: note: Array index out of bounds overgod-1.0/menu.c:4394:6: error: Array 'pyro[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4383:16: note: Assuming that condition 'i<30' is not redundant overgod-1.0/menu.c:4394:6: note: Array index out of bounds overgod-1.0/menu.c:4395:6: error: Array 'pyro[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4383:16: note: Assuming that condition 'i<30' is not redundant overgod-1.0/menu.c:4395:6: note: Array index out of bounds overgod-1.0/menu.c:4396:6: error: Array 'pyro[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4383:16: note: Assuming that condition 'i<30' is not redundant overgod-1.0/menu.c:4396:6: note: Array index out of bounds overgod-1.0/menu.c:4397:6: error: Array 'pyro[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4383:16: note: Assuming that condition 'i<30' is not redundant overgod-1.0/menu.c:4397:6: note: Array index out of bounds overgod-1.0/menu.c:4398:6: error: Array 'pyro[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4383:16: note: Assuming that condition 'i<30' is not redundant overgod-1.0/menu.c:4398:6: note: Array index out of bounds overgod-1.0/menu.c:4399:6: error: Array 'pyro[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4383:16: note: Assuming that condition 'i<30' is not redundant overgod-1.0/menu.c:4399:6: note: Array index out of bounds overgod-1.0/menu.c:4400:6: error: Array 'pyro[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4383:16: note: Assuming that condition 'i<30' is not redundant overgod-1.0/menu.c:4400:6: note: Array index out of bounds overgod-1.0/menu.c:4401:6: error: Array 'pyro[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4383:16: note: Assuming that condition 'i<30' is not redundant overgod-1.0/menu.c:4401:6: note: Array index out of bounds overgod-1.0/menu.c:4402:6: error: Array 'pyro[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4383:16: note: Assuming that condition 'i<30' is not redundant overgod-1.0/menu.c:4402:6: note: Array index out of bounds overgod-1.0/menu.c:4492:10: error: Array 'sparkle[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4484:16: note: Assuming that condition 'i<1000' is not redundant overgod-1.0/menu.c:4492:10: note: Array index out of bounds overgod-1.0/menu.c:4493:10: error: Array 'sparkle[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4484:16: note: Assuming that condition 'i<1000' is not redundant overgod-1.0/menu.c:4493:10: note: Array index out of bounds overgod-1.0/menu.c:4494:10: error: Array 'sparkle[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4484:16: note: Assuming that condition 'i<1000' is not redundant overgod-1.0/menu.c:4494:10: note: Array index out of bounds overgod-1.0/menu.c:4495:10: error: Array 'sparkle[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4484:16: note: Assuming that condition 'i<1000' is not redundant overgod-1.0/menu.c:4495:10: note: Array index out of bounds overgod-1.0/menu.c:4496:10: error: Array 'sparkle[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4484:16: note: Assuming that condition 'i<1000' is not redundant overgod-1.0/menu.c:4496:10: note: Array index out of bounds overgod-1.0/menu.c:4497:10: error: Array 'sparkle[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4484:16: note: Assuming that condition 'i<1000' is not redundant overgod-1.0/menu.c:4497:10: note: Array index out of bounds overgod-1.0/menu.c:4498:10: error: Array 'sparkle[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4484:16: note: Assuming that condition 'i<1000' is not redundant overgod-1.0/menu.c:4498:10: note: Array index out of bounds overgod-1.0/menu.c:4499:10: error: Array 'sparkle[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/menu.c:4484:16: note: Assuming that condition 'i<1000' is not redundant overgod-1.0/menu.c:4499:10: note: Array index out of bounds overgod-1.0/menu.c:903:9: style: Redundant initialization for 'scol1'. The initialized value is overwritten before it is read. [redundantInitialization] overgod-1.0/menu.c:900:13: note: scol1 is initialized overgod-1.0/menu.c:903:9: note: scol1 is overwritten overgod-1.0/menu.c:904:9: style: Redundant initialization for 'scol2'. The initialized value is overwritten before it is read. [redundantInitialization] overgod-1.0/menu.c:901:13: note: scol2 is initialized overgod-1.0/menu.c:904:9: note: scol2 is overwritten overgod-1.0/display.c:5737:39: error: Array 'redbang_bmp[50]' accessed at index 50, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/display.c:5736:10: note: Assignment 'xa=50', assigned value is 50 overgod-1.0/display.c:5737:39: note: Array index out of bounds overgod-1.0/display.c:7021:54: warning: Either the condition 'tiled>40' is redundant or the array 'tile_rle[40]' is accessed at index 40, which is out of bounds. [arrayIndexOutOfBoundsCond] overgod-1.0/display.c:7021:27: note: Assuming that condition 'tiled>40' is not redundant overgod-1.0/display.c:7021:54: note: Array index out of bounds overgod-1.0/display.c:7032:37: warning: Either the condition 'tiled>40' is redundant or the array 'tile_rle[40]' is accessed at index 40, which is out of bounds. [arrayIndexOutOfBoundsCond] overgod-1.0/display.c:7021:27: note: Assuming that condition 'tiled>40' is not redundant overgod-1.0/display.c:7032:37: note: Array index out of bounds overgod-1.0/menu.c:4380:62: style: Parameter 'colours' can be declared as const array [constParameter] overgod-1.0/menu.c:290:6: style: struct member 'bouncy_list::x' is never used. [unusedStructMember] overgod-1.0/menu.c:291:6: style: struct member 'bouncy_list::y' is never used. [unusedStructMember] overgod-1.0/menu.c:292:6: style: struct member 'bouncy_list::x_speed' is never used. [unusedStructMember] overgod-1.0/menu.c:293:6: style: struct member 'bouncy_list::y_speed' is never used. [unusedStructMember] overgod-1.0/menu.c:294:6: style: struct member 'bouncy_list::colour1' is never used. [unusedStructMember] overgod-1.0/menu.c:295:6: style: struct member 'bouncy_list::colour2' is never used. [unusedStructMember] overgod-1.0/menu.c:904:9: style: Variable 'scol2' is assigned a value that is never used. [unreadVariable] overgod-1.0/menu.c:2395:24: style: Variable 'sprite_drawn' is assigned a value that is never used. [unreadVariable] overgod-1.0/menu.c:3046:20: style: Variable 'better_player' is assigned a value that is never used. [unreadVariable] overgod-1.0/menu.c:4351:12: style: Variable 'angle' is assigned a value that is never used. [unreadVariable] overgod-1.0/display.c:1602:17: style: Variable 'armour_colour' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/display.c:1588:18: note: armour_colour is assigned overgod-1.0/display.c:1602:17: note: armour_colour is overwritten overgod-1.0/display.c:1602:17: style: Variable 'armour_colour' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/display.c:1590:20: note: armour_colour is assigned overgod-1.0/display.c:1602:17: note: armour_colour is overwritten overgod-1.0/display.c:4573:7: style: Variable 'x1' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/display.c:4566:7: note: x1 is assigned overgod-1.0/display.c:4573:7: note: x1 is overwritten overgod-1.0/display.c:4574:7: style: Variable 'y1' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/display.c:4567:7: note: y1 is assigned overgod-1.0/display.c:4574:7: note: y1 is overwritten overgod-1.0/display.c:4575:7: style: Variable 'x2' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/display.c:4568:7: note: x2 is assigned overgod-1.0/display.c:4575:7: note: x2 is overwritten overgod-1.0/display.c:4576:7: style: Variable 'y2' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/display.c:4569:7: note: y2 is assigned overgod-1.0/display.c:4576:7: note: y2 is overwritten overgod-1.0/display.c:4585:7: style: Variable 'x1' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/display.c:4578:7: note: x1 is assigned overgod-1.0/display.c:4585:7: note: x1 is overwritten overgod-1.0/display.c:4586:7: style: Variable 'y1' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/display.c:4579:7: note: y1 is assigned overgod-1.0/display.c:4586:7: note: y1 is overwritten overgod-1.0/display.c:4587:7: style: Variable 'x2' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/display.c:4580:7: note: x2 is assigned overgod-1.0/display.c:4587:7: note: x2 is overwritten overgod-1.0/display.c:4588:7: style: Variable 'y2' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/display.c:4581:7: note: y2 is assigned overgod-1.0/display.c:4588:7: note: y2 is overwritten overgod-1.0/display.c:499:12: style: The comparison 'angle < 0' is always false. [knownConditionTrueFalse] overgod-1.0/display.c:498:14: note: 'angle' is assigned value '0' here. overgod-1.0/display.c:499:12: note: The comparison 'angle < 0' is always false. overgod-1.0/display.c:502:13: style: The comparison 'angle2 < 0' is always false. [knownConditionTrueFalse] overgod-1.0/display.c:497:15: note: 'angle2' is assigned value '0' here. overgod-1.0/display.c:502:13: note: The comparison 'angle2 < 0' is always false. overgod-1.0/display.c:2649:6: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] overgod-1.0/display.c:789:31: warning: Function 'draw_ship_bitmap' argument order different: declaration 'bmp, x, y, angle, which_ship, width, height' definition 'bmp, x, y, which_ship, angle, width, height' [funcArgOrderDifferent] overgod-1.0/display.c:169:31: note: Function 'draw_ship_bitmap' argument order different: declaration 'bmp, x, y, angle, which_ship, width, height' definition 'bmp, x, y, which_ship, angle, width, height' overgod-1.0/display.c:789:31: note: Function 'draw_ship_bitmap' argument order different: declaration 'bmp, x, y, angle, which_ship, width, height' definition 'bmp, x, y, which_ship, angle, width, height' overgod-1.0/display.c:1786:33: style:inconclusive: Function 'secondary_name' argument 2 names different: declaration 'dstr' definition 'str'. [funcArgNamesDifferent] overgod-1.0/display.c:197:33: note: Function 'secondary_name' argument 2 names different: declaration 'dstr' definition 'str'. overgod-1.0/display.c:1786:33: note: Function 'secondary_name' argument 2 names different: declaration 'dstr' definition 'str'. overgod-1.0/display.c:268:13: style: Local variable 'counter' shadows outer variable [shadowVariable] overgod-1.0/globvars.h:15:22: note: Shadowed declaration overgod-1.0/display.c:268:13: note: Shadow variable overgod-1.0/display.c:5420:6: style: Local variable 'angle_difference' shadows outer function [shadowFunction] overgod-1.0/stuff.h:13:5: note: Shadowed declaration overgod-1.0/display.c:5420:6: note: Shadow variable overgod-1.0/display.c:401:25: style: Parameter 'bmp' can be declared as pointer to const [constParameterPointer] overgod-1.0/display.c:1371:23: style: Parameter 'bmp' can be declared as pointer to const [constParameterPointer] overgod-1.0/display.c:7264:27: style: Parameter 'bmp' can be declared as pointer to const [constParameterPointer] overgod-1.0/display.c:4590:7: style: Variable 'x1' is assigned a value that is never used. [unreadVariable] overgod-1.0/display.c:4591:7: style: Variable 'y1' is assigned a value that is never used. [unreadVariable] overgod-1.0/display.c:4592:7: style: Variable 'x2' is assigned a value that is never used. [unreadVariable] overgod-1.0/display.c:4593:7: style: Variable 'y2' is assigned a value that is never used. [unreadVariable] overgod-1.0/display.c:6924:13: style: Variable 'draw_x' is assigned a value that is never used. [unreadVariable] overgod-1.0/display.c:6925:13: style: Variable 'draw_y' is assigned a value that is never used. [unreadVariable] overgod-1.0/palette.c:646:35: warning: Logical conjunction always evaluates to false: y % 32 >= COLOUR_BLACK % 32 && y % 32 <= COLOUR_WHITE % 32. [incorrectLogicOperator] overgod-1.0/palette.c:649:37: warning: Logical conjunction always evaluates to false: y % 32 >= COLOUR_ORANGE1 % 32 && y % 32 <= COLOUR_BLUE4 % 32. [incorrectLogicOperator] overgod-1.0/palette.c:612:9: style: Condition 'y>=105' is always true [knownConditionTrueFalse] overgod-1.0/palette.c:610:9: note: Assuming that condition 'y<=104' is not redundant overgod-1.0/palette.c:612:9: note: Condition 'y>=105' is always true overgod-1.0/palette.c:623:9: style: Condition 'y>=105' is always true [knownConditionTrueFalse] overgod-1.0/palette.c:621:9: note: Assuming that condition 'y<=104' is not redundant overgod-1.0/palette.c:623:9: note: Condition 'y>=105' is always true overgod-1.0/palette.c:276:27: style: Parameter 'proc_palet' can be declared as pointer to const [constParameterPointer] overgod-1.0/palette.c:514:39: style: Parameter 'rgbl' can be declared as pointer to const [constParameterPointer] overgod-1.0/pickup.c:76:10: error: Array 'pickup[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/pickup.c:70:18: note: Assuming that condition 'p<20' is not redundant overgod-1.0/pickup.c:76:10: note: Array index out of bounds overgod-1.0/pickup.c:91:10: error: Array 'pickup[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/pickup.c:70:4: note: After for loop, p has value 20 overgod-1.0/pickup.c:91:10: note: Array index out of bounds overgod-1.0/pickup.c:92:10: error: Array 'pickup[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/pickup.c:70:4: note: After for loop, p has value 20 overgod-1.0/pickup.c:92:10: note: Array index out of bounds overgod-1.0/pickup.c:93:10: error: Array 'pickup[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/pickup.c:70:4: note: After for loop, p has value 20 overgod-1.0/pickup.c:93:10: note: Array index out of bounds overgod-1.0/pickup.c:94:10: error: Array 'pickup[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/pickup.c:70:4: note: After for loop, p has value 20 overgod-1.0/pickup.c:94:10: note: Array index out of bounds overgod-1.0/pickup.c:95:10: error: Array 'pickup[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/pickup.c:70:4: note: After for loop, p has value 20 overgod-1.0/pickup.c:95:10: note: Array index out of bounds overgod-1.0/pickup.c:96:10: error: Array 'pickup[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/pickup.c:70:4: note: After for loop, p has value 20 overgod-1.0/pickup.c:96:10: note: Array index out of bounds overgod-1.0/pickup.c:146:7: warning: Buffer 'passing_colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/pickup.c:146:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/pickup.c:145:11: note: Passing buffer 'passing_colours' to function that is declared here overgod-1.0/pickup.c:146:7: note: Buffer 'passing_colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/sound.c:1321:36: style:inconclusive: Function 'add_melody_note' argument 2 names different: declaration 'melody' definition 'mp1'. [funcArgNamesDifferent] overgod-1.0/sound.c:281:36: note: Function 'add_melody_note' argument 2 names different: declaration 'melody' definition 'mp1'. overgod-1.0/sound.c:1321:36: note: Function 'add_melody_note' argument 2 names different: declaration 'melody' definition 'mp1'. overgod-1.0/sound.c:902:25: style: Variable 'next_op' is assigned a value that is never used. [unreadVariable] overgod-1.0/sound.c:1043:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] overgod-1.0/tile.c:183:8: style: Redundant initialization for 'col1'. The initialized value is overwritten before it is read. [redundantInitialization] overgod-1.0/tile.c:176:11: note: col1 is initialized overgod-1.0/tile.c:183:8: note: col1 is overwritten overgod-1.0/tile.c:184:8: style: Redundant initialization for 'col2'. The initialized value is overwritten before it is read. [redundantInitialization] overgod-1.0/tile.c:177:11: note: col2 is initialized overgod-1.0/tile.c:184:8: note: col2 is overwritten overgod-1.0/tile.c:532:25: style: Parameter 'level_bmp' can be declared as pointer to const [constParameterPointer] overgod-1.0/tile.c:607:57: style: Parameter 'node_x' can be declared as const array [constParameter] overgod-1.0/tile.c:607:75: style: Parameter 'node_y' can be declared as const array [constParameter] overgod-1.0/cmds.c:2235:6: style:inconclusive: Function 'secondary_shot' argument 19 names different: declaration 'flash_circle' definition 'flash_colour'. [funcArgNamesDifferent] overgod-1.0/cmds.c:316:6: note: Function 'secondary_shot' argument 19 names different: declaration 'flash_circle' definition 'flash_colour'. overgod-1.0/cmds.c:2235:6: note: Function 'secondary_shot' argument 19 names different: declaration 'flash_circle' definition 'flash_colour'. overgod-1.0/cmds.c:903:6: style: Variable 'rand_speed' can be declared as const array [constVariable] overgod-1.0/cmds.c:905:6: style: Variable 'angles' can be declared as const array [constVariable] overgod-1.0/cmds.c:911:6: style: Variable 'displace' can be declared as const array [constVariable] overgod-1.0/cmds.c:2517:39: error: Uninitialized variable: special2 [uninitvar] overgod-1.0/cmds.c:2700:49: error: Uninitialized variable: special3 [uninitvar] overgod-1.0/cmds.c:2700:59: error: Uninitialized variable: special4 [uninitvar] overgod-1.0/cmds.c:2700:69: error: Uninitialized variable: special5 [uninitvar] overgod-1.0/cmds.c:729:15: style: Variable 'recycled' is assigned a value that is never used. [unreadVariable] overgod-1.0/cmds.c:1416:8: style: Variable 'l' is assigned a value that is never used. [unreadVariable] overgod-1.0/cmds.c:1463:7: style: Variable 'l' is assigned a value that is never used. [unreadVariable] overgod-1.0/cmds.c:1484:8: style: Variable 'l' is assigned a value that is never used. [unreadVariable] overgod-1.0/cmds.c:1488:8: style: Variable 'l' is assigned a value that is never used. [unreadVariable] overgod-1.0/enemy.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] overgod-1.0/enemy.c:207:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:207:9: note: Array index out of bounds overgod-1.0/enemy.c:208:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:208:9: note: Array index out of bounds overgod-1.0/enemy.c:209:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:209:9: note: Array index out of bounds overgod-1.0/enemy.c:210:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:210:9: note: Array index out of bounds overgod-1.0/enemy.c:211:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:211:9: note: Array index out of bounds overgod-1.0/enemy.c:212:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:212:9: note: Array index out of bounds overgod-1.0/enemy.c:213:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:213:9: note: Array index out of bounds overgod-1.0/enemy.c:214:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:214:9: note: Array index out of bounds overgod-1.0/enemy.c:215:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:215:9: note: Array index out of bounds overgod-1.0/enemy.c:216:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:216:9: note: Array index out of bounds overgod-1.0/enemy.c:217:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:217:9: note: Array index out of bounds overgod-1.0/enemy.c:219:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:219:9: note: Array index out of bounds overgod-1.0/enemy.c:220:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:220:9: note: Array index out of bounds overgod-1.0/enemy.c:221:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:221:9: note: Array index out of bounds overgod-1.0/enemy.c:222:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:222:9: note: Array index out of bounds overgod-1.0/enemy.c:223:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:223:9: note: Array index out of bounds overgod-1.0/enemy.c:224:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:224:9: note: Array index out of bounds overgod-1.0/enemy.c:226:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:226:9: note: Array index out of bounds overgod-1.0/enemy.c:227:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:227:9: note: Array index out of bounds overgod-1.0/enemy.c:228:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:228:9: note: Array index out of bounds overgod-1.0/enemy.c:229:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:229:9: note: Array index out of bounds overgod-1.0/enemy.c:230:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:230:9: note: Array index out of bounds overgod-1.0/enemy.c:231:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:231:9: note: Array index out of bounds overgod-1.0/enemy.c:232:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:232:9: note: Array index out of bounds overgod-1.0/enemy.c:233:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:233:9: note: Array index out of bounds overgod-1.0/enemy.c:234:20: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:234:20: note: Array index out of bounds overgod-1.0/enemy.c:243:10: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:4: note: After for loop, e has value 40 overgod-1.0/enemy.c:243:10: note: Array index out of bounds overgod-1.0/enemy.c:246:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:4: note: After for loop, e has value 40 overgod-1.0/enemy.c:246:9: note: Array index out of bounds overgod-1.0/enemy.c:247:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:4: note: After for loop, e has value 40 overgod-1.0/enemy.c:247:9: note: Array index out of bounds overgod-1.0/enemy.c:249:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:4: note: After for loop, e has value 40 overgod-1.0/enemy.c:249:9: note: Array index out of bounds overgod-1.0/enemy.c:250:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:4: note: After for loop, e has value 40 overgod-1.0/enemy.c:250:9: note: Array index out of bounds overgod-1.0/enemy.c:254:10: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:4: note: After for loop, e has value 40 overgod-1.0/enemy.c:254:10: note: Array index out of bounds overgod-1.0/enemy.c:259:16: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:201:4: note: After for loop, e has value 40 overgod-1.0/enemy.c:259:16: note: Array index out of bounds overgod-1.0/enemy.c:521:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:521:9: note: Array index out of bounds overgod-1.0/enemy.c:522:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:522:9: note: Array index out of bounds overgod-1.0/enemy.c:523:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:523:9: note: Array index out of bounds overgod-1.0/enemy.c:524:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:524:9: note: Array index out of bounds overgod-1.0/enemy.c:525:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:525:9: note: Array index out of bounds overgod-1.0/enemy.c:526:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:526:9: note: Array index out of bounds overgod-1.0/enemy.c:527:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:527:9: note: Array index out of bounds overgod-1.0/enemy.c:528:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:528:9: note: Array index out of bounds overgod-1.0/enemy.c:529:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:529:9: note: Array index out of bounds overgod-1.0/enemy.c:530:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:530:9: note: Array index out of bounds overgod-1.0/enemy.c:531:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:531:9: note: Array index out of bounds overgod-1.0/enemy.c:533:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:533:9: note: Array index out of bounds overgod-1.0/enemy.c:534:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:534:9: note: Array index out of bounds overgod-1.0/enemy.c:535:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:535:9: note: Array index out of bounds overgod-1.0/enemy.c:536:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:536:9: note: Array index out of bounds overgod-1.0/enemy.c:537:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:537:9: note: Array index out of bounds overgod-1.0/enemy.c:538:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:538:9: note: Array index out of bounds overgod-1.0/enemy.c:540:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:540:9: note: Array index out of bounds overgod-1.0/enemy.c:541:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:541:9: note: Array index out of bounds overgod-1.0/enemy.c:542:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:542:9: note: Array index out of bounds overgod-1.0/enemy.c:543:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:543:9: note: Array index out of bounds overgod-1.0/enemy.c:544:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:544:9: note: Array index out of bounds overgod-1.0/enemy.c:545:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:545:9: note: Array index out of bounds overgod-1.0/enemy.c:546:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:546:9: note: Array index out of bounds overgod-1.0/enemy.c:552:10: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:552:10: note: Array index out of bounds overgod-1.0/enemy.c:562:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:562:9: note: Array index out of bounds overgod-1.0/enemy.c:563:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:563:9: note: Array index out of bounds overgod-1.0/enemy.c:565:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:565:9: note: Array index out of bounds overgod-1.0/enemy.c:566:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:566:9: note: Array index out of bounds overgod-1.0/enemy.c:570:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:570:9: note: Array index out of bounds overgod-1.0/enemy.c:571:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:571:9: note: Array index out of bounds overgod-1.0/enemy.c:573:9: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:573:9: note: Array index out of bounds overgod-1.0/enemy.c:575:16: error: Array 'enemy[40]' accessed at index 40, which is out of bounds. [arrayIndexOutOfBounds] overgod-1.0/enemy.c:515:18: note: Assuming that condition 'e<40' is not redundant overgod-1.0/enemy.c:575:16: note: Array index out of bounds overgod-1.0/enemy.c:6825:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6825:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6825:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6830:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6830:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6830:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6834:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6834:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6834:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6842:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6842:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6842:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6847:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6847:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6847:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6855:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6855:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6855:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6860:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6860:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6860:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6865:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6865:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6865:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6873:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6873:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6873:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6881:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6881:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6881:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6911:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6911:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6911:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6927:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6927:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6927:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6934:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6934:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6934:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6947:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6947:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6947:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6977:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6977:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6977:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:6990:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:6990:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:6990:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:7002:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:7002:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:7002:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:7066:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:7066:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:7066:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:7073:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:7073:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:7073:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:7172:7: warning: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:7172:7: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:3742:6: note: Passing buffer 'colours' to function that is declared here overgod-1.0/enemy.c:7172:7: note: Buffer 'colours' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:7210:2: warning: Buffer 'passing_colours' is too small, the function 'place_explosion' expects a bigger buffer in 6th argument [argumentSize] overgod-1.0/enemy.c:7210:2: note: Function 'place_explosion' is called overgod-1.0/cloud.h:13:66: note: Declaration of 6th function argument. overgod-1.0/enemy.c:7208:6: note: Passing buffer 'passing_colours' to function that is declared here overgod-1.0/enemy.c:7210:2: note: Buffer 'passing_colours' is too small, the function 'place_explosion' expects a bigger buffer in 6th argument overgod-1.0/enemy.c:7219:5: warning: Buffer 'passing_colours' is too small, the function 'place_explosion_no_light' expects a bigger buffer in 6th argument [argumentSize] overgod-1.0/enemy.c:7219:5: note: Function 'place_explosion_no_light' is called overgod-1.0/cloud.h:16:75: note: Declaration of 6th function argument. overgod-1.0/enemy.c:7208:6: note: Passing buffer 'passing_colours' to function that is declared here overgod-1.0/enemy.c:7219:5: note: Buffer 'passing_colours' is too small, the function 'place_explosion_no_light' expects a bigger buffer in 6th argument overgod-1.0/enemy.c:7221:4: warning: Buffer 'passing_colours' is too small, the function 'place_burstlet_burst' expects a bigger buffer in 11th argument [argumentSize] overgod-1.0/enemy.c:7221:4: note: Function 'place_burstlet_burst' is called overgod-1.0/cloud.h:20:157: note: Declaration of 11th function argument. overgod-1.0/enemy.c:7208:6: note: Passing buffer 'passing_colours' to function that is declared here overgod-1.0/enemy.c:7221:4: note: Buffer 'passing_colours' is too small, the function 'place_burstlet_burst' expects a bigger buffer in 11th argument overgod-1.0/enemy.c:7242:4: warning: Buffer 'passing_colours2' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:7242:4: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:7225:6: note: Passing buffer 'passing_colours2' to function that is declared here overgod-1.0/enemy.c:7242:4: note: Buffer 'passing_colours2' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:7263:8: warning: Buffer 'passing_colours2' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument [argumentSize] overgod-1.0/enemy.c:7263:8: note: Function 'create_cloud' is called overgod-1.0/cloud.h:7:37: note: Declaration of 14th function argument. overgod-1.0/enemy.c:7225:6: note: Passing buffer 'passing_colours2' to function that is declared here overgod-1.0/enemy.c:7263:8: note: Buffer 'passing_colours2' is too small, the function 'create_cloud' expects a bigger buffer in 14th argument overgod-1.0/enemy.c:709:20: style: Condition 'enemy[e].type==ENEMY_NONE' is always false [knownConditionTrueFalse] overgod-1.0/enemy.c:696:30: note: Assuming that condition 'enemy[e].type<=ENEMY_NONE' is not redundant overgod-1.0/enemy.c:709:20: note: Condition 'enemy[e].type==ENEMY_NONE' is always false overgod-1.0/enemy.c:4353:14: style: Variable 'speed_div' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/enemy.c:4345:14: note: speed_div is assigned overgod-1.0/enemy.c:4353:14: note: speed_div is overwritten overgod-1.0/enemy.c:4354:13: style: Variable 'multiple' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/enemy.c:4346:13: note: multiple is assigned overgod-1.0/enemy.c:4354:13: note: multiple is overwritten overgod-1.0/enemy.c:5082:9: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/enemy.c:5066:9: note: size is assigned overgod-1.0/enemy.c:5082:9: note: size is overwritten overgod-1.0/enemy.c:5320:13: style: Variable 'multiple' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/enemy.c:5319:13: note: multiple is assigned overgod-1.0/enemy.c:5320:13: note: multiple is overwritten overgod-1.0/enemy.c:5484:22: style: Variable 'enemy[e].recycle' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/enemy.c:5478:21: note: enemy[e].recycle is assigned overgod-1.0/enemy.c:5484:22: note: enemy[e].recycle is overwritten overgod-1.0/enemy.c:5513:22: style: Variable 'enemy[e].recycle' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/enemy.c:5507:21: note: enemy[e].recycle is assigned overgod-1.0/enemy.c:5513:22: note: enemy[e].recycle is overwritten overgod-1.0/enemy.c:5715:22: style: Variable 'enemy[e].recycle' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/enemy.c:5709:21: note: enemy[e].recycle is assigned overgod-1.0/enemy.c:5715:22: note: enemy[e].recycle is overwritten overgod-1.0/enemy.c:6251:24: style: Variable 'enemy[e].recycle' is reassigned a value before the old one has been used. [redundantAssignment] overgod-1.0/enemy.c:6235:24: note: enemy[e].recycle is assigned overgod-1.0/enemy.c:6251:24: note: enemy[e].recycle is overwritten overgod-1.0/enemy.c:192:64: style: Parameter 'special' can be declared as const array [constParameter] overgod-1.0/enemy.c:3459:49: style: Parameter 'distance' can be declared as const array [constParameter] overgod-1.0/enemy.c:3459:67: style: Parameter 'angle' can be declared as const array [constParameter] overgod-1.0/enemy.c:7186:4: error: Uninitialized variable: status [uninitvar] overgod-1.0/enemy.c:7653:16: style: Variable 'scoring' is assigned a value that is never used. [unreadVariable] diff: head overgod-1.0/display.c:1371:23: style: Parameter 'bmp' can be declared as pointer to const [constParameterPointer] head overgod-1.0/display.c:401:25: style: Parameter 'bmp' can be declared as pointer to const [constParameterPointer] head overgod-1.0/display.c:7264:27: style: Parameter 'bmp' can be declared as pointer to const [constParameterPointer] head overgod-1.0/palette.c:276:27: style: Parameter 'proc_palet' can be declared as pointer to const [constParameterPointer] head overgod-1.0/palette.c:514:39: style: Parameter 'rgbl' can be declared as pointer to const [constParameterPointer] head overgod-1.0/tile.c:532:25: style: Parameter 'level_bmp' can be declared as pointer to const [constParameterPointer] DONE