DACA2 - 7

STARTDATE 2018-08-21
STARTTIME 21:34:25
GIT-REVISION 0ca6ab1

ftp://ftp.se.debian.org/debian/pool/main/7/7kaa/7kaa_2.14.7+dfsg.orig.tar.gz
7kaa-2.14.7/src/OAI_ACT.cpp:57:14: style: The scope of the variable 'actionNode' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_ACT.cpp:413:14: style: The scope of the variable 'actionNode' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_ACT.cpp:463:14: style: The scope of the variable 'actionNode' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_ACT.cpp:502:14: style: The scope of the variable 'actionNode' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_ACT2.cpp:322:23: style: Variable 'firmInfo' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OAI_ATTK.cpp:93:37: style: Same expression on both sides of '-' because the value of 'originalTargetCombatLevel' and 'targetCombatLevel' are the same. [duplicateExpression]
7kaa-2.14.7/src/OAI_ATTK.cpp:88:35: note: 'originalTargetCombatLevel' is assigned value 'targetCombatLevel' here.
7kaa-2.14.7/src/OAI_ATTK.cpp:93:37: note: Same expression on both sides of '-' because the value of 'originalTargetCombatLevel' and 'targetCombatLevel' are the same.
7kaa-2.14.7/src/OAI_ATTK.cpp:116:11: style: The scope of the variable 'j' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_ATTK.cpp:129:8: style: The scope of the variable 'townCampCount' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_ATTK.cpp:291:26: style: The scope of the variable 'protectionNeeded' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_ATTK.cpp:486:8: style: The scope of the variable 'xLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_ATTK.cpp:486:14: style: The scope of the variable 'yLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_ATTK.cpp:591:6: style: The scope of the variable 'travelDays' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_BUIL.cpp:139:9: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_BUIL.cpp:305:23: style: Variable 'fixedExpense' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OAI_CAP2.cpp:267:8: style: The scope of the variable 'neededCombatLevel' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_CAP2.cpp:439:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_CAP2.cpp:562:12: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_CAPT.cpp:300:6: style: The scope of the variable 'targetResistance' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_CAPT.cpp:228:0: style: Variable 'captureRating' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OAI_DEFE.cpp:79:2: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode]
7kaa-2.14.7/src/OAI_DIPL.cpp:365:14: style: The scope of the variable 'nationPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_DIPL.cpp:479:13: style: The scope of the variable 'nationPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_DIPL.cpp:373:15: style: Variable 'nationPtr' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OAI_DIPL.cpp:487:15: style: Variable 'nationPtr' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OAI_GRAN.cpp:724:10: style: The scope of the variable 'nationPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_GRAN.cpp:726:18: style: The scope of the variable 'ourNationRelation' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_GRAN.cpp:726:38: style: The scope of the variable 'enemyNationRelation' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_INFO.cpp:222:6: style: The scope of the variable 'regionRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_INFO.cpp:363:15: style: The scope of the variable 'unitCaravan' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_MAR2.cpp:205:14: style: Variable 'unitCount' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OAI_MAR3.cpp:230:14: style: The scope of the variable 'unitMarine' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_MAR3.cpp:394:14: style: The scope of the variable 'unitMarine' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_MARI.cpp:198:34: style: The scope of the variable 'bestYLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_MARI.cpp:199:12: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_MARI.cpp:377:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_MARI.cpp:462:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_MILI.cpp:111:12: style: The scope of the variable 'firmCamp' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_SEEK.cpp:52:12: style: The scope of the variable 'minePtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_SEEK.cpp:454:8: style: The scope of the variable 'originFirmRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OAI_SPY.cpp:146:11: style: Variable 'spyPtr' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OAI_TALK.cpp:637:39: style: Function 'has_sent_same_msg' argument 1 names different: declaration 'talkMsg' definition 'talkMsgPtr'. [funcArgNamesDifferent]
7kaa-2.14.7/src/OAI_TALK.cpp:33:39: note: Function 'has_sent_same_msg' argument 1 names different: declaration 'talkMsg' definition 'talkMsgPtr'.
7kaa-2.14.7/src/OAI_TALK.cpp:637:39: note: Function 'has_sent_same_msg' argument 1 names different: declaration 'talkMsg' definition 'talkMsgPtr'.
7kaa-2.14.7/src/OAI_TALK.cpp:767:23: style: Variable 'relationStatus' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OBATTLE.cpp:418:6: style: Condition 'dispProgress' is always true [knownConditionTrueFalse]
7kaa-2.14.7/src/OBATTLE.cpp:412:27: note: Assignment 'dispProgress=1', assigned value is 1
7kaa-2.14.7/src/OBATTLE.cpp:418:6: note: Condition 'dispProgress' is always true
7kaa-2.14.7/src/OBATTLE.cpp:521:6: style: Condition 'dispProgress' is always true [knownConditionTrueFalse]
7kaa-2.14.7/src/OBATTLE.cpp:412:27: note: Assignment 'dispProgress=1', assigned value is 1
7kaa-2.14.7/src/OBATTLE.cpp:521:6: note: Condition 'dispProgress' is always true
7kaa-2.14.7/src/OBATTLE.cpp:534:6: style: Condition 'dispProgress' is always true [knownConditionTrueFalse]
7kaa-2.14.7/src/OBATTLE.cpp:412:27: note: Assignment 'dispProgress=1', assigned value is 1
7kaa-2.14.7/src/OBATTLE.cpp:534:6: note: Condition 'dispProgress' is always true
7kaa-2.14.7/src/OBATTLE.cpp:553:6: style: Condition 'dispProgress' is always true [knownConditionTrueFalse]
7kaa-2.14.7/src/OBATTLE.cpp:412:27: note: Assignment 'dispProgress=1', assigned value is 1
7kaa-2.14.7/src/OBATTLE.cpp:553:6: note: Condition 'dispProgress' is always true
7kaa-2.14.7/src/OBATTLE.cpp:598:7: style: Condition 'dispProgress' is always true [knownConditionTrueFalse]
7kaa-2.14.7/src/OBATTLE.cpp:412:27: note: Assignment 'dispProgress=1', assigned value is 1
7kaa-2.14.7/src/OBATTLE.cpp:598:7: note: Condition 'dispProgress' is always true
7kaa-2.14.7/src/OBATTLE.cpp:611:6: style: Condition 'dispProgress' is always true [knownConditionTrueFalse]
7kaa-2.14.7/src/OBATTLE.cpp:412:27: note: Assignment 'dispProgress=1', assigned value is 1
7kaa-2.14.7/src/OBATTLE.cpp:611:6: note: Condition 'dispProgress' is always true
7kaa-2.14.7/src/OBATTLE.cpp:162:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OBATTLE.cpp:778:27: style: The scope of the variable 'townResistance' can be reduced. [variableScope]
7kaa-2.14.7/src/OBATTLE.cpp:925:14: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OBATTLE.cpp:396:17: style: Variable 'nationRecno' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OBULLET.cpp:443:8: style: The scope of the variable 'x' can be reduced. [variableScope]
7kaa-2.14.7/src/OBULLET.cpp:443:10: style: The scope of the variable 'y' can be reduced. [variableScope]
7kaa-2.14.7/src/OBULLET.cpp:528:8: style: The scope of the variable 'x' can be reduced. [variableScope]
7kaa-2.14.7/src/OBULLET.cpp:528:10: style: The scope of the variable 'y' can be reduced. [variableScope]
7kaa-2.14.7/src/OBULLETA.cpp:294:8: style: Condition '!found' is always true [knownConditionTrueFalse]
7kaa-2.14.7/src/OBULLETA.cpp:264:14: note: Assignment 'found=0', assigned value is 0
7kaa-2.14.7/src/OBULLETA.cpp:294:8: note: Condition '!found' is always true
7kaa-2.14.7/src/OBULLETA.cpp:148:6: style: The scope of the variable 'curXLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OBULLETA.cpp:148:15: style: The scope of the variable 'curYLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OBULLETA.cpp:265:8: style: The scope of the variable 'end' can be reduced. [variableScope]
7kaa-2.14.7/src/OBULLETA.cpp:355:27: style: Variable 'attackInfo' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OBULLETA.cpp:402:27: style: Variable 'attackInfo' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OBUTTON.cpp:166:6: style: The scope of the variable 'strLen' can be reduced. [variableScope]
7kaa-2.14.7/src/OB_PROJ.cpp:82:29: style: Variable 'spriteFrame' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OCOLTBL.cpp:124:13: warning: Redundant assignment of 'table_size' to itself. [selfAssignment]
7kaa-2.14.7/src/ODYNARR.cpp:446:12: style: The scope of the variable 'ptrPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/ODYNARR.cpp:447:12: style: The scope of the variable 'charPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/ODYNARRB.cpp:391:8: style: The scope of the variable 'elePtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OERRCTRL.cpp:258:7: style: Condition 'simError' is always true [knownConditionTrueFalse]
7kaa-2.14.7/src/OFILETXT.cpp:197:10: style: The scope of the variable 'pc' can be reduced. [variableScope]
7kaa-2.14.7/src/OFILETXT.cpp:304:9: style: The scope of the variable 'ch' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRM.cpp:923:47: style: The scope of the variable 'workerSkill' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRM.cpp:1211:9: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRM.cpp:1778:11: style: The scope of the variable 'townNationRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRM.cpp:1779:11: style: The scope of the variable 'workerPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRM.cpp:2165:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRM.cpp:2559:8: style: The scope of the variable 'unitRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRM.cpp:2604:21: style: The scope of the variable 'townRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRM.cpp:2604:32: style: The scope of the variable 'raceId' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRM.cpp:2605:6: style: The scope of the variable 'oldWorkerCount' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRM.cpp:3184:10: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRM.cpp:3185:10: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRM.cpp:1118:23: style: Variable 'nationPtr' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRM.cpp:1863:0: style: Variable 'payWorkerCount' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRM.cpp:2030:0: style: Variable 'popAdded' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRM.cpp:2442:23: style: Variable 'unitInfo' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRM2.cpp:86:0: style: Variable 'unitRecno' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRMA.cpp:332:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMA.cpp:461:9: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMA.cpp:488:9: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMA.cpp:519:12: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMA.cpp:310:13: style: Variable 'xLoc' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRMA.cpp:311:13: style: Variable 'yLoc' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRMAI.cpp:310:11: style: The scope of the variable 'rc' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDIE.cpp:108:22: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OFIRMDIE.cpp:102:17: style: The scope of the variable 'firmBitmap' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDIE.cpp:149:22: style: The scope of the variable 'frameRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDIE.cpp:149:34: style: The scope of the variable 'bitmapRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDIE.cpp:193:9: style: The scope of the variable 'minOffsetX' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDIE.cpp:193:21: style: The scope of the variable 'minOffsetY' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDIE.cpp:194:8: style: The scope of the variable 'maxX2' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDIE.cpp:194:15: style: The scope of the variable 'maxY2' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDIE.cpp:356:17: style: The scope of the variable 'firmBitmap' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDRW.cpp:280:14: style: The scope of the variable 'firmBitmap' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDRW.cpp:315:10: style: The scope of the variable 'firmX' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDRW.cpp:315:17: style: The scope of the variable 'firmY' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDRW.cpp:315:24: style: The scope of the variable 'townX' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDRW.cpp:315:31: style: The scope of the variable 'townY' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDRW.cpp:316:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDRW.cpp:317:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMDRW.cpp:210:42: style: Variable 'hitPerPixel' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRMDRW.cpp:318:23: style: Variable 'firmInfo' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRMIF.cpp:62:15: style: The scope of the variable 'lastFirmRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMIF.cpp:63:15: style: The scope of the variable 'lastShouldShowInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMIF.cpp:64:15: style: The scope of the variable 'lastPlayerSpyCount' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMIF.cpp:362:6: style: The scope of the variable 'overseerRaceId' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMIF.cpp:372:8: style: The scope of the variable 'x' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMIF.cpp:372:11: style: The scope of the variable 'y' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMIF.cpp:486:9: style: The scope of the variable 'x' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMIF.cpp:486:12: style: The scope of the variable 'y' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMIF.cpp:230:14: style: Variable 'sliderX1' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRMIF.cpp:232:13: style: Variable 'sliderX2' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRMIF.cpp:365:20: style: Variable 'overseerRaceId' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRMIF.cpp:548:46: error: Uninitialized variable: hitBarColor [uninitvar]
7kaa-2.14.7/src/OFIRMIF3.cpp:110:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRMIF3.cpp:503:13: style: Variable 'raceId' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRMIF3.cpp:539:8: style: Variable 'x' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OFIRMRES.cpp:117:18: style: The scope of the variable 'firmBitmap' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMRES.cpp:161:22: style: The scope of the variable 'frameRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMRES.cpp:161:34: style: The scope of the variable 'bitmapRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMRES.cpp:207:9: style: The scope of the variable 'minOffsetX' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMRES.cpp:207:21: style: The scope of the variable 'minOffsetY' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMRES.cpp:208:8: style: The scope of the variable 'maxX2' can be reduced. [variableScope]
7kaa-2.14.7/src/OFIRMRES.cpp:208:15: style: The scope of the variable 'maxY2' can be reduced. [variableScope]
7kaa-2.14.7/src/OFLAME.cpp:239:17: style: The scope of the variable 'p' can be reduced. [variableScope]
7kaa-2.14.7/src/OFLAME.cpp:771:17: style: The scope of the variable 'p' can be reduced. [variableScope]
7kaa-2.14.7/src/OFLAME.cpp:772:17: style: The scope of the variable 'd' can be reduced. [variableScope]
7kaa-2.14.7/src/OFLAME.cpp:773:10: style: The scope of the variable 'y' can be reduced. [variableScope]
7kaa-2.14.7/src/OFONT.cpp:182:20: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OFONT.cpp:263:8: style: The scope of the variable 'textChar' can be reduced. [variableScope]
7kaa-2.14.7/src/OFONT.cpp:457:8: style: The scope of the variable 'textChar' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_CAMP.cpp:866:19: style: Opposite expression on both sides of '&&'. [oppositeExpression]
7kaa-2.14.7/src/OF_CAMP.cpp:866:19: note: Opposite expression on both sides of '&&'.
7kaa-2.14.7/src/OF_CAMP.cpp:866:19: note: Opposite expression on both sides of '&&'.
7kaa-2.14.7/src/OF_CAMP.cpp:270:6: style: The scope of the variable 'unitRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_CAMP.cpp:271:8: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_CAMP.cpp:827:8: style: The scope of the variable 'unitRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_CAMP.cpp:1264:4: style: Variable 'found' is modified but its new value is never used. [unreadVariable]
7kaa-2.14.7/src/OF_CAMP2.cpp:178:8: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_CAMP2.cpp:432:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_CAMP2.cpp:491:10: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_CAMP2.cpp:848:9: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_CAMP2.cpp:1152:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_CAMP2.cpp:1237:12: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_CAMP2.cpp:493:22: style: Variable 'nationPtr' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OF_CAMP2.cpp:735:27: style: Variable 'prefPeacefulness' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OF_CAMP2.cpp:809:15: style: Variable 'combatDiff' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OF_CAMP2.cpp:1001:22: style: Variable 'ownNation' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OF_FACT.cpp:101:25: style: The scope of the variable 'firmDistance' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_FACT2.cpp:94:14: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_HARB.cpp:127:6: style: The scope of the variable 'shipUnitRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_HARB.cpp:414:14: style: The scope of the variable 'unitMarine' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_HARB.cpp:541:8: style: The scope of the variable 'x' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_HARB.cpp:541:11: style: The scope of the variable 'y' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_HARB.cpp:815:10: style: The scope of the variable 'unitId' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_HARB.cpp:815:42: style: The scope of the variable 'rc' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_HARB.cpp:816:12: style: The scope of the variable 'unitInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_HARB.cpp:1147:10: style: The scope of the variable 'nationPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_HARB.cpp:1006:15: style: Variable 'dispY1' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OF_HARB2.cpp:111:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_HARB2.cpp:211:14: style: The scope of the variable 'unitMarine' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_INN.cpp:523:11: style: The scope of the variable 'firmInn' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_MARK.cpp:360:2: warning: Either the condition 'if(unitCaravan)' is redundant or there is possible null pointer dereference: unitCaravan. [nullPointerRedundantCheck]
7kaa-2.14.7/src/OF_MARK.cpp:365:4: note: Assuming that condition 'if(unitCaravan)' is not redundant
7kaa-2.14.7/src/OF_MARK.cpp:360:2: note: Null pointer dereference
7kaa-2.14.7/src/OF_MARK.cpp:361:2: warning: Either the condition 'if(unitCaravan)' is redundant or there is possible null pointer dereference: unitCaravan. [nullPointerRedundantCheck]
7kaa-2.14.7/src/OF_MARK.cpp:365:4: note: Assuming that condition 'if(unitCaravan)' is not redundant
7kaa-2.14.7/src/OF_MARK.cpp:361:2: note: Null pointer dereference
7kaa-2.14.7/src/OF_MARK.cpp:922:6: style: The scope of the variable 'rawId' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_MARK.cpp:922:13: style: The scope of the variable 'productId' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_MARK.cpp:953:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_MARK.cpp:971:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_MARK.cpp:287:32: style: Variable 'marketGoods' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OF_MARK.cpp:344:22: style: Variable 'nationPtr' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OF_MARK2.cpp:411:10: style: The scope of the variable 'firmRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_MARK2.cpp:627:10: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_MARK2.cpp:670:13: style: The scope of the variable 'firmRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_MARK2.cpp:191:22: style: Variable 'nationPtr' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OF_MINE2.cpp:102:14: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_MONS.cpp:177:2: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode]
7kaa-2.14.7/src/OF_MONS.cpp:866:7: style: The scope of the variable 'unitRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_MONS.cpp:867:8: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_MONS.cpp:929:12: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_MONS.cpp:1087:8: style: The scope of the variable 'firmRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_MONS.cpp:180:8: style: Variable 'x' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OF_MONS.cpp:180:21: style: Variable 'y' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OF_MONS.cpp:358:23: style: Variable 'unitInfo' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OF_RESE.cpp:357:3: style: Variable 'x2' is modified but its new value is never used. [unreadVariable]
7kaa-2.14.7/src/OF_RESE.cpp:358:3: style: Variable 'y2' is modified but its new value is never used. [unreadVariable]
7kaa-2.14.7/src/OF_RESE.cpp:592:17: style: Variable 'techId' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OF_RESE2.cpp:101:12: style: The scope of the variable 'techInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_WAR.cpp:259:13: style: The scope of the variable 'unitInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_WAR.cpp:295:10: style: The scope of the variable 'unitId' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_WAR.cpp:295:42: style: The scope of the variable 'rc' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_WAR.cpp:296:12: style: The scope of the variable 'unitInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OF_WAR.cpp:295:20: style: Variable 'x' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OF_WAR.cpp:303:14: style: Variable 'unitInfo' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OF_WAR2.cpp:181:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OGAME.cpp:128:7: debug: Wrong data detected by condition !tok->next()->astOperand2() [DacaWrongData]
7kaa-2.14.7/src/OGAMEMP.cpp:3012:39: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3014:34: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3123:9: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3130:14: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3136:39: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3140:30: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3144:20: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3152:41: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3279:42: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3281:39: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3299:19: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3328:48: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3334:11: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3336:34: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3341:11: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3350:19: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3373:50: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3379:11: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3381:46: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3386:11: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3396:31: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3412:31: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3432:32: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3436:15: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3462:35: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3476:29: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:3478:42: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:4085:6: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:4133:14: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:4141:17: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:4142:30: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:4148:39: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:4159:35: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:4173:38: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:4179:32: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:4252:11: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:4911:39: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:4913:34: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5024:9: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5031:14: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5037:39: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5041:30: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5045:20: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5060:49: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5153:42: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5155:39: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5174:31: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5190:31: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5210:32: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5214:15: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5240:35: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5254:29: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5256:42: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5477:8: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5585:14: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5594:35: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5618:38: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5624:32: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:5690:11: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OGAMEMP.cpp:249:10: style: Variable 'this->address.host' is reassigned a value before the old one has been used if variable is no semaphore variable. [redundantAssignment]
7kaa-2.14.7/src/OGAMEMP.cpp:248:10: note: Variable 'this->address.host' is reassigned a value before the old one has been used if variable is no semaphore variable.
7kaa-2.14.7/src/OGAMEMP.cpp:249:10: note: Variable 'this->address.host' is reassigned a value before the old one has been used if variable is no semaphore variable.
7kaa-2.14.7/src/OGAMEMP.cpp:2309:3: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode]
7kaa-2.14.7/src/OGAMEMP.cpp:4035:7: style: The scope of the variable 'trial' can be reduced. [variableScope]
7kaa-2.14.7/src/OGAMEMP.cpp:4036:17: style: The scope of the variable 'startTime' can be reduced. [variableScope]
7kaa-2.14.7/src/OGAMEMP.cpp:5438:7: style: The scope of the variable 'trial' can be reduced. [variableScope]
7kaa-2.14.7/src/OGAMEMP.cpp:5439:17: style: The scope of the variable 'startTime' can be reduced. [variableScope]
7kaa-2.14.7/src/OGAMEMP.cpp:192:2: warning: Member variable 'MpStructNation::nation_recno' is not initialized in the constructor. [uninitMemberVar]
7kaa-2.14.7/src/OGAMEMP.cpp:192:2: warning: Member variable 'MpStructNation::color_scheme' is not initialized in the constructor. [uninitMemberVar]
7kaa-2.14.7/src/OGAMEMP.cpp:192:2: warning: Member variable 'MpStructNation::race_id' is not initialized in the constructor. [uninitMemberVar]
7kaa-2.14.7/src/OGAMEMP.cpp:192:2: warning: Member variable 'MpStructNation::player_name' is not initialized in the constructor. [uninitMemberVar]
7kaa-2.14.7/src/OGAMEMP.cpp:331:11: style: Member variable 'MpStructLoadGameNewPlayer::ver1' is in the wrong place in the initializer list. [initializerList]
7kaa-2.14.7/src/OGAMEMP.cpp:347:3: note: Member variable 'MpStructLoadGameNewPlayer::ver1' is in the wrong place in the initializer list.
7kaa-2.14.7/src/OGAMEMP.cpp:331:11: note: Member variable 'MpStructLoadGameNewPlayer::ver1' is in the wrong place in the initializer list.
7kaa-2.14.7/src/OGAMEMP.cpp:157:2: style: Struct 'MpStructBase' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMEMP.cpp:163:2: style: Struct 'MpStructSeed' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMEMP.cpp:170:2: style: Struct 'MpStructSeedStr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMEMP.cpp:178:2: style: Struct 'MpStructSeedStr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMEMP.cpp:216:2: style: Struct 'MpStructConfig' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMEMP.cpp:262:2: style: Struct 'MpStructRefuseNewPlayer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMEMP.cpp:276:2: style: Struct 'MpStructAcquireColor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMEMP.cpp:298:2: style: Struct 'MpStructAcquireRace' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMEMP.cpp:320:2: style: Struct 'MpStructPlayerReady' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMEMP.cpp:326:2: style: Struct 'MpStructPlayerUnready' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMEMP.cpp:375:2: style: Struct 'MpStructSyncLevel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMEMP.cpp:393:2: style: Struct 'MpStructLatencyReturn' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMEMP.cpp:403:2: style: Struct 'MpStructProcessFrameDelay' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMEMP.cpp:412:9: style: Struct 'MpStructPlayerId' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMEMP.cpp:419:2: style: Struct 'MpStructPlayerDisconnect' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
7kaa-2.14.7/src/OGAMENCY.cpp:222:44: error: Array 'monster_page_index[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds]
7kaa-2.14.7/src/OGAMENCY.cpp:217:4: note: After for loop, monsterSubClass has value 4
7kaa-2.14.7/src/OGAMENCY.cpp:222:44: note: Array index out of bounds
7kaa-2.14.7/src/OGAMENCY.cpp:406:49: error: Array 'monster_button_name_array[3]' accessed at index 3, which is out of bounds. [arrayIndexOutOfBounds]
7kaa-2.14.7/src/OGAMENCY.cpp:401:3: note: After for loop, monsterSubClass has value 4
7kaa-2.14.7/src/OGAMENCY.cpp:406:49: note: Array index out of bounds
7kaa-2.14.7/src/OGAMEND.cpp:529:6: style: The scope of the variable 'rankScore' can be reduced. [variableScope]
7kaa-2.14.7/src/OGAMEND.cpp:430:13: style: Variable 'y' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OGAMESET.cpp:68:13: style: The scope of the variable 'setRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OGAMESET.cpp:69:15: style: The scope of the variable 'setInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OGAMESET.cpp:70:15: style: The scope of the variable 'dataPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OGAMMENU.cpp:754:13: style: The scope of the variable 'accSectionWeight' can be reduced. [variableScope]
7kaa-2.14.7/src/OGAMSCE2.cpp:385:9: style: The scope of the variable 'rec' can be reduced. [variableScope]
7kaa-2.14.7/src/OGAMSCEN.cpp:74:11: style: The scope of the variable 'txtFileName' can be reduced. [variableScope]
7kaa-2.14.7/src/OGENMAP.cpp:46:6: style: Condition 'dispProgress' is always true [knownConditionTrueFalse]
7kaa-2.14.7/src/OGENMAP.cpp:41:27: note: Assignment 'dispProgress=1', assigned value is 1
7kaa-2.14.7/src/OGENMAP.cpp:46:6: note: Condition 'dispProgress' is always true
7kaa-2.14.7/src/OGENMAP.cpp:94:6: style: Condition 'dispProgress' is always true [knownConditionTrueFalse]
7kaa-2.14.7/src/OGENMAP.cpp:41:27: note: Assignment 'dispProgress=1', assigned value is 1
7kaa-2.14.7/src/OGENMAP.cpp:94:6: note: Condition 'dispProgress' is always true
7kaa-2.14.7/src/OGENMAP.cpp:809:12: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OGFILE.cpp:271:9: style: The scope of the variable 'nameChar' can be reduced. [variableScope]
7kaa-2.14.7/src/OGFILE.cpp:300:12: style: The scope of the variable 'gameFile' can be reduced. [variableScope]
7kaa-2.14.7/src/OGFILE3.cpp:66:10: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OGFILE3.cpp:128:13: style: The scope of the variable 'unitId' can be reduced. [variableScope]
7kaa-2.14.7/src/OGFILE3.cpp:560:10: style: The scope of the variable 'bulletPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OGFILE3.cpp:618:57: style: The scope of the variable 'spriteId' can be reduced. [variableScope]
7kaa-2.14.7/src/OGFILE3.cpp:886:10: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OGFILE3.cpp:946:13: style: The scope of the variable 'firmId' can be reduced. [variableScope]
7kaa-2.14.7/src/OGFILE3.cpp:1109:10: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OGFILE3.cpp:1297:12: style: The scope of the variable 'nationPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OGFILE3.cpp:2026:13: style: The scope of the variable 'tornadoPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OGFILE3.cpp:155:10: style: Variable 'emptyRoomCount' is modified but its new value is never used. [unreadVariable]
7kaa-2.14.7/src/OGFILE3.cpp:573:4: style: Variable 'emptyRoomCount' is modified but its new value is never used. [unreadVariable]
7kaa-2.14.7/src/OGFILE3.cpp:630:4: style: Variable 'emptyRoomCount' is modified but its new value is never used. [unreadVariable]
7kaa-2.14.7/src/OGFILEA.cpp:746:12: style: The scope of the variable 'gameFilePtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OGODRES.cpp:85:11: style: The scope of the variable 'godInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OHELP.cpp:144:12: style: The scope of the variable 'readLen' can be reduced. [variableScope]
7kaa-2.14.7/src/OHELP.cpp:146:10: style: The scope of the variable 'tokenStr' can be reduced. [variableScope]
7kaa-2.14.7/src/OIMGRES.cpp:168:37: warning: Either the condition 'if(bitmapPtr)' is redundant or there is possible null pointer dereference: bitmapPtr. [nullPointerRedundantCheck]
7kaa-2.14.7/src/OIMGRES.cpp:170:4: note: Assuming that condition 'if(bitmapPtr)' is not redundant
7kaa-2.14.7/src/OIMGRES.cpp:168:37: note: Null pointer dereference
7kaa-2.14.7/src/OIMGRES.cpp:168:74: warning: Either the condition 'if(bitmapPtr)' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck]
7kaa-2.14.7/src/OIMGRES.cpp:170:4: note: Assuming that condition 'if(bitmapPtr)' is not redundant
7kaa-2.14.7/src/OIMGRES.cpp:168:74: note: Null pointer addition
7kaa-2.14.7/src/OINFO.cpp:395:8: style: Variable 'x' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OINGMENU.cpp:207:4: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode]
7kaa-2.14.7/src/OLIGHTN.cpp:165:6: style: The scope of the variable 'prex' can be reduced. [variableScope]
7kaa-2.14.7/src/OLIGHTN.cpp:165:12: style: The scope of the variable 'prey' can be reduced. [variableScope]
7kaa-2.14.7/src/OLIGHTN.cpp:220:6: style: The scope of the variable 'prex' can be reduced. [variableScope]
7kaa-2.14.7/src/OLIGHTN.cpp:220:12: style: The scope of the variable 'prey' can be reduced. [variableScope]
7kaa-2.14.7/src/OLZW.cpp:208:10: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OLZW.cpp:294:16: style: The scope of the variable 'character' can be reduced. [variableScope]
7kaa-2.14.7/src/OLZW.cpp:296:17: style: The scope of the variable 'index' can be reduced. [variableScope]
7kaa-2.14.7/src/OLZW.cpp:358:17: style: The scope of the variable 'oldCode' can be reduced. [variableScope]
7kaa-2.14.7/src/OLZW.cpp:359:16: style: The scope of the variable 'character' can be reduced. [variableScope]
7kaa-2.14.7/src/OLZW.cpp:468:28: style: Variable 'initCode' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OMATRIX.cpp:196:12: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OMEM.cpp:72:17: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OMEM.cpp:104:20: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OMEM.cpp:167:16: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OMISC.cpp:174:23: style: Array index 'i' is used before limits check. [arrayIndexThenCheck]
7kaa-2.14.7/src/OMISC.cpp:212:23: style: Array index 'i' is used before limits check. [arrayIndexThenCheck]
7kaa-2.14.7/src/OMONSRES.cpp:88:17: style: The scope of the variable 'monsterInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OMONSRES.cpp:128:6: style: The scope of the variable 'monsterId' can be reduced. [variableScope]
7kaa-2.14.7/src/OMONSRES.cpp:194:6: style: The scope of the variable 'monsterId' can be reduced. [variableScope]
7kaa-2.14.7/src/OMOUSE.cpp:1297:42: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/OMOUSE.cpp:1302:47: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/OMOUSE.cpp:1303:34: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/OMOUSE.cpp:1304:34: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/OMOUSE.cpp:1449:56: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/OMOUSECR.cpp:140:16: style: The scope of the variable 'cursorRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OMOUSECR.cpp:141:18: style: The scope of the variable 'cursorInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/ONATIONA.cpp:303:10: style: The scope of the variable 'nationPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/ONATIONA.cpp:370:10: style: The scope of the variable 'nationPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/ONATIONA.cpp:400:10: style: The scope of the variable 'nationPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/ONATIONA.cpp:906:14: style: The scope of the variable 'humanNameOneWord' can be reduced. [variableScope]
7kaa-2.14.7/src/ONATIONB.cpp:1485:6: style: The scope of the variable 'techLevel' can be reduced. [variableScope]
7kaa-2.14.7/src/ONEWS.cpp:233:6: style: The scope of the variable 'newsRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/ONEWS.cpp:458:8: style: The scope of the variable 'newsPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OOPTMENU.cpp:386:3: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode]
7kaa-2.14.7/src/OOPTMENU.cpp:215:6: style: The scope of the variable 'i' can be reduced. [variableScope]
7kaa-2.14.7/src/OOPTMENU.cpp:216:10: style: The scope of the variable 'tempConfig' can be reduced. [variableScope]
7kaa-2.14.7/src/OPLANT.cpp:101:15: style: The scope of the variable 'plantRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OPLANT.cpp:102:15: style: The scope of the variable 'plantInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OPLANT.cpp:178:19: style: The scope of the variable 'plantBitmap' can be reduced. [variableScope]
7kaa-2.14.7/src/OPLASMA.cpp:96:8: style: The scope of the variable 'i' can be reduced. [variableScope]
7kaa-2.14.7/src/OPLASMA.cpp:96:10: style: The scope of the variable 'k' can be reduced. [variableScope]
7kaa-2.14.7/src/OPLASMA.cpp:178:8: style: The scope of the variable 'x' can be reduced. [variableScope]
7kaa-2.14.7/src/OPLASMA.cpp:179:8: style: The scope of the variable 'nx1' can be reduced. [variableScope]
7kaa-2.14.7/src/OPLASMA.cpp:180:8: style: The scope of the variable 'nx' can be reduced. [variableScope]
7kaa-2.14.7/src/OPLASMA.cpp:467:8: style: The scope of the variable 'i' can be reduced. [variableScope]
7kaa-2.14.7/src/OPLASMA.cpp:467:10: style: The scope of the variable 'k' can be reduced. [variableScope]
7kaa-2.14.7/src/OPOWER.cpp:246:12: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OPOWER.cpp:554:10: style: The scope of the variable 'targetWall' can be reduced. [variableScope]
7kaa-2.14.7/src/OPOWER.cpp:718:12: style: The scope of the variable 'selectedUnit' can be reduced. [variableScope]
7kaa-2.14.7/src/OPOWER.cpp:1042:8: style: The scope of the variable 'xLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OPOWER.cpp:1042:14: style: The scope of the variable 'yLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OPOWER.cpp:2283:8: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OPOWER.cpp:420:17: style: Variable 'mouseX' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OPOWER.cpp:421:17: style: Variable 'mouseY' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OPOWER.cpp:1668:25: style: Variable 'selectedObjectId' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OPOWER.cpp:1741:27: style: Variable 'pointingObjectId' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OPOWER.cpp:1827:22: style: Variable 'townPtr' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OPOWER.cpp:2132:19: style: Variable 'sitePtr' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OPOWER.cpp:2202:19: style: Variable 'sitePtr' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/ORACERES.cpp:98:12: style: The scope of the variable 'raceRec' can be reduced. [variableScope]
7kaa-2.14.7/src/ORACERES.cpp:99:12: style: The scope of the variable 'raceInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/ORACERES.cpp:153:15: style: The scope of the variable 'raceNameRec' can be reduced. [variableScope]
7kaa-2.14.7/src/ORAWRES.cpp:96:13: style: The scope of the variable 'rawRec' can be reduced. [variableScope]
7kaa-2.14.7/src/ORAWRES.cpp:97:13: style: The scope of the variable 'rawInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OREBEL.cpp:69:9: style: The scope of the variable 'rebelPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OREBEL.cpp:166:9: style: The scope of the variable 'rebelPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OREBEL.cpp:188:9: style: The scope of the variable 'rebelPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OREBEL.cpp:210:9: style: The scope of the variable 'rebelPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OREBEL.cpp:228:9: style: The scope of the variable 'rebelPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OREBEL.cpp:733:7: style: The scope of the variable 'townRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OREBEL.cpp:786:7: style: The scope of the variable 'firmRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OREMOTE2.cpp:399:6: style: The scope of the variable 'processFlag' can be reduced. [variableScope]
7kaa-2.14.7/src/OREMOTE2.cpp:670:14: style: Variable 'sendPtr' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OREMOTEM.cpp:1072:16: style: The scope of the variable 'caravanPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OREMOTEM.cpp:1106:16: style: The scope of the variable 'caravanPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OREMOTEM.cpp:1138:16: style: The scope of the variable 'caravanPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OREMOTEM.cpp:1240:15: style: The scope of the variable 'shipPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OREMOTEM.cpp:1273:15: style: The scope of the variable 'shipPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OREMOTEM.cpp:1303:15: style: The scope of the variable 'shipPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OREMOTEM.cpp:1333:15: style: The scope of the variable 'shipPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OREMOTEM.cpp:692:75: style: Function 'validate_selected_unit_array' argument 2 names different: declaration 'selectedCount' definition 'selectedUnitCount'. [funcArgNamesDifferent]
7kaa-2.14.7/src/OREMOTEM.cpp:181:75: note: Function 'validate_selected_unit_array' argument 2 names different: declaration 'selectedCount' definition 'selectedUnitCount'.
7kaa-2.14.7/src/OREMOTEM.cpp:692:75: note: Function 'validate_selected_unit_array' argument 2 names different: declaration 'selectedCount' definition 'selectedUnitCount'.
7kaa-2.14.7/src/OREMOTEM.cpp:250:20: style: Variable 'nationRecno' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/ORES.cpp:67:9: style: The scope of the variable 'dataSize' can be reduced. [variableScope]
7kaa-2.14.7/src/ORESX.cpp:67:9: style: The scope of the variable 'dataSize' can be reduced. [variableScope]
7kaa-2.14.7/src/OROCK.cpp:103:8: style: The scope of the variable 'rockPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OROCKRES.cpp:132:14: style: The scope of the variable 'rockInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OROCKRES.cpp:187:20: style: The scope of the variable 'rockBitmapRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OROCKRES.cpp:188:20: style: The scope of the variable 'rockBitmapInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OROCKRES.cpp:229:19: style: The scope of the variable 'rockBlockRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OROCKRES.cpp:230:19: style: The scope of the variable 'rockBlockInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OROCKRES.cpp:301:18: style: The scope of the variable 'rockAnimRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OR_MIL.cpp:416:12: style: The scope of the variable 'unitInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OR_MIL.cpp:420:22: style: Variable 'nationPtr' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OR_NAT.cpp:844:45: style: Function 'put_talk_msg_rec' argument 2 names different: declaration 'x' definition 'x1'. [funcArgNamesDifferent]
7kaa-2.14.7/src/OR_NAT.cpp:96:45: note: Function 'put_talk_msg_rec' argument 2 names different: declaration 'x' definition 'x1'.
7kaa-2.14.7/src/OR_NAT.cpp:844:45: note: Function 'put_talk_msg_rec' argument 2 names different: declaration 'x' definition 'x1'.
7kaa-2.14.7/src/OR_NAT.cpp:656:20: style: Variable 'refreshFlag' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OR_NEWS.cpp:56:8: style: Variable 'x' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OR_NEWS.cpp:57:8: style: Variable 'y' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OR_RANK.cpp:142:6: style: The scope of the variable 'rankScore' can be reduced. [variableScope]
7kaa-2.14.7/src/OR_RANK.cpp:198:3: style: Variable 'y' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OR_RANK.cpp:312:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OR_RANK.cpp:424:0: style: Variable 'rankPos' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OR_TECH.cpp:205:12: style: The scope of the variable 'techInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OR_TOWN.cpp:288:12: style: The scope of the variable 'firmInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OR_TOWN.cpp:402:12: style: The scope of the variable 'firmInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OSCROLL.cpp:247:8: style: The scope of the variable 'pos' can be reduced. [variableScope]
7kaa-2.14.7/src/OSERES.cpp:139:10: style: The scope of the variable 'seInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OSERES.cpp:344:48: error: Uninitialized variable: startRec [uninitvar]
7kaa-2.14.7/src/OSFRMRES.cpp:69:18: style: The scope of the variable 'frameRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OSITE.cpp:556:8: style: The scope of the variable 'xLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OSITE.cpp:556:14: style: The scope of the variable 'yLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OSLIDCUS.cpp:164:18: style: Variable 'oldValue' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OSLIDCUS.cpp:377:18: style: Variable 'oldValue' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OSNOWRES.cpp:138:12: style: The scope of the variable 'snowRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPATH.cpp:815:2: style: Variable 'nodePtr->node_type' is reassigned a value before the old one has been used. [redundantAssignment]
7kaa-2.14.7/src/OSPATH.cpp:814:2: note: Variable 'nodePtr->node_type' is reassigned a value before the old one has been used.
7kaa-2.14.7/src/OSPATH.cpp:815:2: note: Variable 'nodePtr->node_type' is reassigned a value before the old one has been used.
7kaa-2.14.7/src/OSPATH.cpp:1063:17: style: The scope of the variable 'xSquare' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPATH.cpp:1281:6: style: The scope of the variable 'xDist' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPATH.cpp:1281:13: style: The scope of the variable 'yDist' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPATH.cpp:1353:6: style: The scope of the variable 'exitArrowRight' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPATH.cpp:2272:6: style: The scope of the variable 'upperLeftX' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPATH.cpp:2272:18: style: The scope of the variable 'upperLeftY' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPATH.cpp:2921:8: style: The scope of the variable 'useClosestNode' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPATH.cpp:2954:8: style: The scope of the variable 'newVectorX' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPATH.cpp:2954:20: style: The scope of the variable 'newVectorY' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPATH.cpp:3002:6: style: The scope of the variable 'xDist' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPATH.cpp:3002:13: style: The scope of the variable 'yDist' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPATH.cpp:3058:0: style: Variable 'cost' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OSPREOFF.cpp:932:7: style: Condition '!status' is always true [knownConditionTrueFalse]
7kaa-2.14.7/src/OSPREOFF.cpp:931:13: note: Assignment 'status=0', assigned value is 0
7kaa-2.14.7/src/OSPREOFF.cpp:932:7: note: Condition '!status' is always true
7kaa-2.14.7/src/OSPREOFF.cpp:947:7: style: Condition '!status' is always false [knownConditionTrueFalse]
7kaa-2.14.7/src/OSPREOFF.cpp:946:13: note: Assignment 'status=1', assigned value is 1
7kaa-2.14.7/src/OSPREOFF.cpp:947:7: note: Condition '!status' is always false
7kaa-2.14.7/src/OSPREOFF.cpp:345:45: warning: Either the condition 'connectResultNodePtr!=NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck]
7kaa-2.14.7/src/OSPREOFF.cpp:350:26: note: Assuming that condition 'connectResultNodePtr!=NULL' is not redundant
7kaa-2.14.7/src/OSPREOFF.cpp:345:45: note: Null pointer addition
7kaa-2.14.7/src/OSPREOFF.cpp:363:6: style: The scope of the variable 'unitDestX' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPREOFF.cpp:363:17: style: The scope of the variable 'unitDestY' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPREOFF.cpp:472:6: style: The scope of the variable 'unitNodeXLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPREOFF.cpp:472:20: style: The scope of the variable 'unitNodeYLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPREOFF.cpp:475:6: style: The scope of the variable 'preLeaderVecX' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPREOFF.cpp:475:21: style: The scope of the variable 'preLeaderVecY' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPREOFF.cpp:881:6: style: The scope of the variable 'curXLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPREOFF.cpp:881:15: style: The scope of the variable 'curYLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPRESMO.cpp:136:9: style: The scope of the variable 'count' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPRESMO.cpp:483:9: style: The scope of the variable 'count' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPRESMO.cpp:155:12: warning: Size of pointer 'wellShapedNodePtr' used instead of size of its data. [pointerSize]
7kaa-2.14.7/src/OSPRESMO.cpp:501:12: warning: Size of pointer 'wellShapedNodePtr' used instead of size of its data. [pointerSize]
7kaa-2.14.7/src/OSPREUSE.cpp:436:6: style: The scope of the variable 'xDist' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPREUSE.cpp:436:13: style: The scope of the variable 'yDist' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPREUSE.cpp:570:3: style: Variable 'vertical' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OSPREUSE.cpp:557:3: style: Variable 'horizontal' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OSPRITE2.cpp:139:27: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/OSPRITEA.cpp:86:10: style: The scope of the variable 'spritePtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPRITEA.cpp:180:10: style: The scope of the variable 'spritePtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPRTRES.cpp:282:8: style: The scope of the variable 'speedDrop' can be reduced. [variableScope]
7kaa-2.14.7/src/OSPY.cpp:1390:30: error: Uninitialized variable: spyHitPoints [uninitvar]
7kaa-2.14.7/src/OSPY2.cpp:187:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OSYS.cpp:1422:55: style: Condition 'scenario_cheat_flag' is always false [knownConditionTrueFalse]
7kaa-2.14.7/src/OSYS.cpp:556:18: style: Variable 'compSize' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OSYS.cpp:804:19: style: Variable 'x2' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OSYS2.cpp:1122:15: style: The scope of the variable 'highLightX' can be reduced. [variableScope]
7kaa-2.14.7/src/OSYS2.cpp:1123:15: style: The scope of the variable 'highLightY' can be reduced. [variableScope]
7kaa-2.14.7/src/OSYS2.cpp:1124:15: style: The scope of the variable 'darkenX' can be reduced. [variableScope]
7kaa-2.14.7/src/OSYS2.cpp:1125:15: style: The scope of the variable 'darkenY' can be reduced. [variableScope]
7kaa-2.14.7/src/OSYS2.cpp:991:21: style: Variable 'backupSeed' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OTALKRES.cpp:238:7: style: Condition '!rc' is always true [knownConditionTrueFalse]
7kaa-2.14.7/src/OTALKRES.cpp:236:6: note: Assignment 'rc=0', assigned value is 0
7kaa-2.14.7/src/OTALKRES.cpp:238:7: note: Condition '!rc' is always true
7kaa-2.14.7/src/OTALKRES.cpp:1194:15: style: The scope of the variable 'actionNode' can be reduced. [variableScope]
7kaa-2.14.7/src/OTALKRES.cpp:229:0: style: Variable 'relationStatus' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OTECHRES.cpp:93:17: style: The scope of the variable 'techClassRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OTECHRES.cpp:94:17: style: The scope of the variable 'techClass' can be reduced. [variableScope]
7kaa-2.14.7/src/OTECHRES.cpp:426:9: style: The scope of the variable 'curTechLevel' can be reduced. [variableScope]
7kaa-2.14.7/src/OTERRAIN.cpp:234:9: style: The scope of the variable 'terrainId' can be reduced. [variableScope]
7kaa-2.14.7/src/OTERRAIN.cpp:659:19: style: The scope of the variable 'terrainSubRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OTORNADO.cpp:287:11: style: The scope of the variable 'tornadoPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTORNADO.cpp:348:11: style: The scope of the variable 'tornadoPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:3128:2: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat]
7kaa-2.14.7/src/OTOWN.cpp:3588:2: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode]
7kaa-2.14.7/src/OTOWN.cpp:826:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:1245:40: style: The scope of the variable 'commanderRaceId' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:2466:9: style: The scope of the variable 'i' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:2466:12: style: The scope of the variable 'j' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:2468:10: style: The scope of the variable 'workerPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:3029:10: style: The scope of the variable 'workerPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:3122:12: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:3401:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:3402:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:3861:9: style: The scope of the variable 'countDiff' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:3962:8: style: The scope of the variable 'thisPop' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:3985:8: style: The scope of the variable 'thisPop' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:4115:6: style: The scope of the variable 'racePop' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:4116:24: style: The scope of the variable 'mostRacePop2' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:4349:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWN.cpp:4141:19: style: Variable 'mostRacePop2' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OTOWNA.cpp:81:9: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNA.cpp:163:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNA.cpp:318:6: style: The scope of the variable 'addPop' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNA.cpp:318:14: style: The scope of the variable 'townResistance' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNA.cpp:413:21: style: The scope of the variable 'canBuildFlag' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNA.cpp:499:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNA.cpp:521:12: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNA.cpp:522:14: style: The scope of the variable 'townLayout' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNA.cpp:763:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNA.cpp:561:16: style: Variable 'townLayout' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OTOWNAI.cpp:372:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNAI.cpp:629:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNAI.cpp:666:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNAI.cpp:717:14: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNAI.cpp:762:10: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNAI.cpp:915:16: style: The scope of the variable 'firmResearch' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNAI.cpp:973:11: style: The scope of the variable 'firmWar' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNAI.cpp:1023:11: style: The scope of the variable 'godInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNAI.cpp:1036:12: style: The scope of the variable 'firmBase' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNAI.cpp:1168:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNAI.cpp:1305:12: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNAI.cpp:1489:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNAI.cpp:1731:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNIF.cpp:993:33: style: The scope of the variable 'rc' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNIF.cpp:663:15: style: Variable 'dispY1' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OTOWNIF.cpp:852:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OTOWNIF.cpp:1086:22: style: Variable 'nationPtr' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OTOWNIND.cpp:97:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNRES.cpp:105:18: style: The scope of the variable 'townLayoutRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNRES.cpp:106:18: style: The scope of the variable 'townLayout' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNRES.cpp:107:14: style: The scope of the variable 'townSlot' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNRES.cpp:154:17: style: The scope of the variable 'townSlotRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNRES.cpp:155:17: style: The scope of the variable 'townSlot' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNRES.cpp:190:21: style: The scope of the variable 'buildTypeRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNRES.cpp:191:21: style: The scope of the variable 'buildType' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNRES.cpp:220:18: style: The scope of the variable 'townBuildRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNRES.cpp:221:18: style: The scope of the variable 'townBuild' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNRES.cpp:262:15: style: The scope of the variable 'townNameRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OTOWNRES.cpp:263:13: style: The scope of the variable 'townName' can be reduced. [variableScope]
7kaa-2.14.7/src/OTRANSL.cpp:103:25: style: Same expression on both sides of '-' because the value of 'recNo' and '1' are the same. [duplicateExpression]
7kaa-2.14.7/src/OTRANSL.cpp:99:14: note: 'recNo' is assigned value '1' here.
7kaa-2.14.7/src/OTRANSL.cpp:103:25: note: Same expression on both sides of '-' because the value of 'recNo' and '1' are the same.
7kaa-2.14.7/src/OTUTOR.cpp:240:12: style: The scope of the variable 'readLen' can be reduced. [variableScope]
7kaa-2.14.7/src/OTUTOR.cpp:242:10: style: The scope of the variable 'tokenStr' can be reduced. [variableScope]
7kaa-2.14.7/src/OTUTOR2.cpp:297:9: style: The scope of the variable 'rec' can be reduced. [variableScope]
7kaa-2.14.7/src/OTownNetwork.cpp:199:16: style: The scope of the variable 'townNetworkPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNIT.cpp:2456:6: style: The scope of the variable 'unitRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNIT.cpp:1116:0: style: Variable 'rc' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNIT.cpp:1463:49: style: Variable 'nationReputation' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNIT2.cpp:136:8: style: The scope of the variable 'xLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNIT2.cpp:136:14: style: The scope of the variable 'yLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAC.cpp:84:6: style: The scope of the variable 'curRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAC.cpp:181:9: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAC.cpp:680:8: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAC.cpp:734:8: style: The scope of the variable 'unitClass' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAC.cpp:735:9: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAC.cpp:895:8: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAC.cpp:979:25: style: The scope of the variable 'dist' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAC.cpp:979:31: style: The scope of the variable 'distX' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAC.cpp:979:38: style: The scope of the variable 'distY' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:432:9: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:483:6: style: The scope of the variable 'unprocessed' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:696:9: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:715:8: style: The scope of the variable 'xOffsetPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:715:21: style: The scope of the variable 'yOffsetPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:745:6: style: The scope of the variable 'xOffset' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:745:15: style: The scope of the variable 'yOffset' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:746:6: style: The scope of the variable 'unprocessed' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:747:6: style: The scope of the variable 'destCount' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:953:9: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:968:8: style: The scope of the variable 'xOffsetPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:968:21: style: The scope of the variable 'yOffsetPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:998:6: style: The scope of the variable 'xOffset' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:998:15: style: The scope of the variable 'yOffset' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:999:6: style: The scope of the variable 'unprocessed' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:1001:6: style: The scope of the variable 'destCount' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:1201:9: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:1214:8: style: The scope of the variable 'xOffsetPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:1214:21: style: The scope of the variable 'yOffsetPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:1244:6: style: The scope of the variable 'xOffset' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:1244:15: style: The scope of the variable 'yOffset' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:1245:6: style: The scope of the variable 'unprocessed' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:1247:6: style: The scope of the variable 'destCount' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:1435:6: style: The scope of the variable 'curXLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:1435:15: style: The scope of the variable 'curYLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAAT.cpp:1855:9: style: The scope of the variable 'processedPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAC.cpp:1034:6: style: The scope of the variable 'vecX' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAC.cpp:1034:12: style: The scope of the variable 'vecY' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAC.cpp:1034:18: style: The scope of the variable 'xMagn' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAC.cpp:1034:25: style: The scope of the variable 'yMagn' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAC.cpp:1034:32: style: The scope of the variable 'magn' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAC.cpp:1178:7: style: The scope of the variable 'shouldProceed' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAC.cpp:1216:20: style: Variable 'aiUnit' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAC.cpp:1217:23: style: Variable 'actionXLoc' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAC.cpp:1218:23: style: Variable 'actionYLoc' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAC.cpp:1219:23: style: Variable 'unitRecno' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAC.cpp:1366:23: style: Variable 'actionXLoc' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAC.cpp:1367:23: style: Variable 'actionYLoc' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAC.cpp:1369:20: style: Variable 'aiUnit' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAI.cpp:379:22: style: The scope of the variable 'checkXLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAI.cpp:379:33: style: The scope of the variable 'checkYLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAI.cpp:1028:7: style: The scope of the variable 'curRating' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAI.cpp:1028:18: style: The scope of the variable 'bestRating' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAI.cpp:1110:7: style: The scope of the variable 'curRating' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAI.cpp:1110:18: style: The scope of the variable 'bestRating' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAI.cpp:314:22: style: Variable 'ownNation' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAI.cpp:586:20: style: Variable 'skillLevel' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAM.cpp:267:17: style: The scope of the variable 'filteringCount' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAM.cpp:327:9: style: The scope of the variable 'vecX' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAM.cpp:327:15: style: The scope of the variable 'vecY' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAM.cpp:530:27: style: Variable 'autoCorrectStartX' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAT.cpp:1227:24: style: Variable 'bitFlag' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAT2.cpp:900:6: style: The scope of the variable 'checkXLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAT2.cpp:900:17: style: The scope of the variable 'checkYLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAT2.cpp:495:19: style: Variable 'spriteXLoc' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAT2.cpp:496:19: style: Variable 'spriteYLoc' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAT2.cpp:497:27: style: Variable 'attackInfo' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAT2.cpp:659:18: style: Variable 'attackInfo' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITAT3.cpp:814:22: style: The scope of the variable 'checkXLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAT3.cpp:814:33: style: The scope of the variable 'checkYLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITAT3.cpp:646:23: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/OUNITAT3.cpp:647:23: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/OUNITAT3.cpp:648:39: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/OUNITAT3.cpp:649:40: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/OUNITAT3.cpp:209:11: error: Uninitialized variable: preX [uninitvar]
7kaa-2.14.7/src/OUNITAT3.cpp:210:11: error: Uninitialized variable: preY [uninitvar]
7kaa-2.14.7/src/OUNITAT3.cpp:223:13: error: Uninitialized variable: preX [uninitvar]
7kaa-2.14.7/src/OUNITAT3.cpp:224:13: error: Uninitialized variable: preY [uninitvar]
7kaa-2.14.7/src/OUNITAT3.cpp:229:22: error: Uninitialized variable: preX [uninitvar]
7kaa-2.14.7/src/OUNITAT3.cpp:230:22: error: Uninitialized variable: preY [uninitvar]
7kaa-2.14.7/src/OUNITAT3.cpp:231:29: error: Uninitialized variable: preX [uninitvar]
7kaa-2.14.7/src/OUNITAT3.cpp:232:29: error: Uninitialized variable: preY [uninitvar]
7kaa-2.14.7/src/OUNITD.cpp:539:5: style: Condition '!abortAction' is always true [knownConditionTrueFalse]
7kaa-2.14.7/src/OUNITD.cpp:520:34: note: Assignment 'abortAction=0', assigned value is 0
7kaa-2.14.7/src/OUNITD.cpp:539:5: note: Condition '!abortAction' is always true
7kaa-2.14.7/src/OUNITD.cpp:375:13: style: The scope of the variable 'campPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITD.cpp:376:9: style: The scope of the variable 'targetPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITD.cpp:447:9: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITD.cpp:650:9: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITD.cpp:651:9: style: The scope of the variable 'targetPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITD.cpp:723:9: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITD.cpp:959:9: style: The scope of the variable 'targetPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITD.cpp:960:16: style: The scope of the variable 'firmMonsterPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITD.cpp:1031:9: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITDRW.cpp:230:56: error: Uninitialized variable: hitBarMax [uninitvar]
7kaa-2.14.7/src/OUNITDRW.cpp:233:29: error: Uninitialized variable: hitBarMax [uninitvar]
7kaa-2.14.7/src/OUNITDRW.cpp:245:49: error: Uninitialized variable: hitBarColor [uninitvar]
7kaa-2.14.7/src/OUNITHB.cpp:86:22: style: The scope of the variable 'checkXLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITHB.cpp:86:33: style: The scope of the variable 'checkYLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITI.cpp:563:17: style: Same expression on both sides of '==' because the value of 'curXLoc' and 'move_to_x_loc' are the same. [duplicateExpression]
7kaa-2.14.7/src/OUNITI.cpp:325:26: note: 'curXLoc' is assigned value 'move_to_x_loc' here.
7kaa-2.14.7/src/OUNITI.cpp:563:17: note: Same expression on both sides of '==' because the value of 'curXLoc' and 'move_to_x_loc' are the same.
7kaa-2.14.7/src/OUNITI.cpp:563:43: style: Same expression on both sides of '==' because the value of 'curYLoc' and 'move_to_y_loc' are the same. [duplicateExpression]
7kaa-2.14.7/src/OUNITI.cpp:326:26: note: 'curYLoc' is assigned value 'move_to_y_loc' here.
7kaa-2.14.7/src/OUNITI.cpp:563:43: note: Same expression on both sides of '==' because the value of 'curYLoc' and 'move_to_y_loc' are the same.
7kaa-2.14.7/src/OUNITI.cpp:317:17: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITI.cpp:318:17: style: The scope of the variable 'firmInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITI.cpp:321:17: style: The scope of the variable 'spriteInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITI.cpp:327:16: style: The scope of the variable 'dummyX' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITI.cpp:327:24: style: The scope of the variable 'dummyY' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITI.cpp:643:32: style: The scope of the variable 'checkXLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITI.cpp:643:43: style: The scope of the variable 'checkYLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITIF.cpp:1153:3: style: Found duplicate branches for 'if' and 'else'. [duplicateBranch]
7kaa-2.14.7/src/OUNITIF.cpp:1155:3: note: Found duplicate branches for 'if' and 'else'.
7kaa-2.14.7/src/OUNITIF.cpp:1153:3: note: Found duplicate branches for 'if' and 'else'.
7kaa-2.14.7/src/OUNITIF.cpp:910:7: style: The scope of the variable 'firmId' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITIF.cpp:959:6: style: The scope of the variable 'firmId' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITIF.cpp:248:6: style: Variable 'y' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITIF.cpp:1537:31: style: Variable 'hitPoints' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITM.cpp:1288:6: style: The scope of the variable 'x' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITM.cpp:1288:9: style: The scope of the variable 'y' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITM.cpp:1866:8: style: The scope of the variable 'w' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITM.cpp:1866:11: style: The scope of the variable 'h' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITM.cpp:1866:14: style: The scope of the variable 'blocked' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITM.cpp:1867:8: style: The scope of the variable 'x' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITM.cpp:1867:11: style: The scope of the variable 'y' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITM.cpp:2359:9: style: The scope of the variable 'nextX' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITM.cpp:2359:16: style: The scope of the variable 'nextY' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITM.cpp:2360:11: style: The scope of the variable 'blocked' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITM.cpp:2501:13: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITM.cpp:1640:18: style: Variable 'minDist' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OUNITRES.cpp:268:19: style: The scope of the variable 'attackRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITRES.cpp:269:17: style: The scope of the variable 'attackInfo' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITS.cpp:96:7: style: The scope of the variable 'resultXYLocWritten' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITS.cpp:104:8: style: The scope of the variable 'checkXLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITS.cpp:104:19: style: The scope of the variable 'checkYLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITS.cpp:304:7: style: The scope of the variable 'x' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITS.cpp:304:10: style: The scope of the variable 'y' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITS.cpp:418:7: style: The scope of the variable 'vecX' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITS.cpp:418:13: style: The scope of the variable 'vecY' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITS.cpp:418:19: style: The scope of the variable 'xMagn' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITS.cpp:418:26: style: The scope of the variable 'yMagn' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITS.cpp:418:33: style: The scope of the variable 'magn' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITS.cpp:518:23: style: The scope of the variable 'checkXLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OUNITS.cpp:518:34: style: The scope of the variable 'checkYLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_CARA.cpp:154:31: style: The scope of the variable 'needRefresh' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_CARA.cpp:576:8: style: The scope of the variable 'newStopFirmRecno' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_CARA.cpp:1359:6: style: The scope of the variable 'limit' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_CARA.cpp:168:4: style: Variable 'needRefresh' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OU_CARA.cpp:234:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OU_CARA.cpp:1521:3: style: Variable 'x2' is modified but its new value is never used. [unreadVariable]
7kaa-2.14.7/src/OU_CARA.cpp:1522:3: style: Variable 'y2' is modified but its new value is never used. [unreadVariable]
7kaa-2.14.7/src/OU_CARA2.cpp:145:10: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_CARAT.cpp:426:6: error: Uninitialized variable: qty [uninitvar]
7kaa-2.14.7/src/OU_GOD.cpp:319:6: style: The scope of the variable 't' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_GOD.cpp:321:12: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_GOD2.cpp:364:10: style: The scope of the variable 'curRating' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_GOD2.cpp:593:10: style: The scope of the variable 'curRating' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_GOD2.cpp:289:15: style: Variable 'curXLoc' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OU_GOD2.cpp:289:37: style: Variable 'curYLoc' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OU_GOD2.cpp:409:22: style: Variable 'ownNation' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OU_MARI.cpp:428:22: style: The scope of the variable 'checkXLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MARI.cpp:428:33: style: The scope of the variable 'checkYLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MARI.cpp:524:24: style: The scope of the variable 'checkXLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MARI.cpp:524:35: style: The scope of the variable 'checkYLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MARI.cpp:555:14: style: The scope of the variable 'offset' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MARI.cpp:562:28: style: The scope of the variable 'i' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MARI.cpp:524:0: style: Variable 'found' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OU_MARIF.cpp:356:38: style: Same expression on both sides of '<' because the value of 'attack_info_array[0].attack_range' and 'oldAttackRange' are the same. [duplicateExpression]
7kaa-2.14.7/src/OU_MARIF.cpp:319:44: note: 'oldAttackRange' is assigned value 'attack_info_array[0].attack_range' here.
7kaa-2.14.7/src/OU_MARIF.cpp:356:38: note: Same expression on both sides of '<' because the value of 'attack_info_array[0].attack_range' and 'oldAttackRange' are the same.
7kaa-2.14.7/src/OU_MARIF.cpp:324:9: style: The scope of the variable 'unitPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MARIF.cpp:408:8: style: The scope of the variable 'x' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MARIF.cpp:408:11: style: The scope of the variable 'y' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MARIF.cpp:471:9: style: The scope of the variable 'x' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MARIF.cpp:471:12: style: The scope of the variable 'y' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MARIF.cpp:610:31: style: The scope of the variable 'needRefresh' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MARIF.cpp:624:4: style: Variable 'needRefresh' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OU_MARIF.cpp:759:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OU_MARIF.cpp:1018:3: style: Variable 'x2' is modified but its new value is never used. [unreadVariable]
7kaa-2.14.7/src/OU_MARIF.cpp:1019:3: style: Variable 'y2' is modified but its new value is never used. [unreadVariable]
7kaa-2.14.7/src/OU_MARIS.cpp:46:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MARIS.cpp:154:10: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MONS.cpp:270:8: style: The scope of the variable 'xLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MONS.cpp:270:14: style: The scope of the variable 'yLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MONS.cpp:402:8: style: The scope of the variable 'xLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OU_MONS.cpp:402:14: style: The scope of the variable 'yLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OVBROWSE.cpp:288:13: style: The scope of the variable 'x' can be reduced. [variableScope]
7kaa-2.14.7/src/OVBROWSE.cpp:288:16: style: The scope of the variable 'y' can be reduced. [variableScope]
7kaa-2.14.7/src/OVBROWSE.cpp:313:8: style: The scope of the variable 'recNo' can be reduced. [variableScope]
7kaa-2.14.7/src/OVGABUF.cpp:249:0: style: Variable 'x2' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OVGABUF.cpp:250:0: style: Variable 'y2' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OVGABUF.cpp:357:0: style: Variable 'hasPalette' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OVGABUF2.cpp:352:15: style: The scope of the variable 'lc' can be reduced. [variableScope]
7kaa-2.14.7/src/OVGABUF2.cpp:353:23: style: The scope of the variable 'lineColor' can be reduced. [variableScope]
7kaa-2.14.7/src/OVGABUF2.cpp:289:49: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/OWALLRES.cpp:94:12: style: The scope of the variable 'wallRec' can be reduced. [variableScope]
7kaa-2.14.7/src/OWEATHER.cpp:226:30: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/OWORLD.cpp:670:4: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode]
7kaa-2.14.7/src/OWORLD.cpp:693:4: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode]
7kaa-2.14.7/src/OWORLD.cpp:2278:4: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode]
7kaa-2.14.7/src/OWORLD.cpp:475:10: style: The scope of the variable 'writePtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD.cpp:640:14: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD.cpp:1042:23: style: The scope of the variable 'xTemp' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD.cpp:1042:30: style: The scope of the variable 'xLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD.cpp:1042:36: style: The scope of the variable 'yLoc' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD.cpp:1042:42: style: The scope of the variable 'canBuildFlag' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD.cpp:1217:12: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD.cpp:1298:11: style: The scope of the variable 'townX' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD.cpp:1298:18: style: The scope of the variable 'townY' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD.cpp:1299:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD.cpp:1493:31: style: The scope of the variable 't' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD.cpp:1556:31: style: The scope of the variable 't' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD.cpp:1610:8: style: The scope of the variable 'firmPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD.cpp:1623:8: style: The scope of the variable 'townPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD.cpp:1710:12: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD_M.cpp:177:8: style: The scope of the variable 'tileYOffset' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD_Z.cpp:1762:20: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OWORLD_Z.cpp:1918:10: style: C-style pointer casting [cstyleCast]
7kaa-2.14.7/src/OWORLD_Z.cpp:460:12: style: The scope of the variable 'locPtr' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD_Z.cpp:904:31: style: The scope of the variable 't' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD_Z.cpp:952:6: style: The scope of the variable 'y' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD_Z.cpp:952:9: style: The scope of the variable 'dispSpy' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD_Z.cpp:1070:13: style: The scope of the variable 'scrnX' can be reduced. [variableScope]
7kaa-2.14.7/src/OWORLD_Z.cpp:314:0: style: Variable 'i' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OWORLD_Z.cpp:459:0: style: Variable 'i' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OWORLD_Z.cpp:677:21: style: Variable 'backupSeed' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/OW_PLANT.cpp:132:16: style: The scope of the variable 'newl' can be reduced. [variableScope]
7kaa-2.14.7/src/OW_PLANT.cpp:410:24: style: Variable 'plantBitmap' is assigned a value that is never used. [unreadVariable]
7kaa-2.14.7/src/imgfun/generic/IB_ATRD.cpp:156:6: style: The scope of the variable 'al' can be reduced. [variableScope]
7kaa-2.14.7/src/imgfun/generic/I_EMASK.cpp:82:6: style: The scope of the variable 'mask' can be reduced. [variableScope]
7kaa-2.14.7/src/imgfun/generic/I_EREMAP.cpp:85:6: style: Unused variable: al [unusedVariable]
7kaa-2.14.7/src/imgfun/generic/I_FONT.cpp:72:16: style: The scope of the variable 'bitMask' can be reduced. [variableScope]
7kaa-2.14.7/src/imgfun/generic/I_FREMAP.cpp:78:6: style: The scope of the variable 'bxy' can be reduced. [variableScope]
7kaa-2.14.7/src/imgfun/generic/I_FREMAP.cpp:79:6: style: The scope of the variable 'C2subC1' can be reduced. [variableScope]
7kaa-2.14.7/src/imgfun/generic/I_PIXEL.cpp:42:6: style: The scope of the variable 'line_start' can be reduced. [variableScope]
7kaa-2.14.7/src/openal/wav_stream.cpp:171:24: error: Uninitialized variable: size [uninitvar]
7kaa-2.14.7/src/vga_sdl.cpp:418:17: style: The scope of the variable 'newRed' can be reduced. [variableScope]
7kaa-2.14.7/src/vga_sdl.cpp:418:25: style: The scope of the variable 'newGreen' can be reduced. [variableScope]
7kaa-2.14.7/src/vga_sdl.cpp:418:35: style: The scope of the variable 'newBlue' can be reduced. [variableScope]
7kaa-2.14.7/src/vga_sdl.cpp:117:79: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/vga_sdl.cpp:118:86: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/vga_sdl.cpp:119:66: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation]
7kaa-2.14.7/src/vga_sdl.cpp:120:89: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation]
[21:34]

ftp://ftp.se.debian.org/debian/pool/main/7/7kaa-data/7kaa-data_2.13.orig.tar.bz2

DATE 2018-08-21
TIME 21:34:40