2025-05-08 18:16 ftp://ftp.de.debian.org/debian/pool/main/v/visualboyadvance/visualboyadvance_1.8.0.dfsg.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=gtk --library=sdl --library=libsigc++ --library=mfc --library=motif --library=opengl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -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: 66c9938 (2025-05-08 13:55:11 +0200) count: 2292 2274 elapsed-time: 417.0 431.0 head-timing-info: old-timing-info: head results: VisualBoyAdvance-1.8.0/src/CheatSearch.cpp:132:31: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/CheatSearch.cpp:153:25: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/CheatSearch.cpp:312:9: style: Variable 'bits' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2826:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable freezeWorkRAM [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/EEprom.cpp:61:28: style:inconclusive: Function 'eepromSaveGame' argument 1 names different: declaration '_gzFile' definition 'gzFile'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/src/EEprom.h:23:35: note: Function 'eepromSaveGame' argument 1 names different: declaration '_gzFile' definition 'gzFile'. VisualBoyAdvance-1.8.0/src/EEprom.cpp:61:28: note: Function 'eepromSaveGame' argument 1 names different: declaration '_gzFile' definition 'gzFile'. VisualBoyAdvance-1.8.0/src/EEprom.cpp:68:28: style:inconclusive: Function 'eepromReadGame' argument 1 names different: declaration '_gzFile' definition 'gzFile'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/src/EEprom.h:24:35: note: Function 'eepromReadGame' argument 1 names different: declaration '_gzFile' definition 'gzFile'. VisualBoyAdvance-1.8.0/src/EEprom.cpp:68:28: note: Function 'eepromReadGame' argument 1 names different: declaration '_gzFile' definition 'gzFile'. VisualBoyAdvance-1.8.0/src/Flash.cpp:113:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Flash.cpp:113:45: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Flash.cpp:82:27: style:inconclusive: Function 'flashSaveGame' argument 1 names different: declaration '_gzFile' definition 'gzFile'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/src/Flash.h:23:34: note: Function 'flashSaveGame' argument 1 names different: declaration '_gzFile' definition 'gzFile'. VisualBoyAdvance-1.8.0/src/Flash.cpp:82:27: note: Function 'flashSaveGame' argument 1 names different: declaration '_gzFile' definition 'gzFile'. VisualBoyAdvance-1.8.0/src/Flash.cpp:87:27: style:inconclusive: Function 'flashReadGame' argument 1 names different: declaration '_gzFile' definition 'gzFile'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/src/Flash.h:24:34: note: Function 'flashReadGame' argument 1 names different: declaration '_gzFile' definition 'gzFile'. VisualBoyAdvance-1.8.0/src/Flash.cpp:87:27: note: Function 'flashReadGame' argument 1 names different: declaration '_gzFile' definition 'gzFile'. VisualBoyAdvance-1.8.0/src/GBAinline.h:130:24: style:inconclusive: Boolean expression 'cpuFlashEnabled' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] VisualBoyAdvance-1.8.0/src/GBAinline.h:269:24: style:inconclusive: Boolean expression 'cpuFlashEnabled' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] VisualBoyAdvance-1.8.0/src/GBAinline.h:354:23: style:inconclusive: Boolean expression 'cpuSramEnabled' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] VisualBoyAdvance-1.8.0/src/GBAinline.h:469:21: style:inconclusive: Boolean expression '!eepromInUse' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] VisualBoyAdvance-1.8.0/src/GBAinline.h:469:38: style:inconclusive: Boolean expression 'cpuFlashEnabled' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] VisualBoyAdvance-1.8.0/src/GBAinline.h:469:21: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1130:39: style: Expression '(X & 0x3fc) != 0x6' is always true. [comparisonError] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2229:10: style: Condition 'y<1' is always false [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2224:8: note: Assuming that condition 'y!=0' is not redundant VisualBoyAdvance-1.8.0/src/Cheats.cpp:2229:10: note: Condition 'y<1' is always false VisualBoyAdvance-1.8.0/src/GBAinline.h:80:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:84:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:87:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:90:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:95:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:97:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:101:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:112:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:115:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:122:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:147:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:149:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:150:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:204:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:207:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:210:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:213:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:218:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:237:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:248:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:251:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:261:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:285:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:287:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:412:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:421:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:436:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:451:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBAinline.h:460:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:594:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:697:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1306:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1313:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1323:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1388:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1395:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1402:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1449:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1558:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1559:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1564:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1565:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1630:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1633:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1636:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1636:27: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2334:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2335:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2336:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2407:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2409:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2427:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2429:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2518:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2519:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Cheats.cpp:789:15: style: The scope of the variable 'address' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/Cheats.cpp:790:15: style: The scope of the variable 'value' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1249:15: style: The scope of the variable 'value' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2346:14: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1434:23: style:inconclusive: Function 'cheatsEnable' argument 1 names different: declaration 'number' definition 'i'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/src/Cheats.h:43:30: note: Function 'cheatsEnable' argument 1 names different: declaration 'number' definition 'i'. VisualBoyAdvance-1.8.0/src/Cheats.cpp:1434:23: note: Function 'cheatsEnable' argument 1 names different: declaration 'number' definition 'i'. VisualBoyAdvance-1.8.0/src/Cheats.cpp:1442:24: style:inconclusive: Function 'cheatsDisable' argument 1 names different: declaration 'number' definition 'i'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/src/Cheats.h:44:31: note: Function 'cheatsDisable' argument 1 names different: declaration 'number' definition 'i'. VisualBoyAdvance-1.8.0/src/Cheats.cpp:1442:24: note: Function 'cheatsDisable' argument 1 names different: declaration 'number' definition 'i'. VisualBoyAdvance-1.8.0/src/Cheats.cpp:1632:12: style: Local variable 'buffer' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1617:8: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/Cheats.cpp:1632:12: note: Shadow variable VisualBoyAdvance-1.8.0/src/Cheats.cpp:2303:9: style: Local variable 'a' shadows outer argument [shadowArgument] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2297:36: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/Cheats.cpp:2303:9: note: Shadow variable VisualBoyAdvance-1.8.0/src/Cheats.cpp:1572:37: style: Parameter 'deadtable1' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1572:53: style: Parameter 'deadtable2' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/Cheats.cpp:1585:8: style: Variable 'seeds' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2148:32: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2175:27: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2180:26: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2185:32: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2311:37: style: Parameter 'seed' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/Cheats.cpp:2371:26: style: Parameter 'rom' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/Gfx.h:1216:25: style: Condition '(a0&0x0c00)==0x0c00' is always false [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/Gfx.h:1213:25: note: Assuming that condition '(a0&0x0c00)!=0x0800' is not redundant VisualBoyAdvance-1.8.0/src/Gfx.h:1216:25: note: Condition '(a0&0x0c00)==0x0c00' is always false VisualBoyAdvance-1.8.0/src/Gfx.h:128:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:130:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:177:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:190:26: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:214:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:233:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:234:26: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:279:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:281:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:369:28: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:401:28: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:445:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:508:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:542:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:609:26: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:643:42: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:644:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:708:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:742:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:743:28: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:747:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:748:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:749:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:852:24: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:853:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:856:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:859:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:862:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:907:35: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:960:35: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:1036:35: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:1117:37: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:1161:37: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:1200:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:1204:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:1205:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:1206:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:1266:24: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:1267:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:1270:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:1273:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:1276:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode0.cpp:25:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode0.cpp:52:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode0.cpp:132:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode0.cpp:159:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode0.cpp:302:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode0.cpp:352:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Gfx.h:739:7: style: The scope of the variable 'm' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/Gfx.h:886:23: style: Local variable 'x' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/Gfx.h:746:13: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/Gfx.h:886:23: note: Shadow variable VisualBoyAdvance-1.8.0/src/Gfx.h:935:23: style: Local variable 'x' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/Gfx.h:746:13: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/Gfx.h:935:23: note: Shadow variable VisualBoyAdvance-1.8.0/src/Gfx.h:1296:23: style: Local variable 'x' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/Gfx.h:1202:13: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/Gfx.h:1296:23: note: Shadow variable VisualBoyAdvance-1.8.0/src/Gfx.h:1328:23: style: Local variable 'x' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/Gfx.h:1202:13: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/Gfx.h:1328:23: note: Shadow variable VisualBoyAdvance-1.8.0/src/Gfx.h:129:7: style: Variable 'charBase' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/Gfx.h:280:7: style: Variable 'charBase' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/Gfx.h:281:7: style: Variable 'screenBase' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/Gfx.h:543:7: style: Variable 'screenBase' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/Gfx.h:1622:48: style: Parameter 'tb' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/Gfx.h:450:14: style: Variable 'startX' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/Gfx.h:452:12: style: Variable 'startX' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/Gfx.h:453:14: style: Variable 'startY' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/Gfx.h:455:12: style: Variable 'startY' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/Mode1.cpp:25:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode1.cpp:54:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode1.cpp:126:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode1.cpp:156:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode1.cpp:281:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode1.cpp:333:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode2.cpp:25:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode2.cpp:57:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode2.cpp:121:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode2.cpp:153:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode2.cpp:264:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode2.cpp:319:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode3.cpp:25:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode3.cpp:50:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode3.cpp:102:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode3.cpp:127:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode3.cpp:220:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode3.cpp:272:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode4.cpp:25:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode4.cpp:49:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode4.cpp:101:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode4.cpp:125:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode4.cpp:218:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode4.cpp:265:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:1222:21: style: Condition 'y1<=x1' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:1217:21: note: Assuming that condition 'y1>=x1' is not redundant VisualBoyAdvance-1.8.0/src/2xSaI.cpp:1222:21: note: Condition 'y1<=x1' is always true VisualBoyAdvance-1.8.0/src/2xSaI.cpp:1259:25: style: Condition 'y2<=x1' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:1254:25: note: Assuming that condition 'y2>=x1' is not redundant VisualBoyAdvance-1.8.0/src/2xSaI.cpp:1259:25: note: Condition 'y2<=x1' is always true VisualBoyAdvance-1.8.0/src/2xSaI.cpp:246:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:247:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:353:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:354:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:378:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:379:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:516:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:517:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:622:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:623:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:651:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:652:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:653:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:789:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:926:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:927:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:950:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:951:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:1162:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:1272:8: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:227:8: style: The scope of the variable 'bP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:228:8: style: The scope of the variable 'dP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:229:7: style: The scope of the variable 'inc_bP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:230:7: style: The scope of the variable 'Nextline' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:371:8: style: The scope of the variable 'bP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:372:8: style: The scope of the variable 'dP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:494:8: style: The scope of the variable 'dP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:495:8: style: The scope of the variable 'bP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:496:8: style: The scope of the variable 'xP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:497:7: style: The scope of the variable 'inc_bP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:641:9: style: The scope of the variable 'dP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:642:8: style: The scope of the variable 'bP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:643:8: style: The scope of the variable 'xP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:769:8: style: The scope of the variable 'dP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:770:8: style: The scope of the variable 'bP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:771:7: style: The scope of the variable 'inc_bP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:943:9: style: The scope of the variable 'dP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:944:8: style: The scope of the variable 'bP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:1141:8: style: The scope of the variable 'dP' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:1144:7: style: The scope of the variable 'w' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:1142:8: style: Variable 'bP' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:362:18: style: Variable 'deltaPtr' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/2xSaI.cpp:935:16: style: Variable 'deltaPtr' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/RTC.cpp:130:27: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] VisualBoyAdvance-1.8.0/src/RTC.cpp:149:27: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] VisualBoyAdvance-1.8.0/src/RTC.cpp:71:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/RTC.cpp:126:28: style: Variable 'newtime' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/RTC.cpp:145:28: style: Variable 'newtime' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/RTC.cpp:41:6: style: struct member 'RTCCLOCKDATA::reserved' is never used. [unusedStructMember] VisualBoyAdvance-1.8.0/src/RTC.cpp:42:8: style: struct member 'RTCCLOCKDATA::reserved2' is never used. [unusedStructMember] VisualBoyAdvance-1.8.0/src/RTC.cpp:43:7: style: struct member 'RTCCLOCKDATA::reserved3' is never used. [unusedStructMember] VisualBoyAdvance-1.8.0/src/Sound.cpp:1261:18: warning: Either the condition 'addr<0x20' is redundant or the array 'sound3WaveRam[32]' is accessed at index 32, which is out of bounds. [arrayIndexOutOfBoundsCond] VisualBoyAdvance-1.8.0/src/Sound.cpp:1259:14: note: Assuming that condition 'addr<0x20' is not redundant VisualBoyAdvance-1.8.0/src/Sound.cpp:1260:19: note: addr is incremented', new value is 32 VisualBoyAdvance-1.8.0/src/Sound.cpp:1261:18: note: Array index out of bounds VisualBoyAdvance-1.8.0/src/Sound.cpp:565:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Sound.cpp:573:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Sound.cpp:581:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Sound.cpp:585:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Sound.cpp:595:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Sound.cpp:596:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Sound.cpp:605:7: style: The scope of the variable 'freq' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/Sound.cpp:605:12: style: Variable 'freq' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/Mode5.cpp:33:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode5.cpp:50:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode5.cpp:110:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode5.cpp:127:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode5.cpp:228:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Mode5.cpp:272:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Text.cpp:62:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Text.cpp:77:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Text.cpp:90:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Text.cpp:112:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Text.cpp:126:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Text.cpp:140:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:73:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_LIBPNG_VER_STRING [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/Util.cpp:400:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/Util.cpp:413:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/admame.cpp:905:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/admame.cpp:908:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/admame.cpp:960:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/admame.cpp:963:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:835:7: error: Resource handle 'f' freed twice. [doubleFree] VisualBoyAdvance-1.8.0/src/Util.cpp:816:3: note: Resource handle 'f' freed twice. VisualBoyAdvance-1.8.0/src/Util.cpp:835:7: note: Resource handle 'f' freed twice. VisualBoyAdvance-1.8.0/src/Util.cpp:836:7: error: Memory leak: gz [memleak] VisualBoyAdvance-1.8.0/src/Util.cpp:118:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:137:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:162:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:206:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:214:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:231:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:254:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:325:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:345:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:371:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:463:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:771:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:831:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:939:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:995:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:1033:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:1034:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:1040:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:440:9: style: The scope of the variable 'offset' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/Util.cpp:441:9: style: The scope of the variable 'len' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/Util.cpp:426:41: style:inconclusive: Function 'utilApplyIPS' argument 2 names different: declaration 'rom' definition 'r'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/src/Util.h:37:48: note: Function 'utilApplyIPS' argument 2 names different: declaration 'rom' definition 'r'. VisualBoyAdvance-1.8.0/src/Util.cpp:426:41: note: Function 'utilApplyIPS' argument 2 names different: declaration 'rom' definition 'r'. VisualBoyAdvance-1.8.0/src/Util.cpp:426:49: style:inconclusive: Function 'utilApplyIPS' argument 3 names different: declaration 'size' definition 's'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/src/Util.h:37:58: note: Function 'utilApplyIPS' argument 3 names different: declaration 'size' definition 's'. VisualBoyAdvance-1.8.0/src/Util.cpp:426:49: note: Function 'utilApplyIPS' argument 3 names different: declaration 'size' definition 's'. VisualBoyAdvance-1.8.0/src/Util.cpp:432:7: style: Local variable 'rom' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/Globals.h:64:12: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/Util.cpp:432:7: note: Shadow variable VisualBoyAdvance-1.8.0/src/Util.cpp:1035:7: style: Local variable 'saveType' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/Globals.h:47:12: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/Util.cpp:1035:7: note: Shadow variable VisualBoyAdvance-1.8.0/src/Util.cpp:1036:7: style: Local variable 'flashSize' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/Flash.h:34:12: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/Util.cpp:1036:7: note: Shadow variable VisualBoyAdvance-1.8.0/src/Util.cpp:118:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/Util.cpp:137:11: style: Variable 'pixU8' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/Util.cpp:162:12: style: Variable 'pixU32' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/Util.cpp:1002:57: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/Util.cpp:1034:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/Util.cpp:285:8: style: struct member 'Anonymous2::reserved' is never used. [unusedStructMember] VisualBoyAdvance-1.8.0/src/Util.cpp:292:8: style: struct member 'Anonymous2::compression' is never used. [unusedStructMember] VisualBoyAdvance-1.8.0/src/Util.cpp:294:8: style: struct member 'Anonymous2::hres' is never used. [unusedStructMember] VisualBoyAdvance-1.8.0/src/Util.cpp:295:8: style: struct member 'Anonymous2::vres' is never used. [unusedStructMember] VisualBoyAdvance-1.8.0/src/Util.cpp:296:8: style: struct member 'Anonymous2::colors' is never used. [unusedStructMember] VisualBoyAdvance-1.8.0/src/agbprint.cpp:40:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/agbprint.cpp:47:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/agbprint.cpp:74:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/agbprint.cpp:75:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/agbprint.cpp:77:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/agbprint.cpp:81:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/agbprint.cpp:98:3: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/Util.cpp:297:8: style: struct member 'Anonymous2::importantcolors' is never used. [unusedStructMember] VisualBoyAdvance-1.8.0/src/agbprint.cpp:85:7: style: Variable 'data' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:86:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:87:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:90:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:155:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:156:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:157:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:164:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:165:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:168:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:244:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:245:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:246:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:253:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:254:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:259:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:324:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:325:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:326:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:333:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:334:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:339:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:415:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:416:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:417:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/bilinear.cpp:37:34: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:49:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:60:34: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:72:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:110:9: style: Variable 'ar' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:111:9: style: Variable 'ag' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:112:9: style: Variable 'ab' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:113:9: style: Variable 'cr' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:114:9: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:115:9: style: Variable 'cb' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:188:9: style: Variable 'ar' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:189:9: style: Variable 'ag' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:190:9: style: Variable 'ab' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:191:9: style: Variable 'cr' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:192:9: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:193:9: style: Variable 'cb' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:279:9: style: Variable 'ar' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:280:9: style: Variable 'ag' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:281:9: style: Variable 'ab' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:282:9: style: Variable 'cr' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:283:9: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:284:9: style: Variable 'cb' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:359:9: style: Variable 'ar' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:360:9: style: Variable 'ag' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:361:9: style: Variable 'ab' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:362:9: style: Variable 'cr' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:363:9: style: Variable 'cg' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bilinear.cpp:364:9: style: Variable 'cb' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/bios.cpp:717:19: style: Local variable 'i' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/bios.cpp:710:15: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/bios.cpp:717:19: note: Shadow variable VisualBoyAdvance-1.8.0/src/bios.cpp:802:19: style: Local variable 'i' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/bios.cpp:795:15: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/bios.cpp:802:19: note: Shadow variable VisualBoyAdvance-1.8.0/src/armdis.cpp:234:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/armdis.cpp:351:35: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/armdis.cpp:366:35: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/armdis.cpp:548:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/armdis.cpp:619:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/armdis.cpp:719:25: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:741:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/elf.cpp:980:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/elf.cpp:1094:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/elf.cpp:1165:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/elf.cpp:1384:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/elf.cpp:1952:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/elf.cpp:2002:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/elf.cpp:2032:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/elf.cpp:2168:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/elf.cpp:2243:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/elf.cpp:2360:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/elf.cpp:2463:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/elf.cpp:2532:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/elf.cpp:2722:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/armdis.cpp:369:15: style: Local variable 'reg' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/GBA.h:75:17: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/armdis.cpp:369:15: note: Shadow variable VisualBoyAdvance-1.8.0/src/armdis.cpp:490:15: style: Local variable 'reg' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/GBA.h:75:17: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/armdis.cpp:490:15: note: Shadow variable VisualBoyAdvance-1.8.0/src/armdis.cpp:602:15: style: Local variable 'reg' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/GBA.h:75:17: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/armdis.cpp:602:15: note: Shadow variable VisualBoyAdvance-1.8.0/src/armdis.cpp:249:9: style: Variable 'src' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/armdis.cpp:564:9: style: Variable 'src' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/armdis.cpp:623:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/armdis.cpp:635:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/armdis.cpp:726:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/armdis.cpp:228:24: warning: Shifting 32-bit value by 4294967293 bits is undefined behaviour. See condition at line 226. [shiftTooManyBits] VisualBoyAdvance-1.8.0/src/armdis.cpp:226:13: note: Assuming that condition 'siz>0' is not redundant VisualBoyAdvance-1.8.0/src/armdis.cpp:227:5: note: Compound assignment '-=', assigned value is -3 VisualBoyAdvance-1.8.0/src/armdis.cpp:228:24: note: Shift VisualBoyAdvance-1.8.0/src/armdis.cpp:228:26: warning: Expression 'siz' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversionCond] VisualBoyAdvance-1.8.0/src/armdis.cpp:226:13: note: Assuming that condition 'siz>0' is not redundant VisualBoyAdvance-1.8.0/src/armdis.cpp:227:5: note: Compound assignment '-=', assigned value is -3 VisualBoyAdvance-1.8.0/src/armdis.cpp:228:26: note: Negative value is converted to an unsigned value VisualBoyAdvance-1.8.0/src/elf.cpp:2079:25: style: Assignment 'o->endScope=0' is redundant with condition 'o->endScope==0'. [duplicateConditionalAssign] VisualBoyAdvance-1.8.0/src/elf.cpp:2078:26: note: Condition 'o->endScope==0' VisualBoyAdvance-1.8.0/src/elf.cpp:2079:25: note: Assignment 'o->endScope=0' is redundant VisualBoyAdvance-1.8.0/src/elf.cpp:2817:6: style: Condition '!elfReadProgram(header,elfFileData,siz,parseDebug)' is always false [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/elf.cpp:2817:21: note: Calling function 'elfReadProgram' returns 1 VisualBoyAdvance-1.8.0/src/elf.cpp:2817:6: note: Condition '!elfReadProgram(header,elfFileData,siz,parseDebug)' is always false VisualBoyAdvance-1.8.0/src/elf.cpp:318:11: portability: %d in format string (no. 2) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/src/elf.cpp:1137:9: error: Common realloc mistake: 'elfFdes' nulled but not freed upon failure [memleakOnRealloc] VisualBoyAdvance-1.8.0/src/elf.cpp:2573:7: error: Common realloc mistake: 'ranges' nulled but not freed upon failure [memleakOnRealloc] VisualBoyAdvance-1.8.0/src/elf.cpp:522:23: warning: If memory allocation fails, then there is a possible null pointer dereference: state [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:624:49: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:624:26: note: Assignment 'state=(ELFFrameState*)calloc(1,sizeof(ELFFrameState))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:630:29: note: Calling function 'elfExecuteCFAInstructions', 1st argument 'state' value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:522:23: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:581:16: warning: If memory allocation fails, then there is a possible null pointer dereference: fs [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:579:46: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:579:14: note: Assignment 'fs=(ELFFrameStateRegisters*)calloc(1,sizeof(ELFFrameStateRegisters))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:581:16: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:625:3: warning: If memory allocation fails, then there is a possible null pointer dereference: state [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:624:49: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:624:26: note: Assignment 'state=(ELFFrameState*)calloc(1,sizeof(ELFFrameState))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:625:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:626:3: warning: If memory allocation fails, then there is a possible null pointer dereference: state [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:624:49: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:624:26: note: Assignment 'state=(ELFFrameState*)calloc(1,sizeof(ELFFrameState))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:626:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:627:3: warning: If memory allocation fails, then there is a possible null pointer dereference: state [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:624:49: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:624:26: note: Assignment 'state=(ELFFrameState*)calloc(1,sizeof(ELFFrameState))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:627:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:628:3: warning: If memory allocation fails, then there is a possible null pointer dereference: state [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:624:49: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:624:26: note: Assignment 'state=(ELFFrameState*)calloc(1,sizeof(ELFFrameState))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:628:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:938:9: warning: If memory allocation fails, then there is a possible null pointer dereference: attr->block [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:937:37: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:937:19: note: Assignment 'attr->block=(ELFBlock*)malloc(sizeof(ELFBlock))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:938:9: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:945:9: warning: If memory allocation fails, then there is a possible null pointer dereference: attr->block [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:944:37: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:944:19: note: Assignment 'attr->block=(ELFBlock*)malloc(sizeof(ELFBlock))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:945:9: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1011:5: warning: If memory allocation fails, then there is a possible null pointer dereference: abbrev [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1008:44: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1008:25: note: Assignment 'abbrev=(ELFAbbrev*)calloc(sizeof(ELFAbbrev),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1011:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1012:5: warning: If memory allocation fails, then there is a possible null pointer dereference: abbrev [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1008:44: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1008:25: note: Assignment 'abbrev=(ELFAbbrev*)calloc(sizeof(ELFAbbrev),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1012:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1083:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cie [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1081:37: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1081:21: note: Assignment 'cie=(ELFcie*)calloc(1,sizeof(ELFcie))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1083:7: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1086:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cie [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1081:37: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1081:21: note: Assignment 'cie=(ELFcie*)calloc(1,sizeof(ELFcie))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1086:7: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1088:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cie [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1081:37: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1081:21: note: Assignment 'cie=(ELFcie*)calloc(1,sizeof(ELFcie))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1088:7: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1169:3: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1168:57: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1168:37: note: Assignment 'l=unit->lineInfoTable=(LineInfo*)calloc(1,sizeof(LineInfo))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1169:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1171:3: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1168:57: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1168:37: note: Assignment 'l=unit->lineInfoTable=(LineInfo*)calloc(1,sizeof(LineInfo))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1171:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1188:3: warning: If memory allocation fails, then there is a possible null pointer dereference: stdOpLen [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1187:30: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1187:18: note: Assignment 'stdOpLen=(unsigned char*)malloc(opcodeBase*sizeof(unsigned char))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1188:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1191:5: warning: If memory allocation fails, then there is a possible null pointer dereference: stdOpLen [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1187:30: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1187:18: note: Assignment 'stdOpLen=(unsigned char*)malloc(opcodeBase*sizeof(unsigned char))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1191:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1204:3: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1168:57: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1168:37: note: Assignment 'l=unit->lineInfoTable=(LineInfo*)calloc(1,sizeof(LineInfo))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1204:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1207:5: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1168:57: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1168:37: note: Assignment 'l=unit->lineInfoTable=(LineInfo*)calloc(1,sizeof(LineInfo))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1207:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1225:3: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1168:57: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1168:37: note: Assignment 'l=unit->lineInfoTable=(LineInfo*)calloc(1,sizeof(LineInfo))', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1225:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1353:6: warning: If memory allocation fails, then there is a possible null pointer dereference: type [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1885:29: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1885:15: note: Assignment 't=(Type*)calloc(sizeof(Type),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1888:16: note: Calling function 'elfAddType', 1st argument 't' value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1353:6: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1406:7: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1399:31: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1399:17: note: Assignment 't=(Type*)calloc(sizeof(Type),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1406:7: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1527:7: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1525:31: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1525:17: note: Assignment 't=(Type*)calloc(sizeof(Type),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1527:7: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1561:7: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1559:31: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1559:17: note: Assignment 't=(Type*)calloc(sizeof(Type),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1561:7: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1590:7: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1588:31: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1588:17: note: Assignment 't=(Type*)calloc(sizeof(Type),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1590:7: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1664:7: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1663:31: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1663:17: note: Assignment 't=(Type*)calloc(sizeof(Type),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1664:7: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1666:7: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1663:31: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1663:17: note: Assignment 't=(Type*)calloc(sizeof(Type),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1666:7: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1735:7: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1734:31: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1734:17: note: Assignment 't=(Type*)calloc(sizeof(Type),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1735:7: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1737:7: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1734:31: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1734:17: note: Assignment 't=(Type*)calloc(sizeof(Type),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1737:7: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1800:7: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1799:31: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1799:17: note: Assignment 't=(Type*)calloc(sizeof(Type),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1800:7: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1886:5: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1885:29: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1885:15: note: Assignment 't=(Type*)calloc(sizeof(Type),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1886:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1887:5: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1885:29: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1885:15: note: Assignment 't=(Type*)calloc(sizeof(Type),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1887:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:1963:3: warning: If memory allocation fails, then there is a possible null pointer dereference: o [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:1961:31: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:1961:15: note: Assignment 'o=(Object*)calloc(sizeof(Object),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:1963:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:2480:3: warning: If memory allocation fails, then there is a possible null pointer dereference: unit [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:2479:44: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:2479:23: note: Assignment 'unit=(CompileUnit*)calloc(sizeof(CompileUnit),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:2480:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:2481:3: warning: If memory allocation fails, then there is a possible null pointer dereference: unit [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:2479:44: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:2479:23: note: Assignment 'unit=(CompileUnit*)calloc(sizeof(CompileUnit),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:2481:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:2482:3: warning: If memory allocation fails, then there is a possible null pointer dereference: unit [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:2479:44: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:2479:23: note: Assignment 'unit=(CompileUnit*)calloc(sizeof(CompileUnit),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:2482:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:2483:3: warning: If memory allocation fails, then there is a possible null pointer dereference: unit [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:2479:44: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:2479:23: note: Assignment 'unit=(CompileUnit*)calloc(sizeof(CompileUnit),1)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:2483:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:2803:9: warning: If memory allocation fails, then there is a possible null pointer dereference: elfFileData [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/elf.cpp:2801:29: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/elf.cpp:2801:17: note: Assignment 'elfFileData=(unsigned char*)malloc(size)', assigned value is 0 VisualBoyAdvance-1.8.0/src/elf.cpp:2803:9: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/elf.cpp:579:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:624:26: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:682:26: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:823:28: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:864:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:871:45: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:929:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:937:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:944:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1003:25: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1008:25: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1024:25: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1063:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1081:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1110:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1137:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1152:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1168:39: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1171:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1187:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1204:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1222:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1303:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1399:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1405:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1443:30: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1525:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1559:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1588:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1663:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1665:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1698:28: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1734:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1736:25: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1798:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1799:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1831:33: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1885:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:1961:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2179:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2479:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2537:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2540:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2557:28: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2573:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2583:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2585:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2587:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2589:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2592:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2603:29: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2606:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2607:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2618:29: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2621:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2622:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2632:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2635:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2639:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2642:28: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2644:8: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2645:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2652:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2653:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2654:25: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2655:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2656:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2657:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2660:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2661:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2662:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2663:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2664:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2665:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2673:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2674:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2676:27: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2680:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2682:8: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2683:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2686:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2687:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2688:45: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2700:8: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2702:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2703:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2704:27: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2705:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2706:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2707:28: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2710:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2711:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2712:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2713:25: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2714:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2715:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2736:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2744:25: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2751:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2801:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2806:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2808:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/elf.cpp:2809:6: style: C-style pointer casting [cstyleCast] expr-lex.cpp:567:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] expr-lex.cpp:1128:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] expr-lex.cpp:1479:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/elf.cpp:1395:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] VisualBoyAdvance-1.8.0/src/elf.cpp:1522:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] VisualBoyAdvance-1.8.0/src/elf.cpp:1556:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] VisualBoyAdvance-1.8.0/src/elf.cpp:1585:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] VisualBoyAdvance-1.8.0/src/elf.cpp:1614:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] VisualBoyAdvance-1.8.0/src/elf.cpp:1637:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] VisualBoyAdvance-1.8.0/src/elf.cpp:1660:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] VisualBoyAdvance-1.8.0/src/elf.cpp:1731:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] VisualBoyAdvance-1.8.0/src/elf.cpp:1793:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] VisualBoyAdvance-1.8.0/src/elf.cpp:1868:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] VisualBoyAdvance-1.8.0/src/elf.cpp:1232:9: style: The scope of the variable 'col' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/elf.cpp:1234:9: style: The scope of the variable 'basicBlock' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/elf.cpp:2183:8: style: The scope of the variable 'mangled' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/elf.cpp:404:66: style:inconclusive: Function 'elfGetCurrentFunction' argument 3 names different: declaration 'c' definition 'u'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/src/elf.h:276:67: note: Function 'elfGetCurrentFunction' argument 3 names different: declaration 'c' definition 'u'. VisualBoyAdvance-1.8.0/src/elf.cpp:404:66: note: Function 'elfGetCurrentFunction' argument 3 names different: declaration 'c' definition 'u'. VisualBoyAdvance-1.8.0/src/elf.cpp:2177:33: style:inconclusive: Function 'elfParseFunction' argument 4 names different: declaration 'function' definition 'f'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/src/elf.cpp:1348:33: note: Function 'elfParseFunction' argument 4 names different: declaration 'function' definition 'f'. VisualBoyAdvance-1.8.0/src/elf.cpp:2177:33: note: Function 'elfParseFunction' argument 4 names different: declaration 'function' definition 'f'. VisualBoyAdvance-1.8.0/src/elf.cpp:519:7: style: Local variable 'reg' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/GBA.h:75:17: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/elf.cpp:519:7: note: Shadow variable VisualBoyAdvance-1.8.0/src/elf.cpp:672:11: style: Local variable 'addr' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/elf.cpp:652:11: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/elf.cpp:672:11: note: Shadow variable VisualBoyAdvance-1.8.0/src/elf.cpp:780:13: style: Local variable 'bytes' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/elf.cpp:748:7: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/elf.cpp:780:13: note: Shadow variable VisualBoyAdvance-1.8.0/src/elf.cpp:1834:23: style: Local variable 'i' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/elf.cpp:1797:11: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/elf.cpp:1834:23: note: Shadow variable VisualBoyAdvance-1.8.0/src/elf.cpp:1885:11: style: Local variable 't' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/elf.cpp:1877:9: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/elf.cpp:1885:11: note: Shadow variable VisualBoyAdvance-1.8.0/src/elf.cpp:2562:11: style: Local variable 'len' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/elf.cpp:2545:9: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/elf.cpp:2562:11: note: Shadow variable VisualBoyAdvance-1.8.0/src/elf.cpp:2773:15: style: Local variable 'i' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/elf.cpp:2633:7: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/elf.cpp:2773:15: note: Shadow variable VisualBoyAdvance-1.8.0/src/elf.cpp:1079:7: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] VisualBoyAdvance-1.8.0/src/elf.cpp:270:18: style: Variable 'r' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/elf.cpp:296:15: style: Variable 'name' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/elf.cpp:314:15: style: Variable 'name' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/elf.cpp:335:43: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/elf.cpp:343:13: style: Variable 'found' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/elf.cpp:422:25: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/elf.cpp:483:32: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/elf.cpp:487:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/elf.cpp:517:7: style: Variable 'end' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/elf.cpp:652:11: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/elf.cpp:674:32: style: Variable 'r' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/elf.cpp:801:23: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/elf.cpp:810:23: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/elf.cpp:827:29: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/elf.cpp:846:23: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/elf.cpp:867:45: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/elf.cpp:887:43: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/elf.cpp:889:7: style: Variable 'end' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/elf.cpp:1061:7: style: Variable 'topOffset' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/elf.cpp:1063:7: style: Variable 'end' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/elf.cpp:1177:7: style: Variable 'end' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/elf.cpp:2537:7: style: Variable 'end' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/elf.cpp:2752:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/elf.cpp:1079:12: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] expr-lex.cpp:913:48: style: C-style pointer casting [cstyleCast] expr-lex.cpp:915:58: style: C-style pointer casting [cstyleCast] expr-lex.cpp:1146:14: style: C-style pointer casting [cstyleCast] expr-lex.cpp:1223:14: style: C-style pointer casting [cstyleCast] expr-lex.cpp:1232:24: style: C-style pointer casting [cstyleCast] expr-lex.cpp:1258:31: style: C-style pointer casting [cstyleCast] expr-lex.cpp:1260:23: style: C-style pointer casting [cstyleCast] expr-lex.cpp:1339:14: style: C-style pointer casting [cstyleCast] expr-lex.cpp:1393:15: style: C-style pointer casting [cstyleCast] expr-lex.cpp:1561:34: style: C-style pointer casting [cstyleCast] expr.l:36:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] expr.l:43:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] expr.l:50:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] expr.l:57:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] expr.l:64:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] expr.l:71:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] expr.l:78:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] expr-lex.cpp:1009:54: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] expr-lex.cpp:277:39: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. expr-lex.cpp:1009:54: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. expr-lex.cpp:1039:44: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] expr-lex.cpp:414:21: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. expr-lex.cpp:1039:44: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. VisualBoyAdvance-1.8.0/src/elf.cpp:841:19: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 840. [shiftTooManyBitsSigned] VisualBoyAdvance-1.8.0/src/elf.cpp:840:13: note: Assuming that condition 'shift<32' is not redundant VisualBoyAdvance-1.8.0/src/elf.cpp:841:19: note: Shift expr-lex.cpp:845:24: style: Variable 'source' can be declared as pointer to const [constVariablePointer] expr-lex.cpp:1057:32: style: Variable 'source' can be declared as pointer to const [constVariablePointer] expr-lex.cpp:934:37: style: Variable 'num_to_read' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/elf.cpp:2756:23: style: Variable 'unit' is assigned a value that is never used. [unreadVariable] expr.y:73:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] expr.y:32:10: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] /usr/lib/bison.simple:375:14: style: C-style pointer casting [cstyleCast] /usr/lib/bison.simple:376:20: style: C-style pointer casting [cstyleCast] /usr/lib/bison.simple:376:34: style: C-style pointer casting [cstyleCast] /usr/lib/bison.simple:378:14: style: C-style pointer casting [cstyleCast] /usr/lib/bison.simple:379:20: style: C-style pointer casting [cstyleCast] /usr/lib/bison.simple:379:34: style: C-style pointer casting [cstyleCast] expr.y:59:19: style: Parameter 's' can be declared as pointer to const [constParameterPointer] /usr/lib/bison.simple:206:18: style: Variable 'f' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/exprNode.cpp:105:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/src/exprNode.cpp:287:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/src/exprNode.cpp:289:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/src/exprNode.cpp:57:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:56:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:56:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:57:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:59:17: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:56:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:56:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:59:17: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:62:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:56:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:56:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:62:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:63:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:56:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:56:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:63:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:90:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:87:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:87:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:90:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:91:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:87:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:87:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:91:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:92:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:87:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:87:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:92:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:93:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:87:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:87:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:93:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:94:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:87:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:87:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:94:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:113:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:110:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:110:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:113:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:115:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:110:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:110:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:115:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:116:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:110:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:110:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:116:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:153:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:150:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:150:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:153:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:154:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:150:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:150:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:154:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:156:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:150:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:150:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:156:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:157:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:150:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:150:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:157:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:210:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:207:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:207:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:210:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:211:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:207:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:207:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:211:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:213:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:207:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:207:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:213:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:214:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:207:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:207:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:214:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:272:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:269:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:269:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:272:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:274:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:269:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:269:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:274:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:275:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:269:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:269:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:275:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:307:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:304:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:304:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:307:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:309:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:304:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:304:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:309:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:310:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:304:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:304:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:310:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:337:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:334:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:334:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:337:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:338:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:334:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:334:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:338:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:340:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:334:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:334:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:340:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:341:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/exprNode.cpp:334:27: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/exprNode.cpp:334:13: note: Assignment 'n=(Node*)calloc(1,sizeof(Node))', assigned value is 0 VisualBoyAdvance-1.8.0/src/exprNode.cpp:341:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/exprNode.cpp:56:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/exprNode.cpp:87:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/exprNode.cpp:110:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/exprNode.cpp:126:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/exprNode.cpp:150:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/exprNode.cpp:207:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/exprNode.cpp:230:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/exprNode.cpp:269:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/exprNode.cpp:304:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/exprNode.cpp:334:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/exprNode.cpp:401:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/exprNode.cpp:80:36: style: Parameter 'n' can be declared as pointer to const. However it seems that 'exprNodeIdentifierPrint' is a callback function, if 'n' is declared with const you might also need to cast function pointer(s). [constParameterCallback] VisualBoyAdvance-1.8.0/src/exprNode.cpp:62:14: note: You might need to cast the function pointer here VisualBoyAdvance-1.8.0/src/exprNode.cpp:80:36: note: Parameter 'n' can be declared as pointer to const VisualBoyAdvance-1.8.0/src/exprNode.cpp:98:34: style: Parameter 'n' can be declared as pointer to const. However it seems that 'exprNodeNumberResolve' is a callback function, if 'n' is declared with const you might also need to cast function pointer(s). [constParameterCallback] VisualBoyAdvance-1.8.0/src/exprNode.cpp:94:16: note: You might need to cast the function pointer here VisualBoyAdvance-1.8.0/src/exprNode.cpp:98:34: note: Parameter 'n' can be declared as pointer to const VisualBoyAdvance-1.8.0/src/exprNode.cpp:98:47: style: Parameter 'f' can be declared as pointer to const. However it seems that 'exprNodeNumberResolve' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] VisualBoyAdvance-1.8.0/src/exprNode.cpp:94:16: note: You might need to cast the function pointer here VisualBoyAdvance-1.8.0/src/exprNode.cpp:98:47: note: Parameter 'f' can be declared as pointer to const VisualBoyAdvance-1.8.0/src/exprNode.cpp:98:63: style: Parameter 'u' can be declared as pointer to const. However it seems that 'exprNodeNumberResolve' is a callback function, if 'u' is declared with const you might also need to cast function pointer(s). [constParameterCallback] VisualBoyAdvance-1.8.0/src/exprNode.cpp:94:16: note: You might need to cast the function pointer here VisualBoyAdvance-1.8.0/src/exprNode.cpp:98:63: note: Parameter 'u' can be declared as pointer to const VisualBoyAdvance-1.8.0/src/exprNode.cpp:103:32: style: Parameter 'n' can be declared as pointer to const. However it seems that 'exprNodeNumberPrint' is a callback function, if 'n' is declared with const you might also need to cast function pointer(s). [constParameterCallback] VisualBoyAdvance-1.8.0/src/exprNode.cpp:93:14: note: You might need to cast the function pointer here VisualBoyAdvance-1.8.0/src/exprNode.cpp:103:32: note: Parameter 'n' can be declared as pointer to const VisualBoyAdvance-1.8.0/src/exprNode.cpp:332:38: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/gb/gbCheats.cpp:163:3: error: Resource leak: f [resourceLeak] VisualBoyAdvance-1.8.0/src/gb/gbCheats.cpp:44:3: portability:inconclusive: Array 'gbCheatMap' might be filled incompletely. Did you forget to multiply the size given to 'memset()' with 'sizeof(*gbCheatMap)'? [incompleteArrayFill] VisualBoyAdvance-1.8.0/src/gb/gbCheats.cpp:180:15: style: Variable 'address' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/gbCheats.cpp:180:7: style: Variable 'address' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/gbCheats.cpp:295:11: style: Variable 'compare' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/gbCheats.cpp:296:11: style: Variable 'compare' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/gbCheats.cpp:465:17: style: Variable 'address' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/gbDis.cpp:148:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/gb/gbDis.cpp:166:9: style: Variable 'mnen' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:162:29: style: Condition '!gbCgbMode' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:158:14: note: Assuming that condition 'gbCgbMode' is not redundant VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:162:29: note: Condition '!gbCgbMode' is always true VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:359:33: style: Condition '!gbCgbMode' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:355:18: note: Assuming that condition 'gbCgbMode' is not redundant VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:359:33: note: Condition '!gbCgbMode' is always true VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:530:23: style: Condition '!gbCgbMode' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:525:8: note: Assuming that condition 'gbCgbMode' is not redundant VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:530:23: note: Condition '!gbCgbMode' is always true VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:428:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:431:7: note: Found duplicate branches for 'if' and 'else'. VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:428:5: note: Found duplicate branches for 'if' and 'else'. VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:215:30: style: Variable 'tile_pattern_address' is reassigned a value before the old one has been used. [redundantAssignment] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:201:30: note: tile_pattern_address is assigned VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:215:30: note: tile_pattern_address is overwritten VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:239:11: style: The scope of the variable 'i' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:251:11: style: The scope of the variable 'wy' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:259:13: style: The scope of the variable 'swx' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:552:7: style: The scope of the variable 'x' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:553:7: style: The scope of the variable 'y' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:554:7: style: The scope of the variable 'count' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:307:14: style: Local variable 'attrs' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:110:6: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:307:14: note: Shadow variable VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:67:8: style: Variable 'bank0' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:68:8: style: Variable 'bank1' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:425:8: style: Variable 'bank0' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:426:8: style: Variable 'bank1' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:447:7: style: Variable 'pal' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:116:19: style: Variable 'tile_map_address' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:205:26: style: Variable 'tile_map_address' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:239:13: style: Variable 'i' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:310:27: style: Variable 'tile_map_address' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:552:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/gbGfx.cpp:553:9: style: Variable 'y' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3729:9: warning: Return value of function gzseek() is not used. [ignoredReturnValue] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3294:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3320:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:898:27: style: The if condition is the same as the previous if condition [duplicateCondition] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:873:27: note: First condition VisualBoyAdvance-1.8.0/src/gb/GB.cpp:898:27: note: Second condition VisualBoyAdvance-1.8.0/src/gb/GB.cpp:1052:17: style: Condition '!gbInt48Signal' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:1041:27: note: Assignment 'gbInt48Signal=0', assigned value is 0 VisualBoyAdvance-1.8.0/src/gb/GB.cpp:1052:17: note: Condition '!gbInt48Signal' is always true VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4066:5: error: Common realloc mistake: 'gbRom' nulled but not freed upon failure [memleakOnRealloc] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4084:5: error: Common realloc mistake: 'gbRom' nulled but not freed upon failure [memleakOnRealloc] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2764:14: warning: If resource allocation fails, then there is a possible null pointer dereference: gzFile [nullPointerOutOfResources] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2745:25: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2745:25: note: Assignment 'gzFile=fopen(name,"wb")', assigned value is 0 VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2746:9: note: Assuming condition is false VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2764:14: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2766:12: warning: If resource allocation fails, then there is a possible null pointer dereference: gzFile [nullPointerOutOfResources] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2745:25: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2745:25: note: Assignment 'gzFile=fopen(name,"wb")', assigned value is 0 VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2746:9: note: Assuming condition is false VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2766:12: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4125:12: warning: If memory allocation fails, then there is a possible null pointer dereference: gbRam [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4124:25: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4124:13: note: Assignment 'gbRam=(unsigned char*)malloc(gbRamSize)', assigned value is 0 VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4125:12: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4233:12: warning: If memory allocation fails, then there is a possible null pointer dereference: gbRam [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4232:25: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4232:13: note: Assignment 'gbRam=(unsigned char*)malloc(gbRamSize)', assigned value is 0 VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4233:12: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4239:12: warning: If memory allocation fails, then there is a possible null pointer dereference: gbTAMA5ram [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4238:32: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4238:20: note: Assignment 'gbTAMA5ram=(unsigned char*)malloc(gbTAMA5ramSize)', assigned value is 0 VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4239:12: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/gb/GB.cpp:1337:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:1337:38: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2169:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2171:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2244:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2244:41: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2421:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2421:33: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2422:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2422:33: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3220:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3222:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3224:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3658:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3660:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3746:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3746:31: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3747:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3747:31: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4052:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4066:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4084:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4124:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4232:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4238:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4329:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4361:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4365:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4367:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4369:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4371:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4374:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4376:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4378:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4380:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4383:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4385:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4387:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4389:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4392:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4394:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4396:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4398:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4406:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbCodes.h:246:36: style: Same expression on both sides of '^'. [duplicateExpression] VisualBoyAdvance-1.8.0/src/gb/gbCodes.h:364:11: style: Redundant assignment of 'BC.B.B1' to itself. [selfAssignment] VisualBoyAdvance-1.8.0/src/gb/gbCodes.h:400:11: style: Redundant assignment of 'BC.B.B0' to itself. [selfAssignment] VisualBoyAdvance-1.8.0/src/gb/gbCodes.h:436:11: style: Redundant assignment of 'DE.B.B1' to itself. [selfAssignment] VisualBoyAdvance-1.8.0/src/gb/gbCodes.h:472:11: style: Redundant assignment of 'DE.B.B0' to itself. [selfAssignment] VisualBoyAdvance-1.8.0/src/gb/gbCodes.h:508:11: style: Redundant assignment of 'HL.B.B1' to itself. [selfAssignment] VisualBoyAdvance-1.8.0/src/gb/gbCodes.h:544:11: style: Redundant assignment of 'HL.B.B0' to itself. [selfAssignment] VisualBoyAdvance-1.8.0/src/gb/gbCodes.h:634:11: style: Redundant assignment of 'AF.B.B1' to itself. [selfAssignment] VisualBoyAdvance-1.8.0/src/gb/gbCodes.h:690:15: style: Same expression on both sides of '^'. [duplicateExpression] VisualBoyAdvance-1.8.0/src/gb/gbCodes.h:746:15: style: Same expression on both sides of '^'. [duplicateExpression] VisualBoyAdvance-1.8.0/src/gb/gbCodes.h:856:26: style: Same expression on both sides of '-'. [duplicateExpression] VisualBoyAdvance-1.8.0/src/gb/gbCodes.h:858:15: style: Same expression on both sides of '^'. [duplicateExpression] VisualBoyAdvance-1.8.0/src/gb/gbCodes.h:899:11: style: Same expression on both sides of '&='. [duplicateExpression] VisualBoyAdvance-1.8.0/src/gb/gbCodes.h:981:11: style: Same expression on both sides of '|='. [duplicateExpression] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2592:13: style: Variable 'gbTimerOn' is reassigned a value before the old one has been used. [redundantAssignment] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2451:13: note: gbTimerOn is assigned VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2592:13: note: gbTimerOn is overwritten VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3311:11: style: Variable 'res' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3308:11: note: $symbol is assigned VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3311:11: note: $symbol is overwritten VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3352:11: style: Variable 'res' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3314:11: note: $symbol is assigned VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3352:11: note: $symbol is overwritten VisualBoyAdvance-1.8.0/src/gb/GB.cpp:5151:22: style: Variable 'gbMemory[0xff41]' is reassigned a value before the old one has been used. [redundantAssignment] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:5035:24: note: gbMemory[0xff41] is assigned VisualBoyAdvance-1.8.0/src/gb/GB.cpp:5151:22: note: gbMemory[0xff41] is overwritten VisualBoyAdvance-1.8.0/src/gb/GB.cpp:1329:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3617:8: style: The scope of the variable 'ub' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2454:14: style: Local variable 'i' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2312:7: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2454:14: note: Shadow variable VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2572:15: style: Local variable 'i' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2312:7: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2572:15: note: Shadow variable VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2576:13: style: Local variable 'i' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2312:7: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2576:13: note: Shadow variable VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4754:23: style: Local variable 'inUseRegister_WY' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:180:5: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4754:23: note: Shadow variable VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:478:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:482:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:486:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:490:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:494:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:498:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:503:53: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:507:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:511:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:515:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:519:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:523:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:527:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:531:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:536:53: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:540:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:544:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:548:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:552:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:556:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:560:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:564:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:569:53: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:573:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:577:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:581:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:585:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:589:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:593:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:597:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:602:53: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:606:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:610:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:614:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:618:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:622:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:626:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:630:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:635:53: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:639:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:643:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:647:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:651:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:655:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:659:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:663:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:668:53: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:672:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:676:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:680:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:684:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:688:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:692:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:696:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:701:53: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:705:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:709:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:713:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:717:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:721:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:725:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:729:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:734:53: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/gbCodesCB.h:738:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:621:28: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:624:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3319:20: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2226:12: warning: Size of pointer 'gbLineBuffer' used instead of size of its data. [pointerSize] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2229:12: warning: Size of pointer 'pix' used instead of size of its data. [pointerSize] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3609:28: error: Uninitialized variable: romname [uninitvar] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3398:10: style: Variable 'read' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3399:12: style: Variable 'toRead' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3403:10: style: Variable 'read' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3404:12: style: Variable 'toRead' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4764:26: style: Variable 'wy' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4764:23: style: Variable 'wy' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:776:14: style: Condition 'gbSgbMultiplayer' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:61:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:110:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:111:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:137:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:147:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:159:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:209:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:210:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:211:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:311:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:314:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:341:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:345:24: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:349:24: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:361:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:364:26: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:385:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:388:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:391:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:394:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:554:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:708:25: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:711:25: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:714:25: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:717:25: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:798:24: style: Variable 'gbSgbPacketTimeout' is reassigned a value before the old one has been used. [redundantAssignment] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:771:26: note: gbSgbPacketTimeout is assigned VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:798:24: note: gbSgbPacketTimeout is overwritten VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:88:3: warning:inconclusive: Array 'gbSgbSCPPalette' is filled incompletely. Did you forget to multiply the size given to 'memset()' with 'sizeof(*gbSgbSCPPalette)'? [incompleteArrayFill] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:258:11: style: Local variable 'c' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:235:8: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:258:11: note: Shadow variable VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:213:7: style: Variable 'tileAddress' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:214:7: style: Variable 'tileAddress2' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:292:9: style: Variable 'fromAddress' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:412:7: style: Variable 'fromAddress' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:526:7: style: Variable 'fromAddress' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:562:7: style: Variable 'fromAddress' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:612:7: style: Variable 'fromAddress' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/gbSGB.cpp:285:10: style: Variable 'mask' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/gbMemory.cpp:877:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gb/gbMemory.cpp:1105:8: style: The scope of the variable 'p' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/gb/gbMemory.cpp:1681:7: style: The scope of the variable 'tmpAddress' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/gb/gbMemory.cpp:1304:13: style: Variable 'test' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gb/gbMemory.cpp:1659:7: style: Variable 'tmpAddress' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/getopt.c:686:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/getopt.c:781:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gb/gbSound.cpp:497:11: style: Variable 'value' is reassigned a value before the old one has been used. [redundantAssignment] VisualBoyAdvance-1.8.0/src/gb/gbSound.cpp:492:11: note: value is assigned VisualBoyAdvance-1.8.0/src/gb/gbSound.cpp:497:11: note: value is overwritten VisualBoyAdvance-1.8.0/src/gb/gbSound.cpp:366:7: style: The scope of the variable 'freq' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/gb/gbSound.cpp:366:12: style: Variable 'freq' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/gtk/input.h:85:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gtk/input.cpp:43:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gtk/input.cpp:44:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gtk/configfile.h:45:3: style: Class 'SectionNotFound' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] VisualBoyAdvance-1.8.0/src/gtk/configfile.h:130:3: style: Class 'File' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] VisualBoyAdvance-1.8.0/src/gtk/configfile.h:49:12: style: The destructor '~SectionNotFound' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/src/gtk/configfile.h:36:12: note: Virtual destructor in base class VisualBoyAdvance-1.8.0/src/gtk/configfile.h:49:12: note: Destructor in derived class VisualBoyAdvance-1.8.0/src/gtk/configfile.h:65:12: style: The destructor '~KeyNotFound' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/src/gtk/configfile.h:36:12: note: Virtual destructor in base class VisualBoyAdvance-1.8.0/src/gtk/configfile.h:65:12: note: Destructor in derived class VisualBoyAdvance-1.8.0/src/gtk/configfile.h:51:22: performance: Function 'sGetName()' should return member 'm_sName' by const reference. [returnByReference] VisualBoyAdvance-1.8.0/src/gtk/configfile.h:67:22: performance: Function 'sGetSection()' should return member 'm_sSection' by const reference. [returnByReference] VisualBoyAdvance-1.8.0/src/gtk/configfile.h:68:22: performance: Function 'sGetKey()' should return member 'm_sKey' by const reference. [returnByReference] VisualBoyAdvance-1.8.0/src/gtk/configfile.h:89:22: performance: Function 'sGetName()' should return member 'm_sName' by const reference. [returnByReference] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:240:63: style:inconclusive: Function 'operator<<' argument 2 names different: declaration '_roConfig' definition '_roFile'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/src/gtk/configfile.h:166:63: note: Function 'operator<<' argument 2 names different: declaration '_roConfig' definition '_roFile'. VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:240:63: note: Function 'operator<<' argument 2 names different: declaration '_roConfig' definition '_roFile'. VisualBoyAdvance-1.8.0/src/gtk/configfile.h:191:5: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:76:5: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] VisualBoyAdvance-1.8.0/src/gtk/configfile.h:173:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] VisualBoyAdvance-1.8.0/src/gtk/configfile.h:188:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:48:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:60:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:73:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:85:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:110:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:123:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:140:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:152:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:219:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:226:10: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:244:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:251:10: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] VisualBoyAdvance-1.8.0/src/gtk/intl.h:24:0: error: #error "GETTEXT_PACKAGE must be defined" [preprocessorErrorDirective] VisualBoyAdvance-1.8.0/src/gtk/intl.h:24:3: error: #error "GETTEXT_PACKAGE must be defined" [preprocessorErrorDirective] VisualBoyAdvance-1.8.0/src/gtk/screenarea.cpp:40:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXPOSURE_MASK [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/gtk/screenarea.cpp:255:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RGB_DITHER_MAX [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/gtk/screenarea.cpp:120:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gtk/screenarea.cpp:136:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gtk/screenarea.cpp:143:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gtk/screenarea.cpp:238:28: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/gtk/screenarea.cpp:120:11: style: Variable 'puiSrc' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/gtk/screenarea.cpp:172:9: style: Variable 'puiEnd' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/interframe.cpp:42:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:44:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:46:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:194:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:195:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:196:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:197:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:353:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:354:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:355:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:356:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:467:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:468:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:565:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:566:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/interframe.cpp:195:8: style: Variable 'src1' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/interframe.cpp:196:8: style: Variable 'src2' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/interframe.cpp:354:8: style: Variable 'src1' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/interframe.cpp:355:8: style: Variable 'src2' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/memgzio.c:286:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/memgzio.c:331:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/memgzio.c:368:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/memgzio.c:489:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/memgzio.c:641:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/memgzio.c:428:36: style: Condition 'memClose(s->file)' is always false [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/memgzio.c:428:36: note: Calling function 'memClose' returns 0 VisualBoyAdvance-1.8.0/src/memgzio.c:428:36: note: Condition 'memClose(s->file)' is always false VisualBoyAdvance-1.8.0/src/memgzio.c:89:3: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/memgzio.c:87:24: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/memgzio.c:87:7: note: Assignment 'f=(struct MEMFILE*)malloc(sizeof(struct MEMFILE))', assigned value is 0 VisualBoyAdvance-1.8.0/src/memgzio.c:89:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/memgzio.c:90:3: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/memgzio.c:87:24: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/memgzio.c:87:7: note: Assignment 'f=(struct MEMFILE*)malloc(sizeof(struct MEMFILE))', assigned value is 0 VisualBoyAdvance-1.8.0/src/memgzio.c:90:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/memgzio.c:91:3: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/memgzio.c:87:24: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/memgzio.c:87:7: note: Assignment 'f=(struct MEMFILE*)malloc(sizeof(struct MEMFILE))', assigned value is 0 VisualBoyAdvance-1.8.0/src/memgzio.c:91:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/memgzio.c:94:5: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/memgzio.c:87:24: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/memgzio.c:87:7: note: Assignment 'f=(struct MEMFILE*)malloc(sizeof(struct MEMFILE))', assigned value is 0 VisualBoyAdvance-1.8.0/src/memgzio.c:94:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/memgzio.c:95:5: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/memgzio.c:87:24: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/memgzio.c:87:7: note: Assignment 'f=(struct MEMFILE*)malloc(sizeof(struct MEMFILE))', assigned value is 0 VisualBoyAdvance-1.8.0/src/memgzio.c:95:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/memgzio.c:107:5: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/memgzio.c:87:24: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/memgzio.c:87:7: note: Assignment 'f=(struct MEMFILE*)malloc(sizeof(struct MEMFILE))', assigned value is 0 VisualBoyAdvance-1.8.0/src/memgzio.c:102:65: note: Assuming condition is false VisualBoyAdvance-1.8.0/src/memgzio.c:107:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/memgzio.c:108:5: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/memgzio.c:87:24: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/memgzio.c:87:7: note: Assignment 'f=(struct MEMFILE*)malloc(sizeof(struct MEMFILE))', assigned value is 0 VisualBoyAdvance-1.8.0/src/memgzio.c:102:65: note: Assuming condition is false VisualBoyAdvance-1.8.0/src/memgzio.c:108:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/memgzio.c:171:29: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/memgzio.c:176:29: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/memgzio.c:220:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/memgzio.c:452:12: style: Variable 'start' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/motionblur.cpp:33:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/motionblur.cpp:34:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/motionblur.cpp:35:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/motionblur.cpp:36:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/motionblur.cpp:42:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/motionblur.cpp:111:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/motionblur.cpp:131:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/motionblur.cpp:132:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/motionblur.cpp:133:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/motionblur.cpp:134:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/motionblur.cpp:140:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/motionblur.cpp:184:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/motionblur.cpp:26:18: style: The scope of the variable 'finish' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/motionblur.cpp:37:9: style: The scope of the variable 'currentPixel' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/motionblur.cpp:39:9: style: The scope of the variable 'currentDelta' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/motionblur.cpp:124:18: style: The scope of the variable 'finish' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/motionblur.cpp:135:9: style: The scope of the variable 'currentPixel' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/motionblur.cpp:137:9: style: The scope of the variable 'currentDelta' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/motionblur.cpp:26:18: style: Variable 'finish' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/motionblur.cpp:124:18: style: Variable 'finish' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/pixel.cpp:32:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/pixel.cpp:33:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/pixel.cpp:34:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/pixel.cpp:35:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/pixel.cpp:41:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/pixel.cpp:89:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/pixel.cpp:108:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/pixel.cpp:110:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/pixel.cpp:111:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/pixel.cpp:115:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/pixel.cpp:143:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/pixel.cpp:26:18: style: The scope of the variable 'finish' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/pixel.cpp:36:9: style: The scope of the variable 'currentPixel' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/pixel.cpp:38:9: style: The scope of the variable 'currentDelta' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/pixel.cpp:102:18: style: The scope of the variable 'finish' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/pixel.cpp:112:9: style: The scope of the variable 'currentPixel' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/pixel.cpp:26:18: style: Variable 'finish' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/pixel.cpp:102:18: style: Variable 'finish' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/pixel.cpp:75:16: style: Variable 'colorA' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/pixel.cpp:134:14: style: Variable 'colorA' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/hq2x.cpp:490:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/hq2x.cpp:493:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/hq2x.cpp:519:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/hq2x.cpp:522:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/hq2x.cpp:547:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/hq2x.cpp:550:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/hq2x.cpp:576:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/hq2x.cpp:579:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:328:37: warning: Either the condition 'seg' is redundant or there is possible null pointer dereference: seg. [nullPointerRedundantCheck] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:320:9: note: Assuming that condition 'seg' is not redundant VisualBoyAdvance-1.8.0/src/prof/prof.cpp:328:37: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/prof/prof.cpp:144:30: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:163:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:168:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:181:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:224:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:250:24: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:256:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:303:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:306:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:323:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:210:7: style: The scope of the variable 'endfrom' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:415:23: style:inconclusive: Function 'profSetHertz' argument 1 names different: declaration 'hertz' definition 'h'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/src/prof/prof.h:50:30: note: Function 'profSetHertz' argument 1 names different: declaration 'hertz' definition 'h'. VisualBoyAdvance-1.8.0/src/prof/prof.cpp:415:23: note: Function 'profSetHertz' argument 1 names different: declaration 'hertz' definition 'h'. VisualBoyAdvance-1.8.0/src/prof/prof.cpp:108:30: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:250:10: style: Variable 'hist_sample' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:172:12: style: Variable 'buffer' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/prof/prof.cpp:186:12: style: Variable 'buffer' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/remote.cpp:98:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/remote.cpp:164:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/remote.cpp:192:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/remote.cpp:449:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/remote.cpp:583:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/remote.cpp:115:17: style: Condition 'count<3' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/remote.cpp:114:17: note: Assignment 'count=0', assigned value is 0 VisualBoyAdvance-1.8.0/src/remote.cpp:115:17: note: Condition 'count<3' is always true VisualBoyAdvance-1.8.0/src/remote.cpp:121:14: style: Condition 'count==3' is always false [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/remote.cpp:114:17: note: Assignment 'count=0', assigned value is 0 VisualBoyAdvance-1.8.0/src/remote.cpp:121:14: note: Condition 'count==3' is always false VisualBoyAdvance-1.8.0/src/remote.cpp:466:21: style: Condition 'address<0x3008000' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/remote.cpp:451:37: note: Assuming that condition 'address>0x3007fff' is not redundant VisualBoyAdvance-1.8.0/src/remote.cpp:456:26: note: Assuming condition is false VisualBoyAdvance-1.8.0/src/remote.cpp:466:21: note: Condition 'address<0x3008000' is always true VisualBoyAdvance-1.8.0/src/remote.cpp:352:3: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] VisualBoyAdvance-1.8.0/src/remote.cpp:379:3: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] VisualBoyAdvance-1.8.0/src/remote.cpp:407:3: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] VisualBoyAdvance-1.8.0/src/remote.cpp:447:3: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] VisualBoyAdvance-1.8.0/src/remote.cpp:524:3: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] VisualBoyAdvance-1.8.0/src/remote.cpp:102:46: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/remote.cpp:116:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/remote.cpp:139:27: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/remote.cpp:390:26: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] VisualBoyAdvance-1.8.0/src/remote.cpp:542:26: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] VisualBoyAdvance-1.8.0/src/remote.cpp:76:25: style: Parameter 'data' can be declared as pointer to const. However it seems that 'remoteTcpSend' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] VisualBoyAdvance-1.8.0/src/remote.cpp:211:21: note: You might need to cast the function pointer here VisualBoyAdvance-1.8.0/src/remote.cpp:76:25: note: Parameter 'data' can be declared as pointer to const VisualBoyAdvance-1.8.0/src/remote.cpp:175:26: style: Parameter 'data' can be declared as pointer to const. However it seems that 'remotePipeSend' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] VisualBoyAdvance-1.8.0/src/remote.cpp:216:21: note: You might need to cast the function pointer here VisualBoyAdvance-1.8.0/src/remote.cpp:175:26: note: Parameter 'data' can be declared as pointer to const VisualBoyAdvance-1.8.0/src/remote.cpp:229:28: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/remote.cpp:231:9: style: Variable 'hex' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/remote.cpp:280:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/remote.cpp:348:30: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/remote.cpp:375:30: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/remote.cpp:403:29: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/remote.cpp:423:32: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/remote.cpp:443:29: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/remote.cpp:520:32: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/scanline.cpp:31:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:32:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:33:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:37:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:67:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:84:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:85:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:86:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:90:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:116:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:134:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:135:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:136:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:140:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:174:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:192:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:193:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:194:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:198:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:223:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/scanline.cpp:26:18: style: The scope of the variable 'finish' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/scanline.cpp:34:9: style: The scope of the variable 'currentPixel' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/scanline.cpp:79:18: style: The scope of the variable 'finish' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/scanline.cpp:87:9: style: The scope of the variable 'currentPixel' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/scanline.cpp:128:18: style: The scope of the variable 'finish' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/scanline.cpp:137:9: style: The scope of the variable 'currentPixel' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/scanline.cpp:186:18: style: The scope of the variable 'finish' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/scanline.cpp:195:9: style: The scope of the variable 'currentPixel' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/scanline.cpp:26:18: style: Variable 'finish' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/scanline.cpp:79:18: style: Variable 'finish' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/scanline.cpp:128:18: style: Variable 'finish' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/scanline.cpp:186:18: style: Variable 'finish' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/scanline.cpp:59:14: style: Variable 'colorA' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:132:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:322:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:252:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:253:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:254:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:255:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:256:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:257:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:258:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:259:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:260:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:138:8: style: The scope of the variable 'buffer' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:104:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:125:18: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/sdl/TestEmu.cpp:461:24: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:829:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:880:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:987:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1223:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1237:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1493:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HAT_UP [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1660:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_ENABLE [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1672:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_APPINPUTFOCUS [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1950:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2627:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2951:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_AUDIO_PLAYING [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3011:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUDIO_S16SYS [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3160:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3361:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3396:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_ANYFORMAT [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1064:13: error: Array 'joypad[4][12]' accessed at index joypad[4][0], which is out of bounds. [arrayIndexOutOfBounds] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1066:13: error: Array 'joypad[4][12]' accessed at index joypad[4][1], which is out of bounds. [arrayIndexOutOfBounds] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1068:13: error: Array 'joypad[4][12]' accessed at index joypad[4][2], which is out of bounds. [arrayIndexOutOfBounds] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1070:13: error: Array 'joypad[4][12]' accessed at index joypad[4][3], which is out of bounds. [arrayIndexOutOfBounds] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1072:13: error: Array 'joypad[4][12]' accessed at index joypad[4][4], which is out of bounds. [arrayIndexOutOfBounds] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1074:13: error: Array 'joypad[4][12]' accessed at index joypad[4][5], which is out of bounds. [arrayIndexOutOfBounds] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1076:13: error: Array 'joypad[4][12]' accessed at index joypad[4][8], which is out of bounds. [arrayIndexOutOfBounds] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1078:13: error: Array 'joypad[4][12]' accessed at index joypad[4][9], which is out of bounds. [arrayIndexOutOfBounds] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1080:13: error: Array 'joypad[4][12]' accessed at index joypad[4][6], which is out of bounds. [arrayIndexOutOfBounds] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1082:13: error: Array 'joypad[4][12]' accessed at index joypad[4][7], which is out of bounds. [arrayIndexOutOfBounds] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1084:13: error: Array 'joypad[4][12]' accessed at index joypad[4][10], which is out of bounds. [arrayIndexOutOfBounds] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1086:13: error: Array 'joypad[4][12]' accessed at index joypad[4][11], which is out of bounds. [arrayIndexOutOfBounds] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:926:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:941:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:975:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:984:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1266:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1290:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1298:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1844:14: style: The statement 'if (paused) paused=false' is logically equivalent to 'paused=false'. [duplicateConditionalAssign] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1845:20: note: Assignment 'paused=false' VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1844:14: note: Condition 'paused' is redundant VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1681:14: style: Condition 'pauseWhenInactive' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2578:22: style: Condition 'emulator.emuWriteMemState' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2555:12: warning: If memory allocation fails, then there is a possible null pointer dereference: delta [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2554:24: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2554:13: note: Assignment 'delta=(unsigned char*)malloc(322*242*4)', assigned value is 0 VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2555:12: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:519:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:553:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:556:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:568:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:600:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1603:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2163:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2289:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2290:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2291:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2292:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2293:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2294:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2295:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2296:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2297:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2554:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2665:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2672:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2679:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2681:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2740:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2746:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2974:27: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2981:27: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3204:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3239:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3266:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3293:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3322:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1085:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable freezeWorkRAM [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1210:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable freezeWorkRAM [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1259:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable freezeWorkRAM [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1379:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable freezeWorkRAM [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1458:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1476:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2091:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2632:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2659:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugger_last [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2012:9: style: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1802:17: style: The scope of the variable 'disableMessages' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1807:17: style: The scope of the variable 'enableMessages' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2684:9: style: The scope of the variable 'option' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3191:10: style: The scope of the variable 'p' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3226:10: style: The scope of the variable 'p' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3261:10: style: The scope of the variable 'p' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3261:13: style: The scope of the variable 'op' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3288:10: style: The scope of the variable 'p' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3288:13: style: The scope of the variable 'op' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3317:10: style: The scope of the variable 'p' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3317:13: style: The scope of the variable 'op' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3154:32: style:inconclusive: Function 'Init_Overlay' argument 1 names different: declaration 'surface' definition 'gbascreen'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:98:32: note: Function 'Init_Overlay' argument 1 names different: declaration 'surface' definition 'gbascreen'. VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3154:32: note: Function 'Init_Overlay' argument 1 names different: declaration 'surface' definition 'gbascreen'. VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3369:39: style:inconclusive: Function 'Draw_Overlay' argument 1 names different: declaration 'surface' definition 'display'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:100:32: note: Function 'Draw_Overlay' argument 1 names different: declaration 'surface' definition 'display'. VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3369:39: note: Function 'Draw_Overlay' argument 1 names different: declaration 'surface' definition 'display'. VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:920:11: style: Local variable 'path' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:868:8: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:920:11: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2232:14: style: Local variable 'p' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2204:11: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2232:14: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2273:15: style: Local variable 'size' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2254:11: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2273:15: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3190:7: style: Local variable 'yuv' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:229:6: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3190:7: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3225:7: style: Local variable 'yuv' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:229:6: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3225:7: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3260:7: style: Local variable 'yuv' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:229:6: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3260:7: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3287:7: style: Local variable 'yuv' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:229:6: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3287:7: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3316:7: style: Local variable 'yuv' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:229:6: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3316:7: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:803:22: style: Parameter 's' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:844:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:891:9: style: Variable 'home' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:926:13: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:983:11: style: Variable 'key' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1266:11: style: Variable 'token' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1290:13: style: Variable 'token' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1298:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1858:18: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:2681:10: style: Variable 'stretcher' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3118:24: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:3180:29: style: Parameter 'rgb' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/sdl/SDL.cpp:1686:18: warning: Size of pointer 'delta' used instead of size of its data. [pointerSize] VisualBoyAdvance-1.8.0/src/simple2x.cpp:29:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/simple2x.cpp:30:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/simple2x.cpp:31:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/simple2x.cpp:34:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/simple2x.cpp:62:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/simple2x.cpp:79:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/simple2x.cpp:80:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/simple2x.cpp:81:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/simple2x.cpp:84:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/simple2x.cpp:99:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/simple2x.cpp:24:18: style: The scope of the variable 'finish' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/simple2x.cpp:74:18: style: The scope of the variable 'finish' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/simple2x.cpp:24:18: style: Variable 'finish' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/simple2x.cpp:74:18: style: Variable 'finish' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/unzip.cpp:943:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/src/unzip.cpp:368:25: style: Condition 'unz_copyright[0]!=' '' is always false [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/unzip.cpp:438:10: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/unzip.cpp:437:19: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/unzip.cpp:437:11: note: Assignment 's=(struct unz_s*)(malloc(sizeof(struct unz_s)))', assigned value is 0 VisualBoyAdvance-1.8.0/src/unzip.cpp:438:10: note: Null pointer dereference VisualBoyAdvance-1.8.0/src/unzip.cpp:304:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:437:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:454:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:475:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:530:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:695:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:718:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:761:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:894:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:905:35: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:910:45: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:990:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:1002:51: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:1032:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:1112:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:1131:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:1166:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:1209:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:1251:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/unzip.cpp:814:16: style: The comparison 'err == 0' is always true. [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/src/unzip.cpp:803:17: note: 'err' is assigned value '0' here. VisualBoyAdvance-1.8.0/src/unzip.cpp:814:16: note: The comparison 'err == 0' is always true. VisualBoyAdvance-1.8.0/src/unzip.cpp:782:10: style: Variable 's->num_file' is assigned an expression that holds the same value. [redundantAssignment] VisualBoyAdvance-1.8.0/src/unzip.cpp:765:23: note: num_fileSaved is assigned 's->num_file' here. VisualBoyAdvance-1.8.0/src/unzip.cpp:777:109: note: Assuming condition is false VisualBoyAdvance-1.8.0/src/unzip.cpp:782:10: note: Variable 's->num_file' is assigned an expression that holds the same value. VisualBoyAdvance-1.8.0/src/unzip.cpp:472:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/unzip.cpp:1128:34: style: Variable 'pfile_in_zip_read_info' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/unzip.cpp:643:38: style: Variable 'lSeek' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/unzip.cpp:649:22: style: Variable 'lSeek' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/unzip.cpp:652:22: style: Variable 'lSeek' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/unzip.cpp:884:16: style: Variable 'err' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/unzip.cpp:925:20: style: Variable 'err' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/win32/VBA.h:26:0: error: #error include 'stdafx.h' before including this file for PCH [preprocessorErrorDirective] VisualBoyAdvance-1.8.0/src/win32/VBA.h:26:2: error: #error include 'stdafx.h' before including this file for PCH [preprocessorErrorDirective] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2091:9: error: Buffer is accessed out of bounds: buffer [bufferAccessOutOfBounds] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1697:21: style: Array index 'p' is used before limits check. [arrayIndexThenCheck] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1697:39: style: Array index 'p' is used before limits check. [arrayIndexThenCheck] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1586:7: warning:inconclusive: The buffer 'SearchHex' may not be null-terminated after the call to strncpy(). [terminateStrncpy] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1591:7: warning:inconclusive: The buffer 'SearchHex' may not be null-terminated after the call to strncpy(). [terminateStrncpy] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:300:9: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:339:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:518:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1415:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1434:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1565:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1596:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1602:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1702:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2310:5: portability: %d in format string (no. 1) requires 'int *' but the argument type is 'u32 * {aka unsigned int *}'. [invalidScanfArgType_int] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2407:5: portability: %d in format string (no. 1) requires 'int *' but the argument type is 'u32 * {aka unsigned int *}'. [invalidScanfArgType_int] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2442:5: portability: %d in format string (no. 2) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:214:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:216:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:223:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:227:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:235:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:238:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:291:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:292:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:397:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:441:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:443:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:460:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:462:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:512:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:995:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:995:39: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1017:39: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1033:39: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1554:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1559:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1935:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1969:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2201:39: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2219:39: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2496:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2499:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2514:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2517:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:955:11: style: The scope of the variable 'line' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2133:9: style: The scope of the variable 'f' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2134:7: style: The scope of the variable 'c' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2169:9: style: The scope of the variable 'f' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2621:7: style: The scope of the variable 'commandCount' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:289:9: style: Local variable 'value' shadows outer argument [shadowArgument] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:273:48: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:289:9: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:896:9: style: Local variable 'n' shadows outer argument [shadowArgument] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:893:37: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:896:9: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1066:9: style: Local variable 'n' shadows outer argument [shadowArgument] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1061:41: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1066:9: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1174:9: style: Local variable 'n' shadows outer argument [shadowArgument] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1165:36: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1174:9: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1240:9: style: Local variable 'n' shadows outer argument [shadowArgument] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1235:42: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1240:9: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1347:9: style: Local variable 'n' shadows outer argument [shadowArgument] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1338:37: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1347:9: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1996:11: style: Local variable 'n' shadows outer argument [shadowArgument] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1977:36: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1996:11: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2032:11: style: Local variable 'n' shadows outer argument [shadowArgument] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2012:40: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2032:11: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2071:11: style: Local variable 'n' shadows outer argument [shadowArgument] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2048:32: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2071:11: note: Shadow variable VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:255:33: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:273:41: style: Parameter 't' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:512:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:595:9: style: Variable 'matchStr' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:604:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:613:13: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1720:31: style: Parameter 'mem' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2132:9: style: Variable 'file' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2168:9: style: Variable 'file' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2238:9: style: Variable 'op' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2240:9: style: Variable 'tsize' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2240:16: style: Variable 'taddress' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2240:26: style: Variable 'tvalue' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2542:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:2621:20: style: Variable 'commandCount' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/src/GBA.cpp:3213:21: style:inconclusive: Boolean expression '!eepromInUse' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] VisualBoyAdvance-1.8.0/src/GBA.cpp:3213:38: style:inconclusive: Boolean expression 'cpuFlashEnabled' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] VisualBoyAdvance-1.8.0/src/GBA.cpp:3351:45: style:inconclusive: Boolean expression '!eepromInUse' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] VisualBoyAdvance-1.8.0/src/GBA.cpp:3351:62: style:inconclusive: Boolean expression 'cpuFlashEnabled' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:103:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:32:15: style: Virtual function 'Close' is called from destructor '~CxIOFile()' at line 17. Dynamic binding is not used. [virtualCallInConstructor] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:17:3: note: Calling Close VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:32:15: note: Close is a virtual function VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:9:2: style: Class 'CxIOFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:10:2: style: Class 'CxMemFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:188:2: style: Class 'CxImage' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:15:3: style: The destructor '~CxIOFile' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:56:11: note: Virtual destructor in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:15:3: note: Destructor in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:32:15: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:58:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:32:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:42:17: style: The function 'Read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:59:17: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:42:17: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:48:17: style: The function 'Write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:60:17: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:48:17: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:54:15: style: The function 'Seek' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:61:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:54:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:60:15: style: The function 'Tell' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:62:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:60:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:66:15: style: The function 'Size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:63:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:66:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:77:15: style: The function 'Flush' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:64:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:77:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:83:15: style: The function 'Eof' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:65:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:83:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:89:15: style: The function 'Error' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:66:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:89:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:95:15: style: The function 'PutC' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:67:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:95:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:101:15: style: The function 'GetC' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:73:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xiofile.h:101:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:11:3: style: The destructor '~CxMemFile' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:56:11: note: Virtual destructor in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:11:3: note: Destructor in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:16:15: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:58:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:16:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:17:17: style: The function 'Read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:59:17: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:17:17: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:18:17: style: The function 'Write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:60:17: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:18:17: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:19:15: style: The function 'Seek' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:61:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:19:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:20:15: style: The function 'Tell' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:62:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:20:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:21:15: style: The function 'Size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:63:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:21:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:22:15: style: The function 'Flush' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:64:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:22:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:23:15: style: The function 'Eof' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:65:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:23:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:24:15: style: The function 'Error' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:66:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:24:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:25:15: style: The function 'PutC' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:67:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:25:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:26:15: style: The function 'GetC' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xfile.h:73:15: note: Virtual function in base class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:26:15: note: Function in derived class VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximabmp.cpp:88:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rgbtRed [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaiter.h:55:7: style:inconclusive: Technically the member function 'CImageIterator::GetByte' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaiter.h:65:7: style:inconclusive: Technically the member function 'CImageIterator::GetSteps' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaiter.h:70:7: style:inconclusive: Technically the member function 'CImageIterator::GetY' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaiter.h:46:2: style: Class 'CImageIterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximabmp.cpp:86:25: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximabmp.cpp:88:41: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximabmp.cpp:89:41: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximabmp.cpp:90:41: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximabmp.cpp:94:25: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximabmp.cpp:107:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximabmp.cpp:261:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximabmp.cpp:325:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaiter.h:225:8: style: The scope of the variable 'pSrc' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaiter.h:242:8: style: The scope of the variable 'pSrc' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaiter.h:86:41: style:inconclusive: Function 'CImageIterator' argument 1 names different: declaration 'image' definition 'imageImpl'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaiter.h:46:28: note: Function 'CImageIterator' argument 1 names different: declaration 'image' definition 'imageImpl'. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaiter.h:86:41: note: Function 'CImageIterator' argument 1 names different: declaration 'image' definition 'imageImpl'. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaiter.h:140:42: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaiter.h:225:8: style: Variable 'pSrc' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaiter.h:235:42: style: Parameter 'pCol' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::gifgce' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::curx' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::cury' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::CountDown' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::cur_accum' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::cur_bits' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::interlaced' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::iypos' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::istep' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::iheight' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::ipass' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::ibf' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::ibfmax' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::buf' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::curr_size' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::clear' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::ending' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::newcodes' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::top_slot' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::slot' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::navail_bytes' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::nbits_left' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::b1' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::byte_buff' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::pbytes' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::stack' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::suffix' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::prefix' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::htab' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::codetab' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::n_bits' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::maxcode' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::free_ent' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::clear_flg' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::g_init_bits' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::g_outfile' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::ClearCode' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::EOFCode' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::a_count' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:124:2: warning: Member variable 'CxImageGIF::accum' is not initialized in the constructor. [uninitMemberVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaenc.cpp:67:39: style: Parameter 'hFile' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1249:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1832:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:492:15: performance:inconclusive: Technically the member function 'CxImage::FreeMemory' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:207:7: note: Technically the member function 'CxImage::FreeMemory' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:492:15: note: Technically the member function 'CxImage::FreeMemory' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:260:15: style:inconclusive: Technically the member function 'CxImage::IsInside' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:290:7: note: Technically the member function 'CxImage::IsInside' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:260:15: note: Technically the member function 'CxImage::IsInside' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:328:15: style:inconclusive: Technically the member function 'CxImage::Bitfield2RGB' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:635:7: note: Technically the member function 'CxImage::Bitfield2RGB' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:328:15: note: Technically the member function 'CxImage::Bitfield2RGB' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:111:10: warning: If memory allocation fails, then there is a possible null pointer dereference: pSelection [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:110:29: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:110:16: note: Assignment 'pSelection=(unsigned char*)malloc(nSize)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:111:10: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:117:10: warning: If memory allocation fails, then there is a possible null pointer dereference: pAlpha [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:116:25: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:116:12: note: Assignment 'pAlpha=(unsigned char*)malloc(nSize)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:117:10: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:110:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:116:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:221:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:237:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:237:28: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:242:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:242:27: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:477:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:478:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:344:8: style: The scope of the variable 'y2' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:344:11: style: The scope of the variable 'y3' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:365:8: style: The scope of the variable 'y4' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:365:11: style: The scope of the variable 'y3' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:409:8: style: The scope of the variable 'dst' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:448:8: style: The scope of the variable 'dst' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:312:30: style:inconclusive: Function 'Ghost' argument 1 names different: declaration 'src' definition 'from'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:632:22: note: Function 'Ghost' argument 1 names different: declaration 'src' definition 'from'. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:312:30: note: Function 'Ghost' argument 1 names different: declaration 'src' definition 'from'. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:328:34: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:477:11: style: Variable 'c1' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:478:11: style: Variable 'c2' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/src/GBA.cpp:3213:21: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] VisualBoyAdvance-1.8.0/src/GBA.cpp:3351:45: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:621:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:663:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:719:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1552:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1258:18: style:inconclusive: Technically the member function 'CxImageGIF::GetLoops' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:141:7: note: Technically the member function 'CxImageGIF::GetLoops' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1258:18: note: Technically the member function 'CxImageGIF::GetLoops' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1252:18: style:inconclusive: Technically the member function 'CxImageGIF::GetDisposalMethod' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:145:7: note: Technically the member function 'CxImageGIF::GetDisposalMethod' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1252:18: note: Technically the member function 'CxImageGIF::GetDisposalMethod' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:557:18: style:inconclusive: Technically the member function 'CxImageGIF::EncodeComment' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:153:7: note: Technically the member function 'CxImageGIF::EncodeComment' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:557:18: note: Technically the member function 'CxImageGIF::EncodeComment' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:633:18: performance:inconclusive: Technically the member function 'CxImageGIF::Putword' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:169:7: note: Technically the member function 'CxImageGIF::Putword' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:633:18: note: Technically the member function 'CxImageGIF::Putword' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:811:18: style:inconclusive: Technically the member function 'CxImageGIF::cl_hash' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:173:7: note: Technically the member function 'CxImageGIF::cl_hash' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:811:18: note: Technically the member function 'CxImageGIF::cl_hash' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1233:18: performance:inconclusive: Technically the member function 'CxImageGIF::seek_next_image' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:182:7: note: Technically the member function 'CxImageGIF::seek_next_image' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1233:18: note: Technically the member function 'CxImageGIF::seek_next_image' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1329:18: performance:inconclusive: Technically the member function 'CxImageGIF::rle_clear' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:230:7: note: Technically the member function 'CxImageGIF::rle_clear' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1329:18: note: Technically the member function 'CxImageGIF::rle_clear' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1465:26: performance:inconclusive: Technically the member function 'CxImageGIF::rle_isqrt' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:238:15: note: Technically the member function 'CxImageGIF::rle_isqrt' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1465:26: note: Technically the member function 'CxImageGIF::rle_isqrt' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:91:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:286:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1168:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:641:16: style: The scope of the variable 'c' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1548:6: style: The scope of the variable 'c' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:900:2: warning:inconclusive: Array 'prefix' is filled incompletely. Did you forget to multiply the size given to 'memset()' with 'sizeof(*prefix)'? [incompleteArrayFill] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1134:40: style:inconclusive: Function 'get_num_frames' argument 1 names different: declaration 'f' definition 'fp'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:181:29: note: Function 'get_num_frames' argument 1 names different: declaration 'f' definition 'fp'. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1134:40: note: Function 'get_num_frames' argument 1 names different: declaration 'f' definition 'fp'. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:985:8: style: Local variable 'buf' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:166:7: note: Shadowed declaration VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:985:8: note: Shadow variable VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1267:59: style: Parameter 'imgdesc' can be declared as reference to const [constParameterReference] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:91:11: style: Variable 'byteData' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:467:12: style: Variable 'pPal' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:527:12: style: Variable 'pPal' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1134:58: style: Parameter 'TabColSrc' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1134:83: style: Parameter 'dscgif' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1168:11: style: Variable 'byteData' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:147:23: style: Variable 'has_white' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:154:54: style: Variable 'has_white' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:163:18: style: Variable 'has_white' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:579:3: style: Variable 'w' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:579:5: style: Variable 'h' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:948:43: style:inconclusive: Boolean expression 'imgsrc2.AlphaIsValid()' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1456:15: performance:inconclusive: Technically the member function 'CxImage::IsPowerof2' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:531:7: note: Technically the member function 'CxImage::IsPowerof2' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1456:15: note: Technically the member function 'CxImage::IsPowerof2' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1473:15: performance:inconclusive: Technically the member function 'CxImage::FFT' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:532:7: note: Technically the member function 'CxImage::FFT' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1473:15: note: Technically the member function 'CxImage::FFT' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1545:15: performance:inconclusive: Technically the member function 'CxImage::DFT' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:533:7: note: Technically the member function 'CxImage::DFT' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1545:15: note: Technically the member function 'CxImage::DFT' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1858:14: performance:inconclusive: Technically the member function 'CxImage::gen_convolve_matrix' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:536:6: note: Technically the member function 'CxImage::gen_convolve_matrix' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1858:14: note: Technically the member function 'CxImage::gen_convolve_matrix' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1940:17: performance:inconclusive: Technically the member function 'CxImage::gen_lookup_table' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:537:9: note: Technically the member function 'CxImage::gen_lookup_table' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1940:17: note: Technically the member function 'CxImage::gen_lookup_table' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1964:15: performance:inconclusive: Technically the member function 'CxImage::blur_line' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:538:7: note: Technically the member function 'CxImage::blur_line' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1964:15: note: Technically the member function 'CxImage::blur_line' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:318:11: style: Comparing expression of type 'unsigned char' against value 255. Condition is always false. [compareValueOutOfTypeRangeError] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1188:22: error: Memory leak: kernel [memleak] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1358:3: warning: If memory allocation fails, then there is a possible null pointer dereference: grid [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1356:28: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1356:9: note: Assignment 'grid=(struct _complex**)malloc(w*sizeof(struct _complex))', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1358:3: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1362:4: warning: If memory allocation fails, then there is a possible null pointer dereference: grid [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1356:28: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1356:9: note: Assignment 'grid=(struct _complex**)malloc(w*sizeof(struct _complex))', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1362:4: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1363:4: warning: If memory allocation fails, then there is a possible null pointer dereference: grid [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1356:28: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1356:9: note: Assignment 'grid=(struct _complex**)malloc(w*sizeof(struct _complex))', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1363:4: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1381:4: warning: If memory allocation fails, then there is a possible null pointer dereference: real [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1373:25: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1373:9: note: Assignment 'real=(double*)malloc(w*sizeof(double))', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1381:4: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1382:4: warning: If memory allocation fails, then there is a possible null pointer dereference: imag [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1374:25: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1374:9: note: Assignment 'imag=(double*)malloc(w*sizeof(double))', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1382:4: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1405:4: warning: If memory allocation fails, then there is a possible null pointer dereference: real [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1397:25: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1397:9: note: Assignment 'real=(double*)malloc(h*sizeof(double))', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1405:4: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1406:4: warning: If memory allocation fails, then there is a possible null pointer dereference: imag [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1398:25: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1398:9: note: Assignment 'imag=(double*)malloc(h*sizeof(double))', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1406:4: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:690:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1185:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1356:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1358:14: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1369:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1370:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1373:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1374:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1397:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1398:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:668:7: style: The scope of the variable 'r' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:668:9: style: The scope of the variable 'g' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1022:15: style: The scope of the variable 'a1' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1058:15: style: The scope of the variable 'dLarge' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1475:17: style: The scope of the variable 'k' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1475:24: style: The scope of the variable 'l1' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1476:27: style: The scope of the variable 'u1' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1476:30: style: The scope of the variable 'u2' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1548:11: style: The scope of the variable 'arg' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1970:6: style: The scope of the variable 'cmatrix_middle' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1972:9: style: The scope of the variable 'cmatrix_p' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1974:9: style: The scope of the variable 'cur_col_p1' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1975:9: style: The scope of the variable 'dest_col_p' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1976:9: style: The scope of the variable 'ctable_p' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:2129:6: style: The scope of the variable 'value' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:2252:9: style: The scope of the variable 'dbScaler' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:662:28: style: Parameter 'kernel' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:685:18: style: Variable 'cPtr' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1944:9: style: Variable 'cmatrix_p' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1972:9: style: Variable 'cmatrix_p' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:2142:9: style: Variable 'cur_row' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:2174:25: style: Parameter 'pLut' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:2247:25: style: Parameter 'pLutR' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:2247:38: style: Parameter 'pLutG' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:2247:51: style: Parameter 'pLutB' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:2247:64: style: Parameter 'pLutA' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1301:4: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1306:4: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1479:5: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1885:18: style: Variable 'matrix_midpoint' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1968:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1968:12: style: Variable 'j' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:2035:15: style: Variable 'cmatrix_p' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:2140:9: style: Variable 'value' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximahist.cpp:546:23: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximahist.cpp:556:34: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximahist.cpp:568:42: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximahist.cpp:611:23: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:366:22: style:inconclusive: Technically the member function 'CxImage::GetLastError' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:221:14: note: Technically the member function 'CxImage::GetLastError' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:366:22: note: Technically the member function 'CxImage::GetLastError' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:383:23: performance:inconclusive: Technically the member function 'CxImage::GetVersion' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:222:15: note: Technically the member function 'CxImage::GetVersion' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:383:23: note: Technically the member function 'CxImage::GetVersion' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:378:22: performance:inconclusive: Technically the member function 'CxImage::GetVersionNumber' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:223:14: note: Technically the member function 'CxImage::GetVersionNumber' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:378:22: note: Technically the member function 'CxImage::GetVersionNumber' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:230:15: style:inconclusive: Technically the member function 'CxImage::GetOffset' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:228:7: note: Technically the member function 'CxImage::GetOffset' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:230:15: note: Technically the member function 'CxImage::GetOffset' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:131:16: style:inconclusive: Technically the member function 'CxImage::GetCodecOption' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:256:8: note: Technically the member function 'CxImage::GetCodecOption' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:131:16: note: Technically the member function 'CxImage::GetCodecOption' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:32:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:29:51: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:29:29: note: Assignment 'icon_list=(struct CxImageICO::tagIconDirectoryEntry*)malloc(icon_header.idCount*sizeof(struct CxImageICO::tagIconDirectoryEntry))', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:32:26: note: Null pointer addition VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:29:30: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:55:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:77:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:109:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:110:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:239:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:259:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:267:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:268:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:109:13: style: Variable 'pcc' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:110:13: style: Variable 'pct' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:208:11: style: Variable 'pal' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:238:9: style: Variable 'src' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:267:8: style: Variable 'pc' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:268:8: style: Variable 'pct' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:531:15: performance:inconclusive: Technically the member function 'CxImage::AddAveragingCont' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:351:8: note: Technically the member function 'CxImage::AddAveragingCont' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:531:15: note: Technically the member function 'CxImage::AddAveragingCont' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:223:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:392:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:474:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:390:15: style: The scope of the variable 'pxptr' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:472:15: style: The scope of the variable 'pxptr' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:590:9: style: The scope of the variable 'cps' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:102:106: style: Parameter 'rplColor' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:390:15: style: Variable 'pxptr' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:390:23: style: Variable 'pxptra' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:472:15: style: Variable 'pxptr' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:472:23: style: Variable 'pxptra' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:85:15: style:inconclusive: Technically the member function 'CxImage::AlphaInvert' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:588:7: note: Technically the member function 'CxImage::AlphaInvert' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:85:15: note: Technically the member function 'CxImage::AlphaInvert' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:32:15: style:inconclusive: Technically the member function 'CxImage::AlphaIsValid' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:600:7: note: Technically the member function 'CxImage::AlphaIsValid' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:32:15: note: Technically the member function 'CxImage::AlphaIsValid' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:48:15: style:inconclusive: Technically the member function 'CxImage::AlphaPaletteIsEnabled' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:605:7: note: Technically the member function 'CxImage::AlphaPaletteIsEnabled' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:48:15: note: Technically the member function 'CxImage::AlphaPaletteIsEnabled' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:161:15: style:inconclusive: Technically the member function 'CxImage::BlindAlphaGet' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:612:7: note: Technically the member function 'CxImage::BlindAlphaGet' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:161:15: note: Technically the member function 'CxImage::BlindAlphaGet' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:75:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:103:29: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:116:29: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:242:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:260:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:100:34: style: Parameter 'from' can be declared as reference to const [constParameterReference] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalyr.cpp:34:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalyr.cpp:68:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:445:15: style:inconclusive: Technically the member function 'CxImage::IsGrayScale' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:269:7: note: Technically the member function 'CxImage::IsGrayScale' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:445:15: note: Technically the member function 'CxImage::IsGrayScale' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:12:16: style:inconclusive: Technically the member function 'CxImage::GetPaletteSize' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:272:8: note: Technically the member function 'CxImage::GetPaletteSize' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:12:16: note: Technically the member function 'CxImage::GetPaletteSize' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:361:15: style:inconclusive: Technically the member function 'CxImage::GetPaletteColor' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:275:7: note: Technically the member function 'CxImage::GetPaletteColor' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:361:15: note: Technically the member function 'CxImage::GetPaletteColor' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:413:15: style:inconclusive: Technically the member function 'CxImage::SetGrayPalette' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:278:7: note: Technically the member function 'CxImage::SetGrayPalette' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:413:15: note: Technically the member function 'CxImage::SetGrayPalette' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:655:15: style:inconclusive: Technically the member function 'CxImage::SetStdPalette' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:286:7: note: Technically the member function 'CxImage::SetStdPalette' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:655:15: note: Technically the member function 'CxImage::SetStdPalette' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:94:15: style:inconclusive: Technically the member function 'CxImage::GetPixelIndex' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:293:7: note: Technically the member function 'CxImage::GetPixelIndex' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:94:15: note: Technically the member function 'CxImage::GetPixelIndex' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:120:15: style:inconclusive: Technically the member function 'CxImage::BlindGetPixelIndex' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:305:7: note: Technically the member function 'CxImage::BlindGetPixelIndex' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:120:15: note: Technically the member function 'CxImage::BlindGetPixelIndex' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:330:15: style:inconclusive: Technically the member function 'CxImage::RGBtoBGR' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:633:7: note: Technically the member function 'CxImage::RGBtoBGR' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:330:15: note: Technically the member function 'CxImage::RGBtoBGR' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:20:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:35:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:50:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:68:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:79:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:298:31: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:298:55: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:302:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:428:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:430:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:487:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:487:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:305:7: style: The scope of the variable 'k' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:333:8: style: The scope of the variable 'temp' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:79:9: style: Variable 'iDst' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:160:9: style: Variable 'iDst' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:192:8: style: Variable 'iDst' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:302:8: style: Variable 'iDst' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:373:59: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:401:35: style: Parameter 'pPal' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:447:11: style: Variable 'ppal' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:460:11: style: Variable 'ppal' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:201:9: warning: Uninitialized variable: rgb.rgbReserved [uninitvar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:197:6: note: Assuming condition is false VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:201:9: note: Uninitialized variable: rgb.rgbReserved VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:201:9: error: Uninitialized struct member: rgb.rgbReserved [uninitStructMember] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:304:18: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_PlanesToPixels' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:54:7: note: Technically the member function 'CxImagePCX::PCX_PlanesToPixels' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:304:18: note: Technically the member function 'CxImagePCX::PCX_PlanesToPixels' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:333:18: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_UnpackPixels' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:55:7: note: Technically the member function 'CxImagePCX::PCX_UnpackPixels' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:333:18: note: Technically the member function 'CxImagePCX::PCX_UnpackPixels' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:374:18: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_PackPixels' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:56:7: note: Technically the member function 'CxImagePCX::PCX_PackPixels' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:374:18: note: Technically the member function 'CxImagePCX::PCX_PackPixels' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:395:18: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_PackPlanes' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:57:7: note: Technically the member function 'CxImagePCX::PCX_PackPlanes' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:395:18: note: Technically the member function 'CxImagePCX::PCX_PackPlanes' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:427:18: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_PixelsToPlanes' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:58:7: note: Technically the member function 'CxImagePCX::PCX_PixelsToPlanes' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:427:18: note: Technically the member function 'CxImagePCX::PCX_PixelsToPlanes' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:144:6: style: Condition 'lpHead1' is always false [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:33:36: note: Assignment 'lpHead1=NULL', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:144:6: note: Condition 'lpHead1' is always false VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:145:9: style: Condition 'lpHead2' is always false [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:33:53: note: Assignment 'lpHead2=NULL', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:145:9: note: Condition 'lpHead2' is always false VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:256:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pal [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:252:29: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:252:16: note: Assignment 'pal=(unsigned char*)malloc(768)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:256:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:257:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pal [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:252:29: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:252:16: note: Assignment 'pal=(unsigned char*)malloc(768)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:257:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:258:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pal [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:252:29: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:252:16: note: Assignment 'pal=(unsigned char*)malloc(768)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:258:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:274:39: warning: If memory allocation fails, then there is a possible null pointer dereference: raw [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:270:28: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:270:15: note: Assignment 'raw=(unsigned char*)malloc(head.biWidth)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:274:39: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:402:22: warning: If memory allocation fails, then there is a possible null pointer dereference: start++ [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:30: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:17: note: Assignment 'plane=(unsigned char*)malloc(pcxHeader.BytesPerLine)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:280:20: note: Calling function 'PCX_PackPlanes', 1st argument 'plane' value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:400:10: note: Assignment 'start=buff', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:400:8: note: start is assigned 'buff' here. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:400:8: note: start is assigned 'buff' here. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:402:22: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:401:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:30: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:17: note: Assignment 'plane=(unsigned char*)malloc(pcxHeader.BytesPerLine)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:280:20: note: Calling function 'PCX_PackPlanes', 1st argument 'plane' value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:401:16: note: Null pointer addition VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:402:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:30: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:17: note: Assignment 'plane=(unsigned char*)malloc(pcxHeader.BytesPerLine)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:280:20: note: Calling function 'PCX_PackPlanes', 1st argument 'plane' value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:400:10: note: Assignment 'start=buff', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:402:22: note: Null pointer addition VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:430:28: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:30: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:17: note: Assignment 'plane=(unsigned char*)malloc(pcxHeader.BytesPerLine)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:279:43: note: Calling function 'PCX_PixelsToPlanes', 3rd argument 'plane' value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:430:28: note: Null pointer subtraction VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:68:26: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:110:27: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:252:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:270:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:31:6: style: The scope of the variable 'i' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:31:9: style: The scope of the variable 'x' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:31:12: style: The scope of the variable 'y' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:31:15: style: The scope of the variable 'y2' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:31:19: style: The scope of the variable 'nbytes' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:31:27: style: The scope of the variable 'count' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:31:34: style: The scope of the variable 'Height' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:31:42: style: The scope of the variable 'Width' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:318:15: style: The scope of the variable 'bits' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:398:10: style: The scope of the variable 'c' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:253:12: style: Local variable 'c' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:214:7: note: Shadowed declaration VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:253:12: note: Shadow variable VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:304:59: style: Parameter 'bitplanes' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:333:57: style: Parameter 'bitplanes' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:397:11: style: Variable 'start' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:397:18: style: Variable 'end' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:427:43: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:427:66: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:168:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pDest [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:163:24: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:163:11: note: Assignment 'pDest=(unsigned char*)malloc(4*tgaHead.ImageWidth)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:168:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:169:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pDest [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:163:24: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:163:11: note: Assignment 'pDest=(unsigned char*)malloc(4*tgaHead.ImageWidth)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:169:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:170:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pDest [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:163:24: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:163:11: note: Assignment 'pDest=(unsigned char*)malloc(4*tgaHead.ImageWidth)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:170:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:172:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pDest [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:163:24: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:163:11: note: Assignment 'pDest=(unsigned char*)malloc(4*tgaHead.ImageWidth)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:172:5: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:163:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatga.cpp:259:64: style: Parameter 'ptgaHead' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.cpp:49:3: performance: Variable 'botLeft' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.cpp:50:3: performance: Variable 'topRight' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.cpp:25:17: style:inconclusive: Technically the member function 'CxPoint2::Distance' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.h:14:9: note: Technically the member function 'CxPoint2::Distance' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.cpp:25:17: note: Technically the member function 'CxPoint2::Distance' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.cpp:30:17: style:inconclusive: Technically the member function 'CxPoint2::Distance' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.h:15:9: note: Technically the member function 'CxPoint2::Distance' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.cpp:30:17: note: Technically the member function 'CxPoint2::Distance' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:148:15: style:inconclusive: Technically the member function 'CxImage::SelectionInvert' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:568:7: note: Technically the member function 'CxImage::SelectionInvert' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:148:15: note: Technically the member function 'CxImage::SelectionInvert' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:14:15: style:inconclusive: Technically the member function 'CxImage::SelectionIsValid' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:576:7: note: Technically the member function 'CxImage::SelectionIsValid' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:14:15: note: Technically the member function 'CxImage::SelectionIsValid' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:48:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:168:37: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:187:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:247:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:342:7: style: The scope of the variable 'yoffset' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:79:37: performance: Function parameter 'r' should be passed by const reference. [passedByValue] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:107:40: performance: Function parameter 'r' should be passed by const reference. [passedByValue] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:165:38: style: Parameter 'from' can be declared as reference to const [constParameterReference] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:191:9: style: Variable 'current' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:191:18: style: Variable 'next' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:235:20: warning: Uninitialized variable: next [uninitvar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:195:17: note: Assuming condition is false VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:235:20: note: Uninitialized variable: next VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.cpp:147:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:16:15: style: Virtual function 'Close' is called from destructor '~CxMemFile()' at line 14. Dynamic binding is not used. [virtualCallInConstructor] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.cpp:14:2: note: Calling Close VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:16:15: note: Close is a virtual function VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.cpp:160:8: error: Common realloc mistake: 'm_pBuffer' nulled but not freed upon failure [memleakOnRealloc] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.cpp:32:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.cpp:148:18: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.cpp:159:38: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.cpp:160:20: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.cpp:151:29: style:inconclusive: Function 'Alloc' argument 1 names different: declaration 'nBytes' definition 'dwNewLen'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.h:29:19: note: Function 'Alloc' argument 1 names different: declaration 'nBytes' definition 'dwNewLen'. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/xmemfile.cpp:151:29: note: Function 'Alloc' argument 1 names different: declaration 'nBytes' definition 'dwNewLen'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.c:695:17: style: Condition '&png_ptr!=NULL' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.c:715:17: style: Condition '&png_ptr!=NULL' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.c:724:17: style: Condition '&png_ptr!=NULL' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.c:733:17: style: Condition '&png_ptr!=NULL' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.c:303:28: style:inconclusive: Function 'png_info_init_3' argument 1 names different: declaration 'info_ptr' definition 'ptr_ptr'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:1463:41: note: Function 'png_info_init_3' argument 1 names different: declaration 'info_ptr' definition 'ptr_ptr'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.c:303:28: note: Function 'png_info_init_3' argument 1 names different: declaration 'info_ptr' definition 'ptr_ptr'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.c:339:68: style:inconclusive: Function 'png_free_data' argument 3 names different: declaration 'free_me' definition 'mask'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:1972:39: note: Function 'png_free_data' argument 3 names different: declaration 'free_me' definition 'mask'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.c:339:68: note: Function 'png_free_data' argument 3 names different: declaration 'free_me' definition 'mask'. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1936:28: style: Condition 'starty==endy' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1934:12: note: endy is assigned 'head.biHeight-((0L>(((bottom)<(head.biHeight))?(bottom):(head.biHeight)))?(0L):(((bottom)<(head.biHeight))?(bottom):(head.biHeight)))' here. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1933:14: note: starty is assigned 'head.biHeight-((0L>(((top)<(head.biHeight))?(top):(head.biHeight)))?(0L):(((top)<(head.biHeight))?(top):(head.biHeight)))' here. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1936:28: note: Condition 'starty==endy' is always true VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1795:4: warning: If memory allocation fails, then there is a possible null pointer dereference: Bmatrix [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1784:33: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1784:19: note: Assignment 'Bmatrix=(unsigned char*)malloc(size*sizeof(unsigned char))', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1795:4: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:230:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:231:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:341:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:342:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:665:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1078:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1784:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:2325:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:2326:12: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1782:12: style: The comparison 'order > 4' is always false. [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1780:15: note: 'order' is assigned value '4' here. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1782:12: note: The comparison 'order > 4' is always false. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngerror.c:197:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngerror.c:253:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:16:7: style: The scope of the variable 'gray' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:168:14: style: The scope of the variable 'dlineup' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:173:35: style: The scope of the variable 'bitpos' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:174:9: style: The scope of the variable 'div_r' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:292:35: style: The scope of the variable 'bitpos' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:293:9: style: The scope of the variable 'div_r' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:655:9: style: The scope of the variable 'pxptr' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:743:11: style: The scope of the variable 'y2' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:807:14: style: The scope of the variable 'f_y' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:807:19: style: The scope of the variable 'a' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:808:14: style: The scope of the variable 'i_y' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:865:14: style: The scope of the variable 'ifY' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:865:25: style: The scope of the variable 'ifY1' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:866:44: style: The scope of the variable 'dy' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:921:10: style: The scope of the variable 'pSource' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:927:10: style: The scope of the variable 'fEndX' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:933:8: style: The scope of the variable 'u' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1070:10: style: The scope of the variable 'pxptr' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1072:10: style: The scope of the variable 'pxptra' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:2313:8: style: The scope of the variable 'alphaPtr' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:2324:19: style: The scope of the variable 'srcPtr' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:2327:7: style: The scope of the variable 'ex' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:2381:7: style: The scope of the variable 'ex' can be reduced. [variableScope] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:810:9: style: Local variable 'iDst' shadows outer argument [shadowArgument] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:772:65: note: Shadowed declaration VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:810:9: note: Shadow variable VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:891:13: style: Local variable 'iDst' shadows outer argument [shadowArgument] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:772:65: note: Shadowed declaration VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:891:13: note: Shadow variable VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:173:9: style: Variable 'sbits' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:173:25: style: Variable 'dbitsmax' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:292:9: style: Variable 'sbits' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:292:25: style: Variable 'dbitsmax' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:567:33: style: Parameter 'replColor' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:891:13: style: Variable 'iDst' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:921:10: style: Variable 'pSource' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1369:7: style: Variable 'DitherMatrix' can be declared as const array [constVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1371:17: style: Variable 'Intensity' can be declared as const array [constVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:2324:19: style: Variable 'srcPtr' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:488:15: style: Variable 'leftBottom.x' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:491:13: style: Variable 'rightTop.y' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:2327:9: style: Variable 'ex' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:2381:9: style: Variable 'ex' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngerror.c:102:18: style: Condition 'png_ptr!=NULL' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngerror.c:129:15: warning: Either the condition 'png_ptr==NULL' is redundant or there is possible null pointer dereference: png_ptr. [nullPointerRedundantCheck] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngerror.c:168:16: note: Assuming that condition 'png_ptr==NULL' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngerror.c:170:22: note: Calling function 'png_format_buffer', 1st argument 'png_ptr' value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngerror.c:129:15: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngmem.c:550:16: style:inconclusive: Function 'png_memcpy_check' argument 4 names different: declaration 'size' definition 'length'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2006:47: note: Function 'png_memcpy_check' argument 4 names different: declaration 'size' definition 'length'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngmem.c:550:16: note: Function 'png_memcpy_check' argument 4 names different: declaration 'size' definition 'length'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngmem.c:563:16: style:inconclusive: Function 'png_memset_check' argument 4 names different: declaration 'size' definition 'length'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2009:47: note: Function 'png_memset_check' argument 4 names different: declaration 'size' definition 'length'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngmem.c:563:16: note: Function 'png_memset_check' argument 4 names different: declaration 'size' definition 'length'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:516:25: warning: Either the condition 'info_ptr!=NULL' is redundant or there is possible null pointer dereference: info_ptr. [nullPointerRedundantCheck] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:514:36: note: Assuming that condition 'info_ptr!=NULL' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:516:25: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:804:25: warning: Either the condition 'info_ptr!=NULL' is redundant or there is possible null pointer dereference: info_ptr. [nullPointerRedundantCheck] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:802:36: note: Assuming that condition 'info_ptr!=NULL' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:804:25: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:410:21: style:inconclusive: Function 'png_get_cHRM_fixed' argument 3 names different: declaration 'int_white_x' definition 'white_x'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2145:51: note: Function 'png_get_cHRM_fixed' argument 3 names different: declaration 'int_white_x' definition 'white_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:410:21: note: Function 'png_get_cHRM_fixed' argument 3 names different: declaration 'int_white_x' definition 'white_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:410:47: style:inconclusive: Function 'png_get_cHRM_fixed' argument 4 names different: declaration 'int_white_y' definition 'white_y'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2145:51: note: Function 'png_get_cHRM_fixed' argument 4 names different: declaration 'int_white_y' definition 'white_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:410:47: note: Function 'png_get_cHRM_fixed' argument 4 names different: declaration 'int_white_y' definition 'white_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:410:73: style:inconclusive: Function 'png_get_cHRM_fixed' argument 5 names different: declaration 'int_red_x' definition 'red_x'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2145:51: note: Function 'png_get_cHRM_fixed' argument 5 names different: declaration 'int_red_x' definition 'red_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:410:73: note: Function 'png_get_cHRM_fixed' argument 5 names different: declaration 'int_red_x' definition 'red_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:411:21: style:inconclusive: Function 'png_get_cHRM_fixed' argument 6 names different: declaration 'int_red_y' definition 'red_y'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2145:51: note: Function 'png_get_cHRM_fixed' argument 6 names different: declaration 'int_red_y' definition 'red_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:411:21: note: Function 'png_get_cHRM_fixed' argument 6 names different: declaration 'int_red_y' definition 'red_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:411:45: style:inconclusive: Function 'png_get_cHRM_fixed' argument 7 names different: declaration 'int_green_x' definition 'green_x'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2145:51: note: Function 'png_get_cHRM_fixed' argument 7 names different: declaration 'int_green_x' definition 'green_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:411:45: note: Function 'png_get_cHRM_fixed' argument 7 names different: declaration 'int_green_x' definition 'green_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:411:71: style:inconclusive: Function 'png_get_cHRM_fixed' argument 8 names different: declaration 'int_green_y' definition 'green_y'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2145:51: note: Function 'png_get_cHRM_fixed' argument 8 names different: declaration 'int_green_y' definition 'green_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:411:71: note: Function 'png_get_cHRM_fixed' argument 8 names different: declaration 'int_green_y' definition 'green_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:412:21: style:inconclusive: Function 'png_get_cHRM_fixed' argument 9 names different: declaration 'int_blue_x' definition 'blue_x'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2145:51: note: Function 'png_get_cHRM_fixed' argument 9 names different: declaration 'int_blue_x' definition 'blue_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:412:21: note: Function 'png_get_cHRM_fixed' argument 9 names different: declaration 'int_blue_x' definition 'blue_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:412:46: style:inconclusive: Function 'png_get_cHRM_fixed' argument 10 names different: declaration 'int_blue_y' definition 'blue_y'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2145:51: note: Function 'png_get_cHRM_fixed' argument 10 names different: declaration 'int_blue_y' definition 'blue_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:412:46: note: Function 'png_get_cHRM_fixed' argument 10 names different: declaration 'int_blue_y' definition 'blue_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:474:60: style:inconclusive: Function 'png_get_sRGB' argument 3 names different: declaration 'intent' definition 'file_srgb_intent'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2257:45: note: Function 'png_get_sRGB' argument 3 names different: declaration 'intent' definition 'file_srgb_intent'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:474:60: note: Function 'png_get_sRGB' argument 3 names different: declaration 'intent' definition 'file_srgb_intent'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:512:27: style:inconclusive: Function 'png_get_sPLT' argument 3 names different: declaration 'entries' definition 'spalettes'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2283:45: note: Function 'png_get_sPLT' argument 3 names different: declaration 'entries' definition 'spalettes'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:512:27: note: Function 'png_get_sPLT' argument 3 names different: declaration 'entries' definition 'spalettes'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:538:26: style:inconclusive: Function 'png_get_IHDR' argument 7 names different: declaration 'interlace_method' definition 'interlace_type'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2196:45: note: Function 'png_get_IHDR' argument 7 names different: declaration 'interlace_method' definition 'interlace_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:538:26: note: Function 'png_get_IHDR' argument 7 names different: declaration 'interlace_method' definition 'interlace_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:538:47: style:inconclusive: Function 'png_get_IHDR' argument 8 names different: declaration 'compression_method' definition 'compression_type'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2196:45: note: Function 'png_get_IHDR' argument 8 names different: declaration 'compression_method' definition 'compression_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:538:47: note: Function 'png_get_IHDR' argument 8 names different: declaration 'compression_method' definition 'compression_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:539:9: style:inconclusive: Function 'png_get_IHDR' argument 9 names different: declaration 'filter_method' definition 'filter_type'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2196:45: note: Function 'png_get_IHDR' argument 9 names different: declaration 'filter_method' definition 'filter_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:539:9: note: Function 'png_get_IHDR' argument 9 names different: declaration 'filter_method' definition 'filter_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:800:34: style:inconclusive: Function 'png_get_unknown_chunks' argument 3 names different: declaration 'entries' definition 'unknowns'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2376:55: note: Function 'png_get_unknown_chunks' argument 3 names different: declaration 'entries' definition 'unknowns'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngget.c:800:34: note: Function 'png_get_unknown_chunks' argument 3 names different: declaration 'entries' definition 'unknowns'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngread.c:557:60: style:inconclusive: Function 'png_read_row' argument 3 names different: declaration 'display_row' definition 'dsp_row'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:1661:38: note: Function 'png_read_row' argument 3 names different: declaration 'display_row' definition 'dsp_row'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngread.c:557:60: note: Function 'png_read_row' argument 3 names different: declaration 'display_row' definition 'dsp_row'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngread.c:276:32: error: Uninitialized variable: tmp_jmp [uninitvar] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngread.c:1293:32: error: Uninitialized variable: tmp_jmp [uninitvar] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngpread.c:500:52: style:inconclusive: Function 'png_push_crc_skip' argument 2 names different: declaration 'length' definition 'skip'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3386:35: note: Function 'png_push_crc_skip' argument 2 names different: declaration 'length' definition 'skip'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngpread.c:500:52: note: Function 'png_push_crc_skip' argument 2 names different: declaration 'length' definition 'skip'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:629:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:848:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:943:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:563:18: style: Condition '&info_ptr==NULL' is always false [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:2473:32: style: Condition 'row_info!=NULL' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:217:27: warning: Either the condition 'text==NULL' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:212:25: note: Assuming that condition 'text==NULL' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:217:27: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:220:13: warning: Either the condition 'text==NULL' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:212:25: note: Assuming that condition 'text==NULL' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:220:13: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:243:27: warning: Either the condition 'text==NULL' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:236:25: note: Assuming that condition 'text==NULL' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:243:27: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:260:27: warning: Either the condition 'text==NULL' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:254:25: note: Assuming that condition 'text==NULL' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:260:27: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:304:24: warning: Either the condition 'text==NULL' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:299:22: note: Assuming that condition 'text==NULL' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:304:24: note: Null pointer dereference VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:223:58: warning: Either the condition 'text==NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:212:25: note: Assuming that condition 'text==NULL' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:223:58: note: Null pointer subtraction VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:241:32: warning: Either the condition 'text==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:236:25: note: Assuming that condition 'text==NULL' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:241:32: note: Null pointer addition VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:244:23: warning: Either the condition 'text==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:236:25: note: Assuming that condition 'text==NULL' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:244:23: note: Null pointer addition VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:262:32: warning: Either the condition 'text==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:254:25: note: Assuming that condition 'text==NULL' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:262:32: note: Null pointer addition VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:265:23: warning: Either the condition 'text==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:254:25: note: Assuming that condition 'text==NULL' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:265:23: note: Null pointer addition VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:306:17: warning: Either the condition 'text==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:299:22: note: Assuming that condition 'text==NULL' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:306:17: note: Null pointer addition VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:179:42: style:inconclusive: Function 'png_decompress_chunk' argument 5 names different: declaration 'prefix_length' definition 'prefix_size'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2935:43: note: Function 'png_decompress_chunk' argument 5 names different: declaration 'prefix_length' definition 'prefix_size'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:179:42: note: Function 'png_decompress_chunk' argument 5 names different: declaration 'prefix_length' definition 'prefix_size'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:179:67: style:inconclusive: Function 'png_decompress_chunk' argument 6 names different: declaration 'data_length' definition 'newlength'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2935:43: note: Function 'png_decompress_chunk' argument 6 names different: declaration 'data_length' definition 'newlength'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrutil.c:179:67: note: Function 'png_decompress_chunk' argument 6 names different: declaration 'data_length' definition 'newlength'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:225:30: style: Checking if unsigned expression 'info_ptr->num_palette' is less than zero. [unsignedLessThanZero] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:88:20: style:inconclusive: Function 'png_set_cHRM_fixed' argument 3 names different: declaration 'int_white_x' definition 'white_x'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2160:44: note: Function 'png_set_cHRM_fixed' argument 3 names different: declaration 'int_white_x' definition 'white_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:88:20: note: Function 'png_set_cHRM_fixed' argument 3 names different: declaration 'int_white_x' definition 'white_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:88:45: style:inconclusive: Function 'png_set_cHRM_fixed' argument 4 names different: declaration 'int_white_y' definition 'white_y'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2160:44: note: Function 'png_set_cHRM_fixed' argument 4 names different: declaration 'int_white_y' definition 'white_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:88:45: note: Function 'png_set_cHRM_fixed' argument 4 names different: declaration 'int_white_y' definition 'white_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:88:70: style:inconclusive: Function 'png_set_cHRM_fixed' argument 5 names different: declaration 'int_red_x' definition 'red_x'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2160:44: note: Function 'png_set_cHRM_fixed' argument 5 names different: declaration 'int_red_x' definition 'red_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:88:70: note: Function 'png_set_cHRM_fixed' argument 5 names different: declaration 'int_red_x' definition 'red_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:89:20: style:inconclusive: Function 'png_set_cHRM_fixed' argument 6 names different: declaration 'int_red_y' definition 'red_y'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2160:44: note: Function 'png_set_cHRM_fixed' argument 6 names different: declaration 'int_red_y' definition 'red_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:89:20: note: Function 'png_set_cHRM_fixed' argument 6 names different: declaration 'int_red_y' definition 'red_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:89:43: style:inconclusive: Function 'png_set_cHRM_fixed' argument 7 names different: declaration 'int_green_x' definition 'green_x'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2160:44: note: Function 'png_set_cHRM_fixed' argument 7 names different: declaration 'int_green_x' definition 'green_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:89:43: note: Function 'png_set_cHRM_fixed' argument 7 names different: declaration 'int_green_x' definition 'green_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:89:68: style:inconclusive: Function 'png_set_cHRM_fixed' argument 8 names different: declaration 'int_green_y' definition 'green_y'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2160:44: note: Function 'png_set_cHRM_fixed' argument 8 names different: declaration 'int_green_y' definition 'green_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:89:68: note: Function 'png_set_cHRM_fixed' argument 8 names different: declaration 'int_green_y' definition 'green_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:90:20: style:inconclusive: Function 'png_set_cHRM_fixed' argument 9 names different: declaration 'int_blue_x' definition 'blue_x'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2160:44: note: Function 'png_set_cHRM_fixed' argument 9 names different: declaration 'int_blue_x' definition 'blue_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:90:20: note: Function 'png_set_cHRM_fixed' argument 9 names different: declaration 'int_blue_x' definition 'blue_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:90:44: style:inconclusive: Function 'png_set_cHRM_fixed' argument 10 names different: declaration 'int_blue_y' definition 'blue_y'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2160:44: note: Function 'png_set_cHRM_fixed' argument 10 names different: declaration 'int_blue_y' definition 'blue_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:90:44: note: Function 'png_set_cHRM_fixed' argument 10 names different: declaration 'int_blue_y' definition 'blue_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:181:4: style:inconclusive: Function 'png_set_gAMA_fixed' argument 3 names different: declaration 'int_file_gamma' definition 'int_gamma'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2182:44: note: Function 'png_set_gAMA_fixed' argument 3 names different: declaration 'int_file_gamma' definition 'int_gamma'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:181:4: note: Function 'png_set_gAMA_fixed' argument 3 names different: declaration 'int_file_gamma' definition 'int_gamma'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:262:24: style:inconclusive: Function 'png_set_IHDR' argument 7 names different: declaration 'interlace_method' definition 'interlace_type'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2201:38: note: Function 'png_set_IHDR' argument 7 names different: declaration 'interlace_method' definition 'interlace_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:262:24: note: Function 'png_set_IHDR' argument 7 names different: declaration 'interlace_method' definition 'interlace_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:262:44: style:inconclusive: Function 'png_set_IHDR' argument 8 names different: declaration 'compression_method' definition 'compression_type'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2201:38: note: Function 'png_set_IHDR' argument 8 names different: declaration 'compression_method' definition 'compression_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:262:44: note: Function 'png_set_IHDR' argument 8 names different: declaration 'compression_method' definition 'compression_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:263:8: style:inconclusive: Function 'png_set_IHDR' argument 9 names different: declaration 'filter_method' definition 'filter_type'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2201:38: note: Function 'png_set_IHDR' argument 9 names different: declaration 'filter_method' definition 'filter_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:263:8: note: Function 'png_set_IHDR' argument 9 names different: declaration 'filter_method' definition 'filter_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:1078:59: style:inconclusive: Function 'png_permit_mng_features' argument 2 names different: declaration 'mng_features_permitted' definition 'mng_features'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2463:56: note: Function 'png_permit_mng_features' argument 2 names different: declaration 'mng_features_permitted' definition 'mng_features'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:1078:59: note: Function 'png_permit_mng_features' argument 2 names different: declaration 'mng_features_permitted' definition 'mng_features'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:562:42: warning: Expression 'num_palette' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversionCond] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:535:20: note: Assuming that condition 'num_palette<0' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngset.c:562:42: note: Negative value is converted to an unsigned value VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngtrans.c:94:61: style:inconclusive: Function 'png_set_filler' argument 3 names different: declaration 'flags' definition 'filler_loc'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:1552:40: note: Function 'png_set_filler' argument 3 names different: declaration 'flags' definition 'filler_loc'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngtrans.c:94:61: note: Function 'png_set_filler' argument 3 names different: declaration 'flags' definition 'filler_loc'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngtrans.c:126:64: style:inconclusive: Function 'png_set_add_alpha' argument 3 names different: declaration 'flags' definition 'filler_loc'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:1559:43: note: Function 'png_set_add_alpha' argument 3 names different: declaration 'flags' definition 'filler_loc'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngtrans.c:126:64: note: Function 'png_set_add_alpha' argument 3 names different: declaration 'flags' definition 'filler_loc'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwrite.c:422:11: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwrite.c:405:61: style: Parameter 'ttime' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwrite.c:679:32: error: Uninitialized variable: tmp_jmp [uninitvar] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwrite.c:1115:32: error: Uninitialized variable: tmp_jmp [uninitvar] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwtran.c:440:33: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwtran.c:458:33: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwtran.c:496:33: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:931:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:991:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:1286:19: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:521:4: warning: Return value of function deflateInit2() is not used. [ignoredReturnValue] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:372:39: style:inconclusive: Function 'png_write_IHDR' argument 6 names different: declaration 'compression_method' definition 'compression_type'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2965:32: note: Function 'png_write_IHDR' argument 6 names different: declaration 'compression_method' definition 'compression_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:372:39: note: Function 'png_write_IHDR' argument 6 names different: declaration 'compression_method' definition 'compression_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:372:61: style:inconclusive: Function 'png_write_IHDR' argument 7 names different: declaration 'filter_method' definition 'filter_type'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2965:32: note: Function 'png_write_IHDR' argument 7 names different: declaration 'filter_method' definition 'filter_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:372:61: note: Function 'png_write_IHDR' argument 7 names different: declaration 'filter_method' definition 'filter_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:373:8: style:inconclusive: Function 'png_write_IHDR' argument 8 names different: declaration 'interlace_method' definition 'interlace_type'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:2965:32: note: Function 'png_write_IHDR' argument 8 names different: declaration 'interlace_method' definition 'interlace_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:373:8: note: Function 'png_write_IHDR' argument 8 names different: declaration 'interlace_method' definition 'interlace_type'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:703:41: style:inconclusive: Function 'png_write_sRGB' argument 2 names different: declaration 'intent' definition 'srgb_intent'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3010:32: note: Function 'png_write_sRGB' argument 2 names different: declaration 'intent' definition 'srgb_intent'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:703:41: note: Function 'png_write_sRGB' argument 2 names different: declaration 'intent' definition 'srgb_intent'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:723:27: style:inconclusive: Function 'png_write_iCCP' argument 5 names different: declaration 'proflen' definition 'profile_len'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3015:32: note: Function 'png_write_iCCP' argument 5 names different: declaration 'proflen' definition 'profile_len'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:723:27: note: Function 'png_write_iCCP' argument 5 names different: declaration 'proflen' definition 'profile_len'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:774:49: style:inconclusive: Function 'png_write_sPLT' argument 2 names different: declaration 'palette' definition 'spalette'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3022:32: note: Function 'png_write_sPLT' argument 2 names different: declaration 'palette' definition 'spalette'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:774:49: note: Function 'png_write_sPLT' argument 2 names different: declaration 'palette' definition 'spalette'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:975:59: style:inconclusive: Function 'png_write_cHRM_fixed' argument 2 names different: declaration 'int_white_x' definition 'white_x'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3001:38: note: Function 'png_write_cHRM_fixed' argument 2 names different: declaration 'int_white_x' definition 'white_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:975:59: note: Function 'png_write_cHRM_fixed' argument 2 names different: declaration 'int_white_x' definition 'white_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:976:20: style:inconclusive: Function 'png_write_cHRM_fixed' argument 3 names different: declaration 'int_white_y' definition 'white_y'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3001:38: note: Function 'png_write_cHRM_fixed' argument 3 names different: declaration 'int_white_y' definition 'white_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:976:20: note: Function 'png_write_cHRM_fixed' argument 3 names different: declaration 'int_white_y' definition 'white_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:976:45: style:inconclusive: Function 'png_write_cHRM_fixed' argument 4 names different: declaration 'int_red_x' definition 'red_x'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3001:38: note: Function 'png_write_cHRM_fixed' argument 4 names different: declaration 'int_red_x' definition 'red_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:976:45: note: Function 'png_write_cHRM_fixed' argument 4 names different: declaration 'int_red_x' definition 'red_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:976:68: style:inconclusive: Function 'png_write_cHRM_fixed' argument 5 names different: declaration 'int_red_y' definition 'red_y'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3001:38: note: Function 'png_write_cHRM_fixed' argument 5 names different: declaration 'int_red_y' definition 'red_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:976:68: note: Function 'png_write_cHRM_fixed' argument 5 names different: declaration 'int_red_y' definition 'red_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:977:20: style:inconclusive: Function 'png_write_cHRM_fixed' argument 6 names different: declaration 'int_green_x' definition 'green_x'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3001:38: note: Function 'png_write_cHRM_fixed' argument 6 names different: declaration 'int_green_x' definition 'green_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:977:20: note: Function 'png_write_cHRM_fixed' argument 6 names different: declaration 'int_green_x' definition 'green_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:977:45: style:inconclusive: Function 'png_write_cHRM_fixed' argument 7 names different: declaration 'int_green_y' definition 'green_y'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3001:38: note: Function 'png_write_cHRM_fixed' argument 7 names different: declaration 'int_green_y' definition 'green_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:977:45: note: Function 'png_write_cHRM_fixed' argument 7 names different: declaration 'int_green_y' definition 'green_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:977:70: style:inconclusive: Function 'png_write_cHRM_fixed' argument 8 names different: declaration 'int_blue_x' definition 'blue_x'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3001:38: note: Function 'png_write_cHRM_fixed' argument 8 names different: declaration 'int_blue_x' definition 'blue_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:977:70: note: Function 'png_write_cHRM_fixed' argument 8 names different: declaration 'int_blue_x' definition 'blue_x'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:978:20: style:inconclusive: Function 'png_write_cHRM_fixed' argument 9 names different: declaration 'int_blue_y' definition 'blue_y'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3001:38: note: Function 'png_write_cHRM_fixed' argument 9 names different: declaration 'int_blue_y' definition 'blue_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:978:20: note: Function 'png_write_cHRM_fixed' argument 9 names different: declaration 'int_blue_y' definition 'blue_y'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:1030:68: style:inconclusive: Function 'png_write_tRNS' argument 3 names different: declaration 'values' definition 'tran'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3027:32: note: Function 'png_write_tRNS' argument 3 names different: declaration 'values' definition 'tran'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:1030:68: note: Function 'png_write_tRNS' argument 3 names different: declaration 'values' definition 'tran'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:1031:8: style:inconclusive: Function 'png_write_tRNS' argument 4 names different: declaration 'number' definition 'num_trans'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3027:32: note: Function 'png_write_tRNS' argument 4 names different: declaration 'number' definition 'num_trans'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:1031:8: note: Function 'png_write_tRNS' argument 4 names different: declaration 'number' definition 'num_trans'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:1085:51: style:inconclusive: Function 'png_write_bKGD' argument 2 names different: declaration 'values' definition 'back'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:3032:32: note: Function 'png_write_bKGD' argument 2 names different: declaration 'values' definition 'back'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngwutil.c:1085:51: note: Function 'png_write_bKGD' argument 2 names different: declaration 'values' definition 'back'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:1048:24: style: Condition 'sr>8' is always false [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:1044:18: note: Assignment 'sr=8-png_ptr->sig_bit.red', assigned value is less than 9 VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:1048:24: note: Condition 'sr>8' is always false VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:1050:24: style: Condition 'sg>8' is always false [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:1045:18: note: Assignment 'sg=8-png_ptr->sig_bit.green', assigned value is less than 9 VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:1050:24: note: Condition 'sg>8' is always false VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:1052:24: style: Condition 'sb>8' is always false [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:1046:18: note: Assignment 'sb=8-png_ptr->sig_bit.blue', assigned value is less than 9 VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:1052:24: note: Condition 'sb>8' is always false VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:1225:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'png_uint_32 {aka unsigned long}'. [invalidPrintfArgType_sint] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:632:29: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:633:31: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/crc32.c:236:13: style: Condition '*((unsigned char*)(&endian))' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/crc32.c:235:18: note: Assignment 'endian=1', assigned value is 1 VisualBoyAdvance-1.8.0/win32/dependencies/zlib/crc32.c:236:13: note: Condition '*((unsigned char*)(&endian))' is always true VisualBoyAdvance-1.8.0/win32/dependencies/zlib/crc32.c:343:20: style: Parameter 'mat' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:533:43: style:inconclusive: Function 'png_set_gamma' argument 2 names different: declaration 'screen_gamma' definition 'scrn_gamma'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:1624:39: note: Function 'png_set_gamma' argument 2 names different: declaration 'screen_gamma' definition 'scrn_gamma'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:533:43: note: Function 'png_set_gamma' argument 2 names different: declaration 'screen_gamma' definition 'scrn_gamma'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:533:62: style:inconclusive: Function 'png_set_gamma' argument 3 names different: declaration 'default_file_gamma' definition 'file_gamma'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/libpng/png.h:1624:39: note: Function 'png_set_gamma' argument 3 names different: declaration 'default_file_gamma' definition 'file_gamma'. VisualBoyAdvance-1.8.0/win32/dependencies/libpng/pngrtran.c:533:62: note: Function 'png_set_gamma' argument 3 names different: declaration 'default_file_gamma' definition 'file_gamma'. VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:122:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:264:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:302:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:412:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:521:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:816:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:866:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:944:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:1001:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:101:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:400:12: style: Variable 'start' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:894:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:911:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:991:11: style: Variable 'm' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/gzio.c:19:28: style: struct member 'internal_state::dummy' is never used. [unusedStructMember] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:663:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:657:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:663:36: note: Condition 's->pending==s->pending_buf_size' is always true VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:692:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:686:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:692:36: note: Condition 's->pending==s->pending_buf_size' is always true VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:723:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:717:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:723:36: note: Condition 's->pending==s->pending_buf_size' is always true VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:493:20: style: Variable 's' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:902:20: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:1042:11: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:1182:21: style: Variable 'strend' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:161:32: style: struct member 'static_tree_desc_s::dummy' is never used. [unusedStructMember] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:352:30: style: Variable 'hash_head' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/deflate.c:1669:9: style: Variable 'bflush' is assigned a value that is never used. [unreadVariable] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/infback.c:255:24: style: Variable 'from' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/inffast.c:73:24: style: Variable 'last' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/inffast.c:75:24: style: Variable 'beg' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/inffast.c:76:24: style: Variable 'end' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/inffast.c:83:24: style: Variable 'window' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/inftrees.c:285:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable op [valueFlowBailoutIncompleteVar] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/inftrees.c:34:21: style: Parameter 'lens' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/inflate.c:1314:11: style:inconclusive: Function 'inflateSyncPoint' argument 1 names different: declaration 'z' definition 'strm'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/zlib.h:1350:49: note: Function 'inflateSyncPoint' argument 1 names different: declaration 'z' definition 'strm'. VisualBoyAdvance-1.8.0/win32/dependencies/zlib/inflate.c:1314:11: note: Function 'inflateSyncPoint' argument 1 names different: declaration 'z' definition 'strm'. VisualBoyAdvance-1.8.0/win32/dependencies/zlib/inflate.c:566:24: style: Variable 'from' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/inflate.c:1241:20: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/inflate.c:1316:31: style: Variable 'state' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/inflate.c:1327:31: style: Variable 'state' can be declared as pointer to const [constVariablePointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/zutil.c:305:31: style: Same expression on both sides of '-'. [duplicateExpression] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/trees.c:1147:14: style:inconclusive: Function 'bi_reverse' argument 1 names different: declaration 'value' definition 'code'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/trees.c:156:27: note: Function 'bi_reverse' argument 1 names different: declaration 'value' definition 'code'. VisualBoyAdvance-1.8.0/win32/dependencies/zlib/trees.c:1147:14: note: Function 'bi_reverse' argument 1 names different: declaration 'value' definition 'code'. VisualBoyAdvance-1.8.0/win32/dependencies/zlib/trees.c:1148:9: style:inconclusive: Function 'bi_reverse' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/trees.c:156:27: note: Function 'bi_reverse' argument 2 names different: declaration 'length' definition 'len'. VisualBoyAdvance-1.8.0/win32/dependencies/zlib/trees.c:1148:9: note: Function 'bi_reverse' argument 2 names different: declaration 'length' definition 'len'. VisualBoyAdvance-1.8.0/win32/dependencies/zlib/trees.c:457:14: style: Parameter 'tree' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/trees.c:580:11: style: Parameter 'bl_count' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/trees.c:1199:15: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] VisualBoyAdvance-1.8.0/win32/dependencies/zlib/zutil.c:11:33: style: struct member 'internal_state::dummy' is never used. [unusedStructMember] VisualBoyAdvance-1.8.0/src/GBA.cpp:1043:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1045:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1048:28: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1506:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1512:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1554:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1557:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1561:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1568:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1575:16: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1582:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1589:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1596:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1603:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1630:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1630:48: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1882:3: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1896:3: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:1963:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2211:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2215:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2219:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2353:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2363:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2422:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2432:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2492:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2502:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2547:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2557:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2574:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2592:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2605:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2612:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2616:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2620:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2624:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2628:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2632:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2636:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2640:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2644:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2648:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2652:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2656:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2660:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2664:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2668:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2672:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2676:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2681:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2686:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2691:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2696:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2700:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2704:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2708:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2712:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2717:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2722:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2727:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2732:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2737:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2742:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2746:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2750:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2754:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2758:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2762:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2768:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2772:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2807:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2811:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2815:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2819:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2823:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2831:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2842:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2846:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2850:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2854:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2858:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2866:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2877:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2881:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2885:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2889:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2893:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2902:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2914:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2918:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2922:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2926:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2930:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2939:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2984:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2986:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2990:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2994:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:2997:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3001:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3007:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3050:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3056:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3063:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3066:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3080:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3084:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3094:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3098:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3107:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3111:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3120:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3124:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3151:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3160:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3174:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3188:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3197:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3306:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3311:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3318:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3336:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3465:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3466:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3604:3: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3605:3: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3606:3: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3607:3: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3608:3: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3609:3: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3610:3: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3611:3: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3666:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3764:3: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3789:3: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2405:3: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2469:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2470:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2716:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2743:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2770:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2797:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2818:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2841:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2862:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2885:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2906:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2929:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2950:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2973:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3000:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3027:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3054:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3081:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3102:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3125:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3146:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3169:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3190:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3213:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3234:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3257:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3284:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3311:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3338:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3365:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3386:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3409:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3430:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3453:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3474:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3497:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3518:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3541:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3548:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3549:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3596:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3597:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3598:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3599:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3600:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3601:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3652:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3653:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3710:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3711:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3768:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3769:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3830:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3848:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3870:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3886:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3893:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3899:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3916:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3933:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3934:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3935:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3936:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3937:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3938:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3939:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3940:5: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:3992:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:4141:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:4165:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:4189:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:4213:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:4235:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:4259:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:4281:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:4305:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:4423:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:4448:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:4470:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:4494:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:4516:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:4540:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5052:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5081:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5116:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5150:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5178:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5207:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5242:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5276:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5299:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5323:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5353:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5382:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5407:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5433:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5465:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5496:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5519:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5543:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5573:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5602:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5627:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5653:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5685:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:5716:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6228:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6257:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6292:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6326:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6354:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6383:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6418:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6452:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6475:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6499:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6529:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6558:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6583:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6609:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6641:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6672:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6695:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6719:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6749:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6778:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6803:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6829:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6861:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:6892:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:7651:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:7692:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:7738:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:7742:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:7821:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:7825:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:7900:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:7941:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:7985:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:7989:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8068:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8072:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8149:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8190:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8236:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8240:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8319:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8323:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8398:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8444:9: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8488:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8492:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8571:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8575:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8631:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:8650:7: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:799:1: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1293:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1305:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1369:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1386:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1409:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1417:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1434:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1442:10: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1466:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1708:22: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1857:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1951:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1966:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1981:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:1996:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:2011:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:2026:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:2041:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:2056:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:2071:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:2086:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:2101:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:2116:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:2131:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:2146:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:2178:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/thumb.h:2222:6: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3925:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3927:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3932:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3935:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3941:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3943:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3954:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3983:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3984:27: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3993:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:3998:21: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4018:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4021:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4033:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4043:31: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4071:30: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4073:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4075:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4077:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4079:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4082:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4084:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4086:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4088:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4091:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4093:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4095:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4097:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4100:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4102:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4104:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4106:23: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4113:31: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4141:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4146:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4161:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4165:11: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4178:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4181:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4191:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4195:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4208:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4211:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4220:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4224:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4236:19: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4239:15: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4247:17: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/GBA.cpp:4251:13: style: C-style pointer casting [cstyleCast] VisualBoyAdvance-1.8.0/src/arm-new.h:2403:13: style: Variable 'armNextPC' is reassigned a value before the old one has been used. [redundantAssignment] VisualBoyAdvance-1.8.0/src/arm-new.h:2399:14: note: armNextPC is assigned VisualBoyAdvance-1.8.0/src/arm-new.h:2403:13: note: armNextPC is overwritten VisualBoyAdvance-1.8.0/src/thumb.h:797:11: style: Variable 'armNextPC' is reassigned a value before the old one has been used. [redundantAssignment] VisualBoyAdvance-1.8.0/src/thumb.h:793:12: note: armNextPC is assigned VisualBoyAdvance-1.8.0/src/thumb.h:797:11: note: armNextPC is overwritten VisualBoyAdvance-1.8.0/src/thumb.h:1898:17: style: Variable 'clockTicks' is reassigned a value before the old one has been used. [redundantAssignment] VisualBoyAdvance-1.8.0/src/thumb.h:1897:6: note: clockTicks is assigned VisualBoyAdvance-1.8.0/src/thumb.h:1898:17: note: clockTicks is overwritten VisualBoyAdvance-1.8.0/src/GBA.cpp:1178:8: style: Local variable 'buffer' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/GBA.cpp:154:6: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/GBA.cpp:1178:8: note: Shadow variable VisualBoyAdvance-1.8.0/src/GBA.cpp:1228:6: style: Local variable 'buffer' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/GBA.cpp:154:6: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/GBA.cpp:1228:6: note: Shadow variable VisualBoyAdvance-1.8.0/src/GBA.cpp:3416:9: style: Local variable 'count' shadows outer variable [shadowVariable] VisualBoyAdvance-1.8.0/src/GBA.cpp:157:5: note: Shadowed declaration VisualBoyAdvance-1.8.0/src/GBA.cpp:3416:9: note: Shadow variable VisualBoyAdvance-1.8.0/src/GBA.cpp:909:25: error: Uninitialized variable: romname [uninitvar] VisualBoyAdvance-1.8.0/src/GBA.cpp:1622:26: style: Variable 'mirroredRomAddress' is assigned a value that is never used. [unreadVariable] diff: head /usr/lib/bison.simple:376:34: style: C-style pointer casting [cstyleCast] head /usr/lib/bison.simple:379:34: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/src/Cheats.cpp:1636:27: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/src/Flash.cpp:113:45: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/src/GBA.cpp:1630:48: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/src/gb/GB.cpp:1337:38: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2244:41: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2421:33: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/src/gb/GB.cpp:2422:33: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3746:31: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/src/gb/GB.cpp:3747:31: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/src/gb/GB.cpp:4764:23: style: Variable 'wy' is assigned a value that is never used. [unreadVariable] head VisualBoyAdvance-1.8.0/src/gb/gbCheats.cpp:180:7: style: Variable 'address' is assigned a value that is never used. [unreadVariable] 2.17.0 VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:171:10: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:168:29: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:168:29: note: Assignment 'lines=g_strsplit(sBuffer.c_str(),"\n",0)', assigned value is 0 VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:171:10: note: Null pointer dereference 2.17.0 VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:173:9: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:168:29: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:168:29: note: Assignment 'lines=g_strsplit(sBuffer.c_str(),"\n",0)', assigned value is 0 VisualBoyAdvance-1.8.0/src/gtk/configfile.cpp:173:9: note: Null pointer dereference head VisualBoyAdvance-1.8.0/src/gtk/intl.h:24:3: error: #error "GETTEXT_PACKAGE must be defined" [preprocessorErrorDirective] head VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:1697:39: style: Array index 'p' is used before limits check. [arrayIndexThenCheck] head VisualBoyAdvance-1.8.0/src/sdl/debugger.cpp:995:39: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/src/win32/VBA.h:26:2: error: #error include 'stdafx.h' before including this file for PCH [preprocessorErrorDirective] head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1456:15: performance:inconclusive: Technically the member function 'CxImage::IsPowerof2' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:531:7: note: Technically the member function 'CxImage::IsPowerof2' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1456:15: note: Technically the member function 'CxImage::IsPowerof2' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1473:15: performance:inconclusive: Technically the member function 'CxImage::FFT' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:532:7: note: Technically the member function 'CxImage::FFT' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1473:15: note: Technically the member function 'CxImage::FFT' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1545:15: performance:inconclusive: Technically the member function 'CxImage::DFT' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:533:7: note: Technically the member function 'CxImage::DFT' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1545:15: note: Technically the member function 'CxImage::DFT' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1858:14: performance:inconclusive: Technically the member function 'CxImage::gen_convolve_matrix' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:536:6: note: Technically the member function 'CxImage::gen_convolve_matrix' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1858:14: note: Technically the member function 'CxImage::gen_convolve_matrix' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1940:17: performance:inconclusive: Technically the member function 'CxImage::gen_lookup_table' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:537:9: note: Technically the member function 'CxImage::gen_lookup_table' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1940:17: note: Technically the member function 'CxImage::gen_lookup_table' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1964:15: performance:inconclusive: Technically the member function 'CxImage::blur_line' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:538:7: note: Technically the member function 'CxImage::blur_line' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1964:15: note: Technically the member function 'CxImage::blur_line' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:237:28: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:242:27: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:260:15: style:inconclusive: Technically the member function 'CxImage::IsInside' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:290:7: note: Technically the member function 'CxImage::IsInside' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:260:15: note: Technically the member function 'CxImage::IsInside' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:328:15: style:inconclusive: Technically the member function 'CxImage::Bitfield2RGB' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:635:7: note: Technically the member function 'CxImage::Bitfield2RGB' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:328:15: note: Technically the member function 'CxImage::Bitfield2RGB' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:492:15: performance:inconclusive: Technically the member function 'CxImage::FreeMemory' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:207:7: note: Technically the member function 'CxImage::FreeMemory' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:492:15: note: Technically the member function 'CxImage::FreeMemory' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:207:7: performance:inconclusive: Technically the member function 'CxImage::FreeMemory' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:492:15: note: Technically the member function 'CxImage::FreeMemory' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:207:7: note: Technically the member function 'CxImage::FreeMemory' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:221:14: style:inconclusive: Technically the member function 'CxImage::GetLastError' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:366:22: note: Technically the member function 'CxImage::GetLastError' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:221:14: note: Technically the member function 'CxImage::GetLastError' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:222:15: performance:inconclusive: Technically the member function 'CxImage::GetVersion' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:383:23: note: Technically the member function 'CxImage::GetVersion' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:222:15: note: Technically the member function 'CxImage::GetVersion' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:223:14: performance:inconclusive: Technically the member function 'CxImage::GetVersionNumber' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:378:22: note: Technically the member function 'CxImage::GetVersionNumber' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:223:14: note: Technically the member function 'CxImage::GetVersionNumber' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:228:7: style:inconclusive: Technically the member function 'CxImage::GetOffset' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:230:15: note: Technically the member function 'CxImage::GetOffset' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:228:7: note: Technically the member function 'CxImage::GetOffset' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:256:8: style:inconclusive: Technically the member function 'CxImage::GetCodecOption' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:131:16: note: Technically the member function 'CxImage::GetCodecOption' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:256:8: note: Technically the member function 'CxImage::GetCodecOption' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:269:7: style:inconclusive: Technically the member function 'CxImage::IsGrayScale' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:445:15: note: Technically the member function 'CxImage::IsGrayScale' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:269:7: note: Technically the member function 'CxImage::IsGrayScale' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:272:8: style:inconclusive: Technically the member function 'CxImage::GetPaletteSize' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:12:16: note: Technically the member function 'CxImage::GetPaletteSize' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:272:8: note: Technically the member function 'CxImage::GetPaletteSize' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:275:7: style:inconclusive: Technically the member function 'CxImage::GetPaletteColor' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:361:15: note: Technically the member function 'CxImage::GetPaletteColor' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:275:7: note: Technically the member function 'CxImage::GetPaletteColor' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:278:7: style:inconclusive: Technically the member function 'CxImage::SetGrayPalette' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:413:15: note: Technically the member function 'CxImage::SetGrayPalette' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:278:7: note: Technically the member function 'CxImage::SetGrayPalette' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:286:7: style:inconclusive: Technically the member function 'CxImage::SetStdPalette' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:655:15: note: Technically the member function 'CxImage::SetStdPalette' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:286:7: note: Technically the member function 'CxImage::SetStdPalette' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:290:7: style:inconclusive: Technically the member function 'CxImage::IsInside' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:260:15: note: Technically the member function 'CxImage::IsInside' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:290:7: note: Technically the member function 'CxImage::IsInside' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:293:7: style:inconclusive: Technically the member function 'CxImage::GetPixelIndex' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:94:15: note: Technically the member function 'CxImage::GetPixelIndex' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:293:7: note: Technically the member function 'CxImage::GetPixelIndex' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:305:7: style:inconclusive: Technically the member function 'CxImage::BlindGetPixelIndex' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:120:15: note: Technically the member function 'CxImage::BlindGetPixelIndex' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:305:7: note: Technically the member function 'CxImage::BlindGetPixelIndex' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:351:8: performance:inconclusive: Technically the member function 'CxImage::AddAveragingCont' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:531:15: note: Technically the member function 'CxImage::AddAveragingCont' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:351:8: note: Technically the member function 'CxImage::AddAveragingCont' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:531:7: performance:inconclusive: Technically the member function 'CxImage::IsPowerof2' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1456:15: note: Technically the member function 'CxImage::IsPowerof2' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:531:7: note: Technically the member function 'CxImage::IsPowerof2' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:532:7: performance:inconclusive: Technically the member function 'CxImage::FFT' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1473:15: note: Technically the member function 'CxImage::FFT' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:532:7: note: Technically the member function 'CxImage::FFT' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:533:7: performance:inconclusive: Technically the member function 'CxImage::DFT' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1545:15: note: Technically the member function 'CxImage::DFT' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:533:7: note: Technically the member function 'CxImage::DFT' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:536:6: performance:inconclusive: Technically the member function 'CxImage::gen_convolve_matrix' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1858:14: note: Technically the member function 'CxImage::gen_convolve_matrix' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:536:6: note: Technically the member function 'CxImage::gen_convolve_matrix' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:537:9: performance:inconclusive: Technically the member function 'CxImage::gen_lookup_table' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1940:17: note: Technically the member function 'CxImage::gen_lookup_table' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:537:9: note: Technically the member function 'CxImage::gen_lookup_table' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:538:7: performance:inconclusive: Technically the member function 'CxImage::blur_line' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximadsp.cpp:1964:15: note: Technically the member function 'CxImage::blur_line' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:538:7: note: Technically the member function 'CxImage::blur_line' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:568:7: style:inconclusive: Technically the member function 'CxImage::SelectionInvert' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:148:15: note: Technically the member function 'CxImage::SelectionInvert' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:568:7: note: Technically the member function 'CxImage::SelectionInvert' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:576:7: style:inconclusive: Technically the member function 'CxImage::SelectionIsValid' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:14:15: note: Technically the member function 'CxImage::SelectionIsValid' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:576:7: note: Technically the member function 'CxImage::SelectionIsValid' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:588:7: style:inconclusive: Technically the member function 'CxImage::AlphaInvert' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:85:15: note: Technically the member function 'CxImage::AlphaInvert' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:588:7: note: Technically the member function 'CxImage::AlphaInvert' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:600:7: style:inconclusive: Technically the member function 'CxImage::AlphaIsValid' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:32:15: note: Technically the member function 'CxImage::AlphaIsValid' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:600:7: note: Technically the member function 'CxImage::AlphaIsValid' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:605:7: style:inconclusive: Technically the member function 'CxImage::AlphaPaletteIsEnabled' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:48:15: note: Technically the member function 'CxImage::AlphaPaletteIsEnabled' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:605:7: note: Technically the member function 'CxImage::AlphaPaletteIsEnabled' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:612:7: style:inconclusive: Technically the member function 'CxImage::BlindAlphaGet' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:161:15: note: Technically the member function 'CxImage::BlindAlphaGet' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:612:7: note: Technically the member function 'CxImage::BlindAlphaGet' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:633:7: style:inconclusive: Technically the member function 'CxImage::RGBtoBGR' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:330:15: note: Technically the member function 'CxImage::RGBtoBGR' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:633:7: note: Technically the member function 'CxImage::RGBtoBGR' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:635:7: style:inconclusive: Technically the member function 'CxImage::Bitfield2RGB' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.cpp:328:15: note: Technically the member function 'CxImage::Bitfield2RGB' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:635:7: note: Technically the member function 'CxImage::Bitfield2RGB' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1233:18: performance:inconclusive: Technically the member function 'CxImageGIF::seek_next_image' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:182:7: note: Technically the member function 'CxImageGIF::seek_next_image' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1233:18: note: Technically the member function 'CxImageGIF::seek_next_image' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1252:18: style:inconclusive: Technically the member function 'CxImageGIF::GetDisposalMethod' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:145:7: note: Technically the member function 'CxImageGIF::GetDisposalMethod' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1252:18: note: Technically the member function 'CxImageGIF::GetDisposalMethod' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1258:18: style:inconclusive: Technically the member function 'CxImageGIF::GetLoops' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:141:7: note: Technically the member function 'CxImageGIF::GetLoops' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1258:18: note: Technically the member function 'CxImageGIF::GetLoops' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1329:18: performance:inconclusive: Technically the member function 'CxImageGIF::rle_clear' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:230:7: note: Technically the member function 'CxImageGIF::rle_clear' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1329:18: note: Technically the member function 'CxImageGIF::rle_clear' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1465:26: performance:inconclusive: Technically the member function 'CxImageGIF::rle_isqrt' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:238:15: note: Technically the member function 'CxImageGIF::rle_isqrt' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1465:26: note: Technically the member function 'CxImageGIF::rle_isqrt' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:557:18: style:inconclusive: Technically the member function 'CxImageGIF::EncodeComment' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:153:7: note: Technically the member function 'CxImageGIF::EncodeComment' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:557:18: note: Technically the member function 'CxImageGIF::EncodeComment' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:633:18: performance:inconclusive: Technically the member function 'CxImageGIF::Putword' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:169:7: note: Technically the member function 'CxImageGIF::Putword' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:633:18: note: Technically the member function 'CxImageGIF::Putword' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:811:18: style:inconclusive: Technically the member function 'CxImageGIF::cl_hash' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:173:7: note: Technically the member function 'CxImageGIF::cl_hash' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:811:18: note: Technically the member function 'CxImageGIF::cl_hash' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:141:7: style:inconclusive: Technically the member function 'CxImageGIF::GetLoops' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1258:18: note: Technically the member function 'CxImageGIF::GetLoops' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:141:7: note: Technically the member function 'CxImageGIF::GetLoops' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:145:7: style:inconclusive: Technically the member function 'CxImageGIF::GetDisposalMethod' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1252:18: note: Technically the member function 'CxImageGIF::GetDisposalMethod' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:145:7: note: Technically the member function 'CxImageGIF::GetDisposalMethod' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:153:7: style:inconclusive: Technically the member function 'CxImageGIF::EncodeComment' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:557:18: note: Technically the member function 'CxImageGIF::EncodeComment' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:153:7: note: Technically the member function 'CxImageGIF::EncodeComment' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:169:7: performance:inconclusive: Technically the member function 'CxImageGIF::Putword' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:633:18: note: Technically the member function 'CxImageGIF::Putword' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:169:7: note: Technically the member function 'CxImageGIF::Putword' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:173:7: style:inconclusive: Technically the member function 'CxImageGIF::cl_hash' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:811:18: note: Technically the member function 'CxImageGIF::cl_hash' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:173:7: note: Technically the member function 'CxImageGIF::cl_hash' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:182:7: performance:inconclusive: Technically the member function 'CxImageGIF::seek_next_image' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1233:18: note: Technically the member function 'CxImageGIF::seek_next_image' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:182:7: note: Technically the member function 'CxImageGIF::seek_next_image' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:230:7: performance:inconclusive: Technically the member function 'CxImageGIF::rle_clear' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1329:18: note: Technically the member function 'CxImageGIF::rle_clear' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:230:7: note: Technically the member function 'CxImageGIF::rle_clear' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:238:15: performance:inconclusive: Technically the member function 'CxImageGIF::rle_isqrt' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.cpp:1465:26: note: Technically the member function 'CxImageGIF::rle_isqrt' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximagif.h:238:15: note: Technically the member function 'CxImageGIF::rle_isqrt' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:32:26: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:29:51: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:29:29: note: Assignment 'icon_list=(struct CxImageICO::tagIconDirectoryEntry*)malloc(icon_header.idCount*sizeof(struct CxImageICO::tagIconDirectoryEntry))', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:32:26: note: Null pointer addition head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:32:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:29:51: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:29:29: note: Assignment 'icon_list=(struct CxImageICO::tagIconDirectoryEntry*)malloc(icon_header.idCount*sizeof(struct CxImageICO::tagIconDirectoryEntry))', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaico.cpp:32:26: note: Null pointer addition head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:131:16: style:inconclusive: Technically the member function 'CxImage::GetCodecOption' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:256:8: note: Technically the member function 'CxImage::GetCodecOption' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:131:16: note: Technically the member function 'CxImage::GetCodecOption' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:230:15: style:inconclusive: Technically the member function 'CxImage::GetOffset' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:228:7: note: Technically the member function 'CxImage::GetOffset' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:230:15: note: Technically the member function 'CxImage::GetOffset' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:366:22: style:inconclusive: Technically the member function 'CxImage::GetLastError' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:221:14: note: Technically the member function 'CxImage::GetLastError' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:366:22: note: Technically the member function 'CxImage::GetLastError' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:378:22: performance:inconclusive: Technically the member function 'CxImage::GetVersionNumber' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:223:14: note: Technically the member function 'CxImage::GetVersionNumber' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:378:22: note: Technically the member function 'CxImage::GetVersionNumber' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:383:23: performance:inconclusive: Technically the member function 'CxImage::GetVersion' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:222:15: note: Technically the member function 'CxImage::GetVersion' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximainfo.cpp:383:23: note: Technically the member function 'CxImage::GetVersion' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:531:15: performance:inconclusive: Technically the member function 'CxImage::AddAveragingCont' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:351:8: note: Technically the member function 'CxImage::AddAveragingCont' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximaint.cpp:531:15: note: Technically the member function 'CxImage::AddAveragingCont' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:161:15: style:inconclusive: Technically the member function 'CxImage::BlindAlphaGet' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:612:7: note: Technically the member function 'CxImage::BlindAlphaGet' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:161:15: note: Technically the member function 'CxImage::BlindAlphaGet' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:32:15: style:inconclusive: Technically the member function 'CxImage::AlphaIsValid' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:600:7: note: Technically the member function 'CxImage::AlphaIsValid' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:32:15: note: Technically the member function 'CxImage::AlphaIsValid' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:48:15: style:inconclusive: Technically the member function 'CxImage::AlphaPaletteIsEnabled' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:605:7: note: Technically the member function 'CxImage::AlphaPaletteIsEnabled' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:48:15: note: Technically the member function 'CxImage::AlphaPaletteIsEnabled' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:85:15: style:inconclusive: Technically the member function 'CxImage::AlphaInvert' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:588:7: note: Technically the member function 'CxImage::AlphaInvert' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximalpha.cpp:85:15: note: Technically the member function 'CxImage::AlphaInvert' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:120:15: style:inconclusive: Technically the member function 'CxImage::BlindGetPixelIndex' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:305:7: note: Technically the member function 'CxImage::BlindGetPixelIndex' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:120:15: note: Technically the member function 'CxImage::BlindGetPixelIndex' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:12:16: style:inconclusive: Technically the member function 'CxImage::GetPaletteSize' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:272:8: note: Technically the member function 'CxImage::GetPaletteSize' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:12:16: note: Technically the member function 'CxImage::GetPaletteSize' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:298:55: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:330:15: style:inconclusive: Technically the member function 'CxImage::RGBtoBGR' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:633:7: note: Technically the member function 'CxImage::RGBtoBGR' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:330:15: note: Technically the member function 'CxImage::RGBtoBGR' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:361:15: style:inconclusive: Technically the member function 'CxImage::GetPaletteColor' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:275:7: note: Technically the member function 'CxImage::GetPaletteColor' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:361:15: note: Technically the member function 'CxImage::GetPaletteColor' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:413:15: style:inconclusive: Technically the member function 'CxImage::SetGrayPalette' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:278:7: note: Technically the member function 'CxImage::SetGrayPalette' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:413:15: note: Technically the member function 'CxImage::SetGrayPalette' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:445:15: style:inconclusive: Technically the member function 'CxImage::IsGrayScale' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:269:7: note: Technically the member function 'CxImage::IsGrayScale' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:445:15: note: Technically the member function 'CxImage::IsGrayScale' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:487:21: style: C-style pointer casting [cstyleCast] head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:655:15: style:inconclusive: Technically the member function 'CxImage::SetStdPalette' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:286:7: note: Technically the member function 'CxImage::SetStdPalette' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:655:15: note: Technically the member function 'CxImage::SetStdPalette' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:94:15: style:inconclusive: Technically the member function 'CxImage::GetPixelIndex' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:293:7: note: Technically the member function 'CxImage::GetPixelIndex' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapal.cpp:94:15: note: Technically the member function 'CxImage::GetPixelIndex' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:304:18: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_PlanesToPixels' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:54:7: note: Technically the member function 'CxImagePCX::PCX_PlanesToPixels' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:304:18: note: Technically the member function 'CxImagePCX::PCX_PlanesToPixels' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:333:18: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_UnpackPixels' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:55:7: note: Technically the member function 'CxImagePCX::PCX_UnpackPixels' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:333:18: note: Technically the member function 'CxImagePCX::PCX_UnpackPixels' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:374:18: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_PackPixels' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:56:7: note: Technically the member function 'CxImagePCX::PCX_PackPixels' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:374:18: note: Technically the member function 'CxImagePCX::PCX_PackPixels' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:395:18: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_PackPlanes' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:57:7: note: Technically the member function 'CxImagePCX::PCX_PackPlanes' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:395:18: note: Technically the member function 'CxImagePCX::PCX_PackPlanes' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:401:16: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:30: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:17: note: Assignment 'plane=(unsigned char*)malloc(pcxHeader.BytesPerLine)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:280:20: note: Calling function 'PCX_PackPlanes', 1st argument 'plane' value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:401:16: note: Null pointer addition head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:401:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:30: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:17: note: Assignment 'plane=(unsigned char*)malloc(pcxHeader.BytesPerLine)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:280:20: note: Calling function 'PCX_PackPlanes', 1st argument 'plane' value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:401:16: note: Null pointer addition 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:402:22: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:30: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:17: note: Assignment 'plane=(unsigned char*)malloc(pcxHeader.BytesPerLine)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:280:20: note: Calling function 'PCX_PackPlanes', 1st argument 'plane' value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:400:10: note: Assignment 'start=buff', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:402:22: note: Null pointer addition head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:402:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:30: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:17: note: Assignment 'plane=(unsigned char*)malloc(pcxHeader.BytesPerLine)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:280:20: note: Calling function 'PCX_PackPlanes', 1st argument 'plane' value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:400:10: note: Assignment 'start=buff', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:402:22: note: Null pointer addition head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:427:18: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_PixelsToPlanes' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:58:7: note: Technically the member function 'CxImagePCX::PCX_PixelsToPlanes' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:427:18: note: Technically the member function 'CxImagePCX::PCX_PixelsToPlanes' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:430:28: error: If memory allocation fail: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:30: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:17: note: Assignment 'plane=(unsigned char*)malloc(pcxHeader.BytesPerLine)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:279:43: note: Calling function 'PCX_PixelsToPlanes', 3rd argument 'plane' value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:430:28: note: Null pointer subtraction head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:430:28: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:30: note: Assuming allocation function fails VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:269:17: note: Assignment 'plane=(unsigned char*)malloc(pcxHeader.BytesPerLine)', assigned value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:279:43: note: Calling function 'PCX_PixelsToPlanes', 3rd argument 'plane' value is 0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:430:28: note: Null pointer subtraction 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:54:7: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_PlanesToPixels' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:304:18: note: Technically the member function 'CxImagePCX::PCX_PlanesToPixels' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:54:7: note: Technically the member function 'CxImagePCX::PCX_PlanesToPixels' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:55:7: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_UnpackPixels' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:333:18: note: Technically the member function 'CxImagePCX::PCX_UnpackPixels' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:55:7: note: Technically the member function 'CxImagePCX::PCX_UnpackPixels' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:56:7: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_PackPixels' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:374:18: note: Technically the member function 'CxImagePCX::PCX_PackPixels' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:56:7: note: Technically the member function 'CxImagePCX::PCX_PackPixels' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:57:7: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_PackPlanes' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:395:18: note: Technically the member function 'CxImagePCX::PCX_PackPlanes' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:57:7: note: Technically the member function 'CxImagePCX::PCX_PackPlanes' can be static (but you may consider moving to unnamed namespace). 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:58:7: performance:inconclusive: Technically the member function 'CxImagePCX::PCX_PixelsToPlanes' can be static (but you may consider moving to unnamed namespace). [functionStatic] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.cpp:427:18: note: Technically the member function 'CxImagePCX::PCX_PixelsToPlanes' can be static (but you may consider moving to unnamed namespace). VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximapcx.h:58:7: note: Technically the member function 'CxImagePCX::PCX_PixelsToPlanes' can be static (but you may consider moving to unnamed namespace). head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:148:15: style:inconclusive: Technically the member function 'CxImage::SelectionInvert' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:568:7: note: Technically the member function 'CxImage::SelectionInvert' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:148:15: note: Technically the member function 'CxImage::SelectionInvert' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:14:15: style:inconclusive: Technically the member function 'CxImage::SelectionIsValid' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximage.h:576:7: note: Technically the member function 'CxImage::SelectionIsValid' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximasel.cpp:14:15: note: Technically the member function 'CxImage::SelectionIsValid' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.cpp:25:17: style:inconclusive: Technically the member function 'CxPoint2::Distance' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.h:14:9: note: Technically the member function 'CxPoint2::Distance' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.cpp:25:17: note: Technically the member function 'CxPoint2::Distance' can be const. head VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.cpp:30:17: style:inconclusive: Technically the member function 'CxPoint2::Distance' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.h:15:9: note: Technically the member function 'CxPoint2::Distance' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.cpp:30:17: note: Technically the member function 'CxPoint2::Distance' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.h:14:9: style:inconclusive: Technically the member function 'CxPoint2::Distance' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.cpp:25:17: note: Technically the member function 'CxPoint2::Distance' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.h:14:9: note: Technically the member function 'CxPoint2::Distance' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.h:15:9: style:inconclusive: Technically the member function 'CxPoint2::Distance' can be const. [functionConst] VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.cpp:30:17: note: Technically the member function 'CxPoint2::Distance' can be const. VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximath.h:15:9: note: Technically the member function 'CxPoint2::Distance' can be const. 2.17.0 VisualBoyAdvance-1.8.0/win32/dependencies/cximage/ximatran.cpp:1798:15: style: Same value in both branches of ternary operator. [duplicateValueTernary] DONE