2024-03-26 19:04 ftp://ftp.de.debian.org/debian/pool/main/c/crimson/crimson_0.5.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.55 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 61552d0 (2024-03-26 14:25:53 +0100) count: 1047 623 elapsed-time: 8.7 8.3 head-timing-info: old-timing-info: head results: crimson-0.5.2.orig/src/cf/player.h:49:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUMAN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:71:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_ATTACKED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:76:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XP_PER_LEVEL [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:86:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_GROUND [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:87:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHIP [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:88:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_AIR [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:89:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MINE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:90:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_TRANSPORT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:91:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MEDIC [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:92:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MINESWEEPER [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:94:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SLOW [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:95:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_CONQUER [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:96:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHELTERED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:97:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DESTROYED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:98:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DESTROYED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:99:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_BUSY [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:100:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DUMMY [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:101:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_FLOATING [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.h:103:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_GROUND [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/building.h:38:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLD_WORKSHOP [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/building.h:39:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLD_FACTORY [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/building.cpp:64:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_NONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/building.cpp:151:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/player.h:38:3: warning: Member variable 'Player::p_id' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/player.h:38:3: warning: Member variable 'Player::p_mode' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/player.h:38:3: warning: Member variable 'Player::p_type' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/player.h:38:3: warning: Member variable 'Player::p_remote' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/player.h:38:3: warning: Member variable 'Player::p_units' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/player.h:38:3: warning: Member variable 'Player::p_success' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/player.h:38:3: warning: Member variable 'Player::p_briefing' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/player.h:38:3: warning: Member variable 'Player::p_name_id' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/unit.h:54:3: warning: Member variable 'Unit::u_flags' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/unit.h:54:3: warning: Member variable 'Unit::u_id' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/unit.h:54:3: warning: Member variable 'Unit::u_facing' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/unit.h:54:3: warning: Member variable 'Unit::u_group' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/unit.h:54:3: warning: Member variable 'Unit::u_xp' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/unit.h:54:3: warning: Member variable 'Unit::u_type' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/unit.h:54:3: warning: Member variable 'Unit::u_player' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/building.h:31:3: warning: Member variable 'Building::b_id' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/building.h:31:3: warning: Member variable 'Building::b_flags' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/building.h:31:3: warning: Member variable 'Building::b_crystals' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/building.h:31:3: warning: Member variable 'Building::b_crystalstore' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/building.h:31:3: warning: Member variable 'Building::b_cprod' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/building.h:31:3: warning: Member variable 'Building::b_uprod' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/building.h:31:3: warning: Member variable 'Building::b_name_id' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/container.h:34:3: style: Class 'UCNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/cf/unit.h:68:15: style: The function 'Name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/unit.h:39:23: note: Virtual function in base class crimson-0.5.2.orig/src/cf/unit.h:68:15: note: Function in derived class crimson-0.5.2.orig/src/cf/unit.h:69:11: style: The function 'Owner' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/unit.h:40:19: note: Virtual function in base class crimson-0.5.2.orig/src/cf/unit.h:69:11: note: Function in derived class crimson-0.5.2.orig/src/cf/unit.h:70:16: style: The function 'Position' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/unit.h:41:24: note: Virtual function in base class crimson-0.5.2.orig/src/cf/unit.h:70:16: note: Function in derived class crimson-0.5.2.orig/src/cf/container.h:80:7: style: The function 'Load' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/unit.h:57:15: note: Virtual function in base class crimson-0.5.2.orig/src/cf/container.h:80:7: note: Function in derived class crimson-0.5.2.orig/src/cf/container.h:81:7: style: The function 'Save' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/unit.h:58:15: note: Virtual function in base class crimson-0.5.2.orig/src/cf/container.h:81:7: note: Function in derived class crimson-0.5.2.orig/src/cf/container.h:83:8: style: The function 'SetCrystals' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/container.h:46:16: note: Virtual function in base class crimson-0.5.2.orig/src/cf/container.h:83:8: note: Function in derived class crimson-0.5.2.orig/src/cf/container.h:84:18: style: The function 'Crystals' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/container.h:45:26: note: Virtual function in base class crimson-0.5.2.orig/src/cf/container.h:84:18: note: Function in derived class crimson-0.5.2.orig/src/cf/container.h:85:18: style: The function 'MaxCrystals' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/container.h:47:26: note: Virtual function in base class crimson-0.5.2.orig/src/cf/container.h:85:18: note: Function in derived class crimson-0.5.2.orig/src/cf/container.h:86:8: style: The function 'SetPosition' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/unit.h:80:16: note: Virtual function in base class crimson-0.5.2.orig/src/cf/container.h:86:8: note: Function in derived class crimson-0.5.2.orig/src/cf/container.h:87:8: style: The function 'Hit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/unit.h:110:16: note: Virtual function in base class crimson-0.5.2.orig/src/cf/container.h:87:8: note: Function in derived class crimson-0.5.2.orig/src/cf/container.h:88:8: style: The function 'Allow' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/container.h:55:16: note: Virtual function in base class crimson-0.5.2.orig/src/cf/container.h:88:8: note: Function in derived class crimson-0.5.2.orig/src/cf/container.h:89:18: style: The function 'Weight' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/unit.h:111:26: note: Virtual function in base class crimson-0.5.2.orig/src/cf/container.h:89:18: note: Function in derived class crimson-0.5.2.orig/src/cf/building.h:36:8: style: The function 'Allow' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/container.h:55:16: note: Virtual function in base class crimson-0.5.2.orig/src/cf/building.h:36:8: note: Function in derived class crimson-0.5.2.orig/src/cf/building.h:43:18: style: The function 'Crystals' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/container.h:45:26: note: Virtual function in base class crimson-0.5.2.orig/src/cf/building.h:43:18: note: Function in derived class crimson-0.5.2.orig/src/cf/building.h:44:18: style: The function 'MaxCrystals' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/container.h:47:26: note: Virtual function in base class crimson-0.5.2.orig/src/cf/building.h:44:18: note: Function in derived class crimson-0.5.2.orig/src/cf/building.h:46:15: style: The function 'Name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/unit.h:39:23: note: Virtual function in base class crimson-0.5.2.orig/src/cf/building.h:46:15: note: Function in derived class crimson-0.5.2.orig/src/cf/building.h:48:11: style: The function 'Owner' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/unit.h:40:19: note: Virtual function in base class crimson-0.5.2.orig/src/cf/building.h:48:11: note: Function in derived class crimson-0.5.2.orig/src/cf/building.h:49:16: style: The function 'Position' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/unit.h:41:24: note: Virtual function in base class crimson-0.5.2.orig/src/cf/building.h:49:16: note: Function in derived class crimson-0.5.2.orig/src/cf/building.h:55:8: style: The function 'SetCrystals' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/container.h:46:16: note: Virtual function in base class crimson-0.5.2.orig/src/cf/building.h:55:8: note: Function in derived class crimson-0.5.2.orig/src/cf/map.h:59:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_att_mod [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/map.h:60:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_def_mod [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/map.h:63:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_image [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/map.h:64:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_move [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/map.h:66:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_type [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/map.h:68:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TT_WATER [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/map.h:69:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TT_ENTRANCE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/container.cpp:51:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHELTERED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/container.cpp:82:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHELTERED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/container.cpp:236:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GROUP_SIZE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/event.h:38:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFLAG_DISCARDED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/event.h:52:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFLAG_DISABLED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mission.h:71:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mission.h:73:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/combat.cpp:79:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dpos [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/event.cpp:295:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/event.cpp:526:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFLAG_DISCARDED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/ai.cpp:117:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_CONQUER [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/ai.cpp:173:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_TRANSPORT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/ai.cpp:293:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_AIR [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/ai.cpp:433:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GROUP_SIZE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/ai.cpp:471:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_GROUND [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/ai.cpp:643:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_GROUND [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/ai.cpp:918:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORTH [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/ai.cpp:986:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unit [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/ai.cpp:1142:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_BUSY [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/ai.cpp:1168:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_BUSY [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/ai.cpp:1186:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_BUSY [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/combat.h:38:3: warning:inconclusive: Member variable 'Combat::c_att' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/combat.h:38:3: warning:inconclusive: Member variable 'Combat::c_def' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/combat.h:38:3: warning:inconclusive: Member variable 'Combat::aamod' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/combat.h:38:3: warning:inconclusive: Member variable 'Combat::admod' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/combat.h:38:3: warning:inconclusive: Member variable 'Combat::damod' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/combat.h:38:3: warning:inconclusive: Member variable 'Combat::ddmod' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/event.h:30:1: style: The class 'Event' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] crimson-0.5.2.orig/src/cf/history.h:31:3: warning: Member variable 'HistEvent::type' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/history.h:31:3: warning: Member variable 'HistEvent::data' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/history.h:63:3: warning: Member variable 'History::delay' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/history.h:63:3: warning: Member variable 'History::lastunit' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/mission.h:35:3: warning: Member variable 'Mission::turn' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/mission.h:35:3: warning: Member variable 'Mission::turn_phase' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/mission.h:35:3: warning: Member variable 'Mission::current_player' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/mission.h:35:3: warning: Member variable 'Mission::handicap' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/mission.h:35:3: warning: Member variable 'Mission::flags' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/mission.h:35:3: warning: Member variable 'Mission::name' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/mission.h:35:3: warning: Member variable 'Mission::level_info' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/mission.h:35:3: warning: Member variable 'Mission::campaign_name' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/mission.h:35:3: warning: Member variable 'Mission::campaign_info' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/mission.h:35:3: warning: Member variable 'Mission::next_map' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/mission.h:35:3: warning: Member variable 'Mission::music' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/path.h:76:3: warning: Member variable 'Path::quality' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/path.h:76:3: warning: Member variable 'Path::deviation' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/network.h:69:3: warning: Member variable 'TCPConnection::server' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/game.h:45:3: warning: Member variable 'UndoCache::dir' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/mission.h:123:6: performance:inconclusive: Technically the member function 'Mission::FindID' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/cf/path.h:76:3: style: Class 'Path' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/cf/network.h:35:3: style: Class 'DynBuffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/cf/game.h:64:3: style: Class 'Game' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/cf/path.h:85:18: style: The function 'ETA' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/path.h:58:26: note: Virtual function in base class crimson-0.5.2.orig/src/cf/path.h:85:18: note: Function in derived class crimson-0.5.2.orig/src/cf/path.h:86:8: style: The function 'StopSearch' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/path.h:59:16: note: Virtual function in base class crimson-0.5.2.orig/src/cf/path.h:86:8: note: Function in derived class crimson-0.5.2.orig/src/cf/path.h:87:16: style: The function 'AddNode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/path.h:60:16: note: Virtual function in base class crimson-0.5.2.orig/src/cf/path.h:87:16: note: Function in derived class crimson-0.5.2.orig/src/cf/path.h:89:9: style: The function 'FinalizePath' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/path.h:62:17: note: Virtual function in base class crimson-0.5.2.orig/src/cf/path.h:89:9: note: Function in derived class crimson-0.5.2.orig/src/cf/path.h:103:18: style: The function 'ETA' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/path.h:58:26: note: Virtual function in base class crimson-0.5.2.orig/src/cf/path.h:103:18: note: Function in derived class crimson-0.5.2.orig/src/cf/path.h:104:8: style: The function 'StopSearch' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/path.h:59:16: note: Virtual function in base class crimson-0.5.2.orig/src/cf/path.h:104:8: note: Function in derived class crimson-0.5.2.orig/src/cf/path.h:105:16: style: The function 'AddNode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/path.h:60:16: note: Virtual function in base class crimson-0.5.2.orig/src/cf/path.h:105:16: note: Function in derived class crimson-0.5.2.orig/src/cf/path.h:107:17: style: The function 'FinalizePath' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/path.h:62:17: note: Virtual function in base class crimson-0.5.2.orig/src/cf/path.h:107:17: note: Function in derived class crimson-0.5.2.orig/src/cf/path.h:118:8: style: The function 'AddNode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/path.h:105:16: note: Virtual function in base class crimson-0.5.2.orig/src/cf/path.h:118:8: note: Function in derived class crimson-0.5.2.orig/src/cf/path.h:119:9: style: The function 'FinalizePath' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/path.h:107:17: note: Virtual function in base class crimson-0.5.2.orig/src/cf/path.h:119:9: note: Function in derived class crimson-0.5.2.orig/src/cf/path.h:129:8: style: The function 'AddNode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/path.h:87:16: note: Virtual function in base class crimson-0.5.2.orig/src/cf/path.h:129:8: note: Function in derived class crimson-0.5.2.orig/src/cf/network.h:44:42: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/network.h:46:41: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/combat.cpp:154:65: style:inconclusive: Function 'CalcResults' argument 2 names different: declaration 'defhist' definition 'defhits'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/cf/combat.h:48:59: note: Function 'CalcResults' argument 2 names different: declaration 'defhist' definition 'defhits'. crimson-0.5.2.orig/src/cf/combat.cpp:154:65: note: Function 'CalcResults' argument 2 names different: declaration 'defhist' definition 'defhits'. crimson-0.5.2.orig/src/cf/combat.cpp:48:45: style: Parameter 'mission' can be declared as reference to const [constParameterReference] crimson-0.5.2.orig/src/cf/combat.cpp:122:21: style: Variable 'stab' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/game.cpp:106:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:163:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:195:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_GUI_ASK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:245:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_FILE_SAVE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:314:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_SAVEFILE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:346:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:368:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_SAVEFILE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:420:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:451:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:600:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_RESTART [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:640:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_RESTART [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:682:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:696:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TURN_START [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:722:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:743:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:917:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_CURSOR_SELECT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:977:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_CLOSE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1069:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MOVED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1144:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORTH [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1187:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_GAM_SELECT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1212:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_CURSOR_IDLE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1275:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_CURSOR_SPECIAL [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1304:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1329:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1358:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1497:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUTHWEST [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1637:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_CLOSE_ESC [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1653:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_CLOSE_ESC [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1669:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_CLOSE_ESC [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1686:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_CLOSE_ESC [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1701:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1854:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MOVED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1907:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_PBEM [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1939:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_DISABLED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1964:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_FONT_BIG [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1982:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_MUSIC_FADE_TIME [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:1996:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/history.cpp:146:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DUMMY [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/history.cpp:195:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_PROG_DEFAULT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/history.cpp:338:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/history.cpp:451:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_BUSY [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/history.cpp:525:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/history.cpp:566:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/event.cpp:131:15: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/event.cpp:138:19: style: Variable 'b' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/event.cpp:175:15: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/event.cpp:189:28: style: Variable 'c' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/event.cpp:208:15: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/event.cpp:466:14: style: Variable 'mo' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/history.h:91:8: performance:inconclusive: Technically the member function 'History::EndReplay' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/cf/history.cpp:288:15: note: Technically the member function 'History::EndReplay' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/cf/history.h:91:8: note: Technically the member function 'History::EndReplay' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/cf/history.h:95:8: performance:inconclusive: Technically the member function 'History::ReplayMessageEvent' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/cf/history.cpp:596:15: note: Technically the member function 'History::ReplayMessageEvent' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/cf/history.h:95:8: note: Technically the member function 'History::ReplayMessageEvent' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/cf/history.cpp:439:43: style:inconclusive: Function 'RecordUnitEvent' argument 1 names different: declaration 'u' definition 'unit'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/cf/history.h:80:36: note: Function 'RecordUnitEvent' argument 1 names different: declaration 'u' definition 'unit'. crimson-0.5.2.orig/src/cf/history.cpp:439:43: note: Function 'RecordUnitEvent' argument 1 names different: declaration 'u' definition 'unit'. crimson-0.5.2.orig/src/cf/initwindow.cpp:81:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_MUSIC_THEME [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:172:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:241:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:394:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:533:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:559:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:719:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:742:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_Rect [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:822:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_XRES [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:867:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HWSURFACE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:904:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_DEFAULT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:919:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOX_RECESSED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:937:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_CBW_SIZE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1022:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1049:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_HSCROLLKEY [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1105:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1132:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1183:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_HSCROLLKEY [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1203:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1246:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1269:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_UNKNOWN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1311:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_F1 [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1337:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1360:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_CBW_SIZE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1450:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1516:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1575:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_CLOSE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1607:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1633:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/initwindow.cpp:1665:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_NONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/main.cpp:81:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/main.cpp:169:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FULLSCREEN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/main.cpp:194:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/main.cpp:223:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/main.cpp:321:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/main.cpp:360:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIMSONRC [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/main.cpp:432:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIMSONRC [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/main.cpp:477:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISPLAY_BPP [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/main.cpp:498:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/main.cpp:539:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_IMAGES [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/ai.cpp:49:5: warning: Member variable 'AI::progress' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/ai.h:39:5: warning: Member variable 'AIObj::type' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/ai.h:39:5: warning: Member variable 'AIObj::flags' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/ai.h:39:5: warning: Member variable 'AIObj::priority' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/ai.h:83:18: performance:inconclusive: Technically the member function 'AI::UnitStrength' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/cf/ai.cpp:641:20: note: Technically the member function 'AI::UnitStrength' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/cf/ai.h:83:18: note: Technically the member function 'AI::UnitStrength' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/cf/ai.h:96:8: performance:inconclusive: Technically the member function 'AI::SameDirection' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/cf/ai.cpp:1110:10: note: Technically the member function 'AI::SameDirection' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/cf/ai.h:96:8: note: Technically the member function 'AI::SameDirection' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/cf/ai.h:32:3: style: Class 'AI' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/cf/ai.h:60:7: style: Class 'AIAllocNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/cf/ai.cpp:316:22: style: The scope of the variable 'bestval' can be reduced. [variableScope] crimson-0.5.2.orig/src/cf/ai.cpp:316:31: style: The scope of the variable 'crystals' can be reduced. [variableScope] crimson-0.5.2.orig/src/cf/ai.cpp:505:9: style: The scope of the variable 'enemy' can be reduced. [variableScope] crimson-0.5.2.orig/src/cf/ai.cpp:1067:11: style: The scope of the variable 'turns' can be reduced. [variableScope] crimson-0.5.2.orig/src/cf/ai.cpp:1143:19: style: Local variable 'type' shadows outer variable [shadowVariable] crimson-0.5.2.orig/src/cf/ai.h:47:20: note: Shadowed declaration crimson-0.5.2.orig/src/cf/ai.cpp:1143:19: note: Shadow variable crimson-0.5.2.orig/src/cf/ai.cpp:504:46: style: Parameter 'obj' can be declared as reference to const [constParameterReference] crimson-0.5.2.orig/src/cf/ai.cpp:527:45: style: Parameter 'obj' can be declared as reference to const [constParameterReference] crimson-0.5.2.orig/src/cf/ai.cpp:549:48: style: Parameter 'obj' can be declared as reference to const [constParameterReference] crimson-0.5.2.orig/src/cf/ai.cpp:116:13: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/ai.cpp:124:13: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/ai.cpp:164:13: style: Variable 'last' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/ai.cpp:468:11: style: Variable 'last' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/ai.cpp:587:17: style: Variable 'last' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/ai.cpp:621:17: style: Variable 'last' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/ai.cpp:641:40: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] crimson-0.5.2.orig/src/cf/ai.cpp:663:32: style: Parameter 'owner' can be declared as pointer to const [constParameterPointer] crimson-0.5.2.orig/src/cf/ai.cpp:695:32: style: Parameter 'owner' can be declared as pointer to const [constParameterPointer] crimson-0.5.2.orig/src/cf/ai.cpp:744:40: style: Parameter 'owner' can be declared as pointer to const [constParameterPointer] crimson-0.5.2.orig/src/cf/ai.cpp:912:11: style: Variable 'sup' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/ai.cpp:1011:16: style: Variable 'to' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/ai.cpp:325:32: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] crimson-0.5.2.orig/src/cf/initwindow.h:34:3: style: Class 'TitleWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/cf/initwindow.h:109:3: style: Class 'VideoOptionsWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/cf/initwindow.h:140:3: style: Class 'KeyboardOptionsWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/cf/initwindow.h:168:3: style: Class 'SoundOptionsWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/cf/initwindow.h:99:14: style: The function 'WidgetActivated' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/initwindow.h:80:22: note: Virtual function in base class crimson-0.5.2.orig/src/cf/initwindow.h:99:14: note: Function in derived class crimson-0.5.2.orig/src/cf/initwindow.h:113:14: style: The function 'WidgetActivated' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/initwindow.h:80:22: note: Virtual function in base class crimson-0.5.2.orig/src/cf/initwindow.h:113:14: note: Function in derived class crimson-0.5.2.orig/src/cf/initwindow.h:129:14: style: The function 'WidgetActivated' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/initwindow.h:80:22: note: Virtual function in base class crimson-0.5.2.orig/src/cf/initwindow.h:129:14: note: Function in derived class crimson-0.5.2.orig/src/cf/initwindow.h:144:14: style: The function 'WidgetActivated' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/initwindow.h:80:22: note: Virtual function in base class crimson-0.5.2.orig/src/cf/initwindow.h:144:14: note: Function in derived class crimson-0.5.2.orig/src/cf/initwindow.h:169:8: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/initwindow.h:77:16: note: Virtual function in base class crimson-0.5.2.orig/src/cf/initwindow.h:169:8: note: Function in derived class crimson-0.5.2.orig/src/cf/initwindow.h:172:14: style: The function 'WidgetActivated' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/cf/initwindow.h:80:22: note: Virtual function in base class crimson-0.5.2.orig/src/cf/initwindow.h:172:14: note: Function in derived class crimson-0.5.2.orig/src/cf/game.cpp:1620:13: style: Condition 'move' is always true [knownConditionTrueFalse] crimson-0.5.2.orig/src/cf/game.cpp:1616:8: note: Assuming that condition '!move' is not redundant crimson-0.5.2.orig/src/cf/game.cpp:1620:13: note: Condition 'move' is always true crimson-0.5.2.orig/src/cf/map.cpp:112:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORTH [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/map.cpp:212:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHELTERED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/map.cpp:264:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_color [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/map.cpp:306:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MCOST_MIN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/game.cpp:298:29: style:inconclusive: Function 'Save' argument 1 names different: declaration 'file' definition 'filename'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/cf/game.h:70:25: note: Function 'Save' argument 1 names different: declaration 'file' definition 'filename'. crimson-0.5.2.orig/src/cf/game.cpp:298:29: note: Function 'Save' argument 1 names different: declaration 'file' definition 'filename'. crimson-0.5.2.orig/src/cf/game.cpp:335:29: style:inconclusive: Function 'Load' argument 1 names different: declaration 'file' definition 'filename'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/cf/game.h:68:25: note: Function 'Load' argument 1 names different: declaration 'file' definition 'filename'. crimson-0.5.2.orig/src/cf/game.cpp:335:29: note: Function 'Load' argument 1 names different: declaration 'file' definition 'filename'. crimson-0.5.2.orig/src/cf/game.cpp:411:34: style:inconclusive: Function 'SwitchMap' argument 1 names different: declaration 'mission' definition 'sequel'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/cf/game.h:123:30: note: Function 'SwitchMap' argument 1 names different: declaration 'mission' definition 'sequel'. crimson-0.5.2.orig/src/cf/game.cpp:411:34: note: Function 'SwitchMap' argument 1 names different: declaration 'mission' definition 'sequel'. crimson-0.5.2.orig/src/cf/game.cpp:1207:31: style:inconclusive: Function 'DeselectUnit' argument 1 names different: declaration 'update' definition 'display'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/cf/game.h:85:27: note: Function 'DeselectUnit' argument 1 names different: declaration 'update' definition 'display'. crimson-0.5.2.orig/src/cf/game.cpp:1207:31: note: Function 'DeselectUnit' argument 1 names different: declaration 'update' definition 'display'. crimson-0.5.2.orig/src/cf/game.cpp:1926:28: style:inconclusive: Function 'UnitMenu' argument 1 names different: declaration 'unit' definition 'u'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/cf/game.h:122:24: note: Function 'UnitMenu' argument 1 names different: declaration 'unit' definition 'u'. crimson-0.5.2.orig/src/cf/game.cpp:1926:28: note: Function 'UnitMenu' argument 1 names different: declaration 'unit' definition 'u'. crimson-0.5.2.orig/src/cf/game.cpp:759:13: style: Local variable 'com' shadows outer variable [shadowVariable] crimson-0.5.2.orig/src/cf/game.cpp:751:11: note: Shadowed declaration crimson-0.5.2.orig/src/cf/game.cpp:759:13: note: Shadow variable crimson-0.5.2.orig/src/cf/game.cpp:1907:39: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] crimson-0.5.2.orig/src/cf/game.cpp:770:13: style: Variable 'p' can be declared as reference to const [constVariableReference] crimson-0.5.2.orig/src/cf/game.cpp:1360:8: style: Variable 'map' can be declared as reference to const [constVariableReference] crimson-0.5.2.orig/src/cf/game.cpp:1529:11: style: Variable 'p' can be declared as reference to const [constVariableReference] crimson-0.5.2.orig/src/cf/game.cpp:1682:11: style: Variable 'p' can be declared as reference to const [constVariableReference] crimson-0.5.2.orig/src/cf/game.cpp:812:18: style: Variable 'history' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/game.cpp:900:11: style: Variable 'player' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/game.cpp:1140:10: style: Variable 'map' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/game.cpp:1146:15: style: Variable 'm' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/game.cpp:1158:23: style: Variable 'e' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/game.cpp:1334:16: style: Variable 't' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/game.cpp:1527:8: style: Variable 'map' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/game.cpp:1611:9: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/game.cpp:1632:14: style: Variable 'mo' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/game.cpp:1854:11: error: Uninitialized variable: u2 [legacyUninitvar] crimson-0.5.2.orig/src/cf/map.cpp:32:6: warning: Member variable 'Map::m_w' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/map.cpp:32:6: warning: Member variable 'Map::m_h' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/map.cpp:32:6: warning: Member variable 'Map::uset' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/map.cpp:32:6: warning: Member variable 'Map::tset' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:44:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MV_DISABLE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:81:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_COLOR_SHADOW [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISPLAY_BPP [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:176:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_COLOR_WHITE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:227:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISPLAY_BPP [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:284:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:314:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MV_DIRTY [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:355:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:398:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XP_ICON_WIDTH [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:431:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:497:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:544:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_CLOSE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:580:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:595:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:671:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XP_ICON_WIDTH [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:728:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOX_RECESSED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:764:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORTH [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/map.cpp:187:34: style:inconclusive: Function 'GetUnit' argument 1 names different: declaration 'pos' definition 'hex'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/cf/map.h:53:31: note: Function 'GetUnit' argument 1 names different: declaration 'pos' definition 'hex'. crimson-0.5.2.orig/src/cf/map.cpp:187:34: note: Function 'GetUnit' argument 1 names different: declaration 'pos' definition 'hex'. crimson-0.5.2.orig/src/cf/map.cpp:312:15: style: Variable 'bld' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/initwindow.cpp:1245:12: warning: Either the condition 'n' is redundant or there is possible null pointer dereference: n. [nullPointerRedundantCheck] crimson-0.5.2.orig/src/cf/initwindow.cpp:1242:9: note: Assuming that condition 'n' is not redundant crimson-0.5.2.orig/src/cf/initwindow.cpp:1245:12: note: Null pointer dereference crimson-0.5.2.orig/src/cf/initwindow.cpp:102:11: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/initwindow.cpp:109:11: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/initwindow.cpp:116:11: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/initwindow.cpp:247:23: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/initwindow.cpp:283:22: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/initwindow.cpp:561:24: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/initwindow.cpp:804:22: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/initwindow.cpp:829:24: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/initwindow.cpp:871:21: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/initwindow.cpp:1088:21: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/initwindow.cpp:1138:19: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/initwindow.cpp:562:10: style: The scope of the variable 'campaign' can be reduced. [variableScope] crimson-0.5.2.orig/src/cf/initwindow.cpp:562:28: style: The scope of the variable 'skirmish' can be reduced. [variableScope] crimson-0.5.2.orig/src/cf/initwindow.cpp:1299:10: style: The scope of the variable 'name' can be reduced. [variableScope] crimson-0.5.2.orig/src/cf/initwindow.cpp:988:59: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/cf/initwindow.h:99:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/cf/initwindow.cpp:988:59: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/cf/initwindow.cpp:1417:57: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/cf/initwindow.h:172:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/cf/initwindow.cpp:1417:57: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/cf/initwindow.cpp:567:14: style: Local variable 'title' shadows outer variable [shadowVariable] crimson-0.5.2.orig/src/cf/initwindow.h:69:11: note: Shadowed declaration crimson-0.5.2.orig/src/cf/initwindow.cpp:567:14: note: Shadow variable crimson-0.5.2.orig/src/cf/initwindow.cpp:829:17: style: Variable 'nres' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/initwindow.cpp:1150:20: style: Variable 'mwin' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/initwindow.cpp:212:6: style: Variable 'wd' is assigned a value that is never used. [unreadVariable] crimson-0.5.2.orig/src/cf/initwindow.cpp:562:19: style: Variable 'campaign' is assigned a value that is never used. [unreadVariable] crimson-0.5.2.orig/src/cf/initwindow.cpp:562:37: style: Variable 'skirmish' is assigned a value that is never used. [unreadVariable] crimson-0.5.2.orig/src/cf/mission.cpp:52:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FID_MISSION [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mission.cpp:168:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_NONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mission.cpp:191:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FID_MISSION [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mission.cpp:225:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FID_MISSION [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mission.cpp:312:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_TRANSPORT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/network.cpp:213:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/network.cpp:306:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/network.cpp:344:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/network.cpp:402:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/network.cpp:429:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mission.h:123:6: performance:inconclusive: Technically the member function 'Mission::FindID < Unit >' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/cf/mission.h:123:6: note: Technically the member function 'Mission::FindID < Unit >' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/cf/mission.h:123:6: note: Technically the member function 'Mission::FindID < Unit >' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/cf/mission.h:123:6: performance:inconclusive: Technically the member function 'Mission::FindID < Building >' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/cf/mission.h:123:6: note: Technically the member function 'Mission::FindID < Building >' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/cf/mission.h:123:6: note: Technically the member function 'Mission::FindID < Building >' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/cf/mission.h:123:6: performance:inconclusive: Technically the member function 'Mission::FindID < Event >' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/cf/mission.h:123:6: note: Technically the member function 'Mission::FindID < Event >' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/cf/mission.h:123:6: note: Technically the member function 'Mission::FindID < Event >' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/cf/network.h:75:8: style:inconclusive: Technically the member function 'TCPConnection::Send' can be const. [functionConst] crimson-0.5.2.orig/src/cf/network.cpp:288:21: note: Technically the member function 'TCPConnection::Send' can be const. crimson-0.5.2.orig/src/cf/network.h:75:8: note: Technically the member function 'TCPConnection::Send' can be const. crimson-0.5.2.orig/src/cf/network.cpp:102:5: error: Common realloc mistake: 'mem' nulled but not freed upon failure [memleakOnRealloc] crimson-0.5.2.orig/src/cf/network.cpp:76:9: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/network.cpp:102:11: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/network.cpp:337:22: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/cf/network.cpp:165:35: style:inconclusive: Function 'Write' argument 1 names different: declaration 'values' definition 'buffer'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/cf/network.h:48:26: note: Function 'Write' argument 1 names different: declaration 'values' definition 'buffer'. crimson-0.5.2.orig/src/cf/network.cpp:165:35: note: Function 'Write' argument 1 names different: declaration 'values' definition 'buffer'. crimson-0.5.2.orig/src/cf/network.cpp:288:38: style: Parameter 'buf' can be declared as reference to const [constParameterReference] crimson-0.5.2.orig/src/cf/options.cpp:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_UNKNOWN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/platform.cpp:217:33: style: Parameter 'opts' can be declared as reference to const [constParameterReference] crimson-0.5.2.orig/src/cf/platform.cpp:218:28: style: Parameter 'view' can be declared as pointer to const [constParameterPointer] crimson-0.5.2.orig/src/cf/unit.cpp:39:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORTH [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.cpp:84:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_NONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.cpp:113:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XP_MAX_LEVEL [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.cpp:158:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_ATTACKED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.cpp:184:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHIP [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.cpp:202:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DESTROYED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.cpp:242:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.cpp:262:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_AIR [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.cpp:279:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GROUP_SIZE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.cpp:297:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_AIR [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unit.cpp:313:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_ATTACKED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/path.cpp:137:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORTH [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/path.cpp:234:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Direction [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/path.cpp:423:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORTH [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/path.cpp:509:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MCOST_MIN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unitwindow.cpp:113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spacing [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unitwindow.cpp:126:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unitwindow.cpp:209:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XP_ICON_WIDTH [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unitwindow.cpp:304:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unitwindow.cpp:349:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unitwindow.cpp:366:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unitwindow.cpp:449:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unitwindow.cpp:491:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unitwindow.cpp:578:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XP_ICON_WIDTH [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.h:115:16: style: Virtual function 'Draw' is called from constructor 'CombatWindow(Combat*combat,MapWindow*mapwin,View*view)' at line 715. Dynamic binding is not used. [virtualCallInConstructor] crimson-0.5.2.orig/src/cf/mapwindow.cpp:715:3: note: Calling Draw crimson-0.5.2.orig/src/cf/mapwindow.h:115:16: note: Draw is a virtual function crimson-0.5.2.orig/src/cf/unitwindow.cpp:662:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/unitwindow.cpp:685:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/mapwindow.cpp:218:17: style: The scope of the variable 'firstticks' can be reduced. [variableScope] crimson-0.5.2.orig/src/cf/mapwindow.cpp:218:29: style: The scope of the variable 'oldticks' can be reduced. [variableScope] crimson-0.5.2.orig/src/cf/mapwindow.cpp:281:38: style:inconclusive: Function 'BoxAvoidHexes' argument 1 names different: declaration 'rect' definition 'box'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/cf/mapwindow.h:82:29: note: Function 'BoxAvoidHexes' argument 1 names different: declaration 'rect' definition 'box'. crimson-0.5.2.orig/src/cf/mapwindow.cpp:281:38: note: Function 'BoxAvoidHexes' argument 1 names different: declaration 'rect' definition 'box'. crimson-0.5.2.orig/src/cf/mapwindow.cpp:180:9: style: Variable 'blocker' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/mapwindow.cpp:394:13: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/mapwindow.cpp:403:17: style: Variable 'b' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/mapwindow.cpp:443:17: style: Variable 'b' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/mapwindow.cpp:744:8: style: Variable 'map' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/unit.h:82:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XP_PER_LEVEL [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/unit.h:92:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_GROUND [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/unit.h:93:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHIP [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/unit.h:94:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_AIR [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/unit.h:95:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MINE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/unit.h:96:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_TRANSPORT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/unit.h:97:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MEDIC [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/unit.h:98:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MINESWEEPER [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/unit.h:100:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SLOW [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/unit.h:101:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHELTERED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/unit.h:102:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_FLOATING [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/unit.h:103:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/building.h:38:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLD_WORKSHOP [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/building.h:39:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLD_FACTORY [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/building.cpp:39:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLD_WORKSHOP [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/building.cpp:114:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLD_WORKSHOP [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/unit.h:58:3: warning: Member variable 'Unit::u_flags' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/unit.h:58:3: warning: Member variable 'Unit::u_id' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/unit.h:58:3: warning: Member variable 'Unit::u_facing' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/unit.h:58:3: warning: Member variable 'Unit::u_group' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/unit.h:58:3: warning: Member variable 'Unit::u_xp' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/unit.h:58:3: warning: Member variable 'Unit::u_pid' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/unit.h:58:3: warning: Member variable 'Unit::u_type' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/unit.h:58:3: warning: Member variable 'Unit::u_crystals' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/building.h:30:3: warning: Member variable 'Building::b_id' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/building.h:30:3: warning: Member variable 'Building::b_flags' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/building.h:30:3: warning: Member variable 'Building::b_crystals' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/building.h:30:3: warning: Member variable 'Building::b_maxcrystals' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/building.h:30:3: warning: Member variable 'Building::b_uprod' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/building.h:30:3: warning: Member variable 'Building::b_cprod' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/building.h:30:3: warning: Member variable 'Building::b_minweight' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/building.h:30:3: warning: Member variable 'Building::b_maxweight' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/building.h:30:3: warning: Member variable 'Building::b_pid' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/building.h:30:3: warning: Member variable 'Building::b_name_id' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/building.cpp:38:3: performance: Variable 'b_pos' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] crimson-0.5.2.orig/src/comet/unit.h:80:19: warning: The class 'Unit' defines member function with name 'Type' also defined in its parent class 'MapObject'. [duplInheritedMember] crimson-0.5.2.orig/src/comet/unit.h:40:18: note: Parent function 'MapObject::Type' crimson-0.5.2.orig/src/comet/unit.h:80:19: note: Derived function 'Unit::Type' crimson-0.5.2.orig/src/comet/unit.h:74:15: style: The function 'Name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/comet/unit.h:44:23: note: Virtual function in base class crimson-0.5.2.orig/src/comet/unit.h:74:15: note: Function in derived class crimson-0.5.2.orig/src/comet/unit.h:75:17: style: The function 'Owner' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/comet/unit.h:45:25: note: Virtual function in base class crimson-0.5.2.orig/src/comet/unit.h:75:17: note: Function in derived class crimson-0.5.2.orig/src/comet/unit.h:77:16: style: The function 'Position' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/comet/unit.h:46:24: note: Virtual function in base class crimson-0.5.2.orig/src/comet/unit.h:77:16: note: Function in derived class crimson-0.5.2.orig/src/comet/unit.h:106:18: style: The function 'MinWeight' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/comet/unit.h:48:26: note: Virtual function in base class crimson-0.5.2.orig/src/comet/unit.h:106:18: note: Function in derived class crimson-0.5.2.orig/src/comet/unit.h:107:18: style: The function 'MaxWeight' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/comet/unit.h:49:26: note: Virtual function in base class crimson-0.5.2.orig/src/comet/unit.h:107:18: note: Function in derived class crimson-0.5.2.orig/src/comet/building.h:47:15: style: The function 'Name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/comet/unit.h:44:23: note: Virtual function in base class crimson-0.5.2.orig/src/comet/building.h:47:15: note: Function in derived class crimson-0.5.2.orig/src/comet/building.h:48:17: style: The function 'Owner' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/comet/unit.h:45:25: note: Virtual function in base class crimson-0.5.2.orig/src/comet/building.h:48:17: note: Function in derived class crimson-0.5.2.orig/src/comet/building.h:49:16: style: The function 'Position' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/comet/unit.h:46:24: note: Virtual function in base class crimson-0.5.2.orig/src/comet/building.h:49:16: note: Function in derived class crimson-0.5.2.orig/src/comet/building.h:51:18: style: The function 'MinWeight' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/comet/unit.h:48:26: note: Virtual function in base class crimson-0.5.2.orig/src/comet/building.h:51:18: note: Function in derived class crimson-0.5.2.orig/src/comet/building.h:52:18: style: The function 'MaxWeight' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/comet/unit.h:49:26: note: Virtual function in base class crimson-0.5.2.orig/src/comet/building.h:52:18: note: Function in derived class crimson-0.5.2.orig/src/cf/main.cpp:497:44: style: Parameter 'event' can be declared as reference to const. However it seems that 'event_filter' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crimson-0.5.2.orig/src/cf/main.cpp:287:27: note: You might need to cast the function pointer here crimson-0.5.2.orig/src/cf/main.cpp:497:44: note: Parameter 'event' can be declared as reference to const crimson-0.5.2.orig/src/cf/main.cpp:193:32: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] crimson-0.5.2.orig/src/cf/main.cpp:497:59: style: Parameter 'window' can be declared as pointer to const. However it seems that 'event_filter' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crimson-0.5.2.orig/src/cf/main.cpp:287:27: note: You might need to cast the function pointer here crimson-0.5.2.orig/src/cf/main.cpp:497:59: note: Parameter 'window' can be declared as pointer to const crimson-0.5.2.orig/src/cf/unitwindow.cpp:504:18: style: Local variable 'buttons' shadows outer variable [shadowVariable] crimson-0.5.2.orig/src/cf/unitwindow.h:69:17: note: Shadowed declaration crimson-0.5.2.orig/src/cf/unitwindow.cpp:504:18: note: Shadow variable crimson-0.5.2.orig/src/cf/unitwindow.cpp:193:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/unitwindow.cpp:194:14: style: Variable 't' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/unitwindow.cpp:195:11: style: Variable 'player' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/unitwindow.cpp:392:15: style: Variable 'b' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/unitwindow.cpp:497:13: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/unitwindow.cpp:399:24: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] crimson-0.5.2.orig/src/cf/unitwindow.cpp:278:14: style: Variable 'xoff' is assigned a value that is never used. [unreadVariable] crimson-0.5.2.orig/src/comet/map.h:59:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_image [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/map.h:60:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_type [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/map.h:62:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TT_WATER [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/map.h:64:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TT_ENTRANCE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.h:154:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_AI [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.h:158:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.h:185:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_CAMPAIGN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.h:187:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_CAMPAIGN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.h:188:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_SKIRMISH [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.h:190:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_SKIRMISH [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/gfxwidget.h:81:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable surface [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/gfxwidget.h:98:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable surface [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/edwindow.cpp:52:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_TILE_HEIGHT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/edwindow.cpp:94:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOX_RAISED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/edwindow.cpp:118:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/edwindow.cpp:140:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/edwindow.cpp:227:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUTHWEST [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/edwindow.cpp:282:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_type [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/edwindow.cpp:314:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_FILE_LOAD [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/edwindow.cpp:343:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/edwindow.cpp:367:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/edwindow.cpp:399:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/edwindow.cpp:455:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/edwindow.cpp:592:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/edwindow.cpp:617:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_DISABLED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/edwindow.cpp:694:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.h:66:3: warning:inconclusive: Member variable 'Event::e_id' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:66:3: warning:inconclusive: Member variable 'Event::e_type' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:66:3: warning:inconclusive: Member variable 'Event::e_trigger' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:66:3: warning:inconclusive: Member variable 'Event::e_depend' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:66:3: warning:inconclusive: Member variable 'Event::e_discard' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:66:3: warning:inconclusive: Member variable 'Event::e_tdata' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:66:3: warning:inconclusive: Member variable 'Event::e_data' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:66:3: warning:inconclusive: Member variable 'Event::e_title' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:66:3: warning:inconclusive: Member variable 'Event::e_message' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:66:3: warning:inconclusive: Member variable 'Event::e_flags' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:66:3: warning:inconclusive: Member variable 'Event::e_player' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:124:3: warning: Member variable 'Mission::name' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:124:3: warning: Member variable 'Mission::level_info' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:124:3: warning: Member variable 'Mission::campaign_name' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:124:3: warning: Member variable 'Mission::campaign_info' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/mission.h:35:3: style: Class 'Player' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/comet/extwindow2.h:76:3: style: Class 'NewMissionWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/comet/gfxwidget.h:80:8: style: The function 'DrawItem' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/comet/gfxwidget.h:50:16: note: Virtual function in base class crimson-0.5.2.orig/src/comet/gfxwidget.h:80:8: note: Function in derived class crimson-0.5.2.orig/src/comet/gfxwidget.h:82:9: style: The function 'GetImage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/comet/gfxwidget.h:51:17: note: Virtual function in base class crimson-0.5.2.orig/src/comet/gfxwidget.h:82:9: note: Function in derived class crimson-0.5.2.orig/src/comet/gfxwidget.h:97:8: style: The function 'DrawItem' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/comet/gfxwidget.h:50:16: note: Virtual function in base class crimson-0.5.2.orig/src/comet/gfxwidget.h:97:8: note: Function in derived class crimson-0.5.2.orig/src/comet/gfxwidget.h:99:9: style: The function 'GetImage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/comet/gfxwidget.h:51:17: note: Virtual function in base class crimson-0.5.2.orig/src/comet/gfxwidget.h:99:9: note: Function in derived class crimson-0.5.2.orig/src/comet/edwindow.cpp:330:3: error: Returning/dereferencing 'ms' after it is deallocated / released [deallocret] crimson-0.5.2.orig/src/comet/edwindow.cpp:322:16: note: Returning/dereferencing 'ms' after it is deallocated / released crimson-0.5.2.orig/src/comet/edwindow.cpp:330:3: note: Returning/dereferencing 'ms' after it is deallocated / released crimson-0.5.2.orig/src/comet/edwindow.cpp:114:8: style: The scope of the variable 'posbuf' can be reduced. [variableScope] crimson-0.5.2.orig/src/comet/edwindow.cpp:121:16: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/edwindow.cpp:572:25: style: Variable 'nmw' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/edwindow.cpp:628:19: style: Variable 'b' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/edwindow.cpp:373:35: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] crimson-0.5.2.orig/src/comet/eventwindow.cpp:58:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_STR_CONST [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:231:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:307:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:345:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_STR_CONST [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:420:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:507:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:545:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:627:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:661:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:712:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFLAG_DISABLED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:740:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_ALIGN_LEFT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:769:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_CLOSE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:802:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:861:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:905:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:973:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:992:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1058:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1078:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1163:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1215:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1259:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETRIGGER_TIMER [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1306:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1386:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1414:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1466:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1496:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1547:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1565:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1586:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1610:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1709:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1734:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1841:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1854:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_CBW_SIZE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1896:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/gfxwidget.cpp:76:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/gfxwidget.cpp:94:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/gfxwidget.cpp:163:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hook [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/gfxwidget.cpp:182:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/gfxwidget.cpp:195:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_WHEELUP [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/path.cpp:415:11: style: Variable 'm' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/gfxwidget.cpp:233:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/cf/path.cpp:425:19: style: Variable 'e' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/cf/path.cpp:158:46: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] crimson-0.5.2.orig/src/comet/extwindow2.cpp:85:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:149:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:198:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:227:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:262:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_ALIGN_LEFT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:345:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:447:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:490:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:615:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:707:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:792:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLD_WORKSHOP [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:879:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:948:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1006:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1048:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1095:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1135:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1180:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1221:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1347:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1376:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1422:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1510:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_LANG_DEFAULT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1599:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/main.cpp:121:40: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] crimson-0.5.2.orig/src/comet/gfxwidget.cpp:40:12: warning: Member variable 'GfxWidget::current' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/gfxwidget.cpp:40:12: warning: Member variable 'GfxWidget::items' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/gfxwidget.cpp:40:12: warning: Member variable 'GfxWidget::rows' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/gfxwidget.cpp:40:12: warning: Member variable 'GfxWidget::toprow' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/gfxwidget.cpp:40:12: warning: Member variable 'GfxWidget::visrows' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/gfxwidget.cpp:40:12: warning: Member variable 'GfxWidget::gfx_w' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/gfxwidget.cpp:40:12: warning: Member variable 'GfxWidget::gfx_h' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/gfxwidget.cpp:40:12: warning: Member variable 'GfxWidget::gfx_per_row' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/map.cpp:230:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_FLOATING [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/map.cpp:261:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_color [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/map.cpp:32:6: warning: Member variable 'Map::m_w' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/map.cpp:32:6: warning: Member variable 'Map::m_h' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/map.cpp:32:6: warning: Member variable 'Map::m_uset' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/map.cpp:32:6: warning: Member variable 'Map::m_tset' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/comet/map.cpp:209:34: style:inconclusive: Function 'GetUnit' argument 1 names different: declaration 'pos' definition 'hex'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/map.h:52:31: note: Function 'GetUnit' argument 1 names different: declaration 'pos' definition 'hex'. crimson-0.5.2.orig/src/comet/map.cpp:209:34: note: Function 'GetUnit' argument 1 names different: declaration 'pos' definition 'hex'. crimson-0.5.2.orig/src/comet/mapgen.h:31:8: performance:inconclusive: Technically the member function 'MapGenerator::Generate' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/comet/mapgen.cpp:64:20: note: Technically the member function 'MapGenerator::Generate' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/comet/mapgen.h:31:8: note: Technically the member function 'MapGenerator::Generate' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/comet/mapgen.h:43:8: style:inconclusive: Technically the member function 'HeightMap::Pass' can be const. [functionConst] crimson-0.5.2.orig/src/comet/mapgen.cpp:195:17: note: Technically the member function 'HeightMap::Pass' can be const. crimson-0.5.2.orig/src/comet/mapgen.h:43:8: note: Technically the member function 'HeightMap::Pass' can be const. crimson-0.5.2.orig/src/comet/mapgen.cpp:159:3: warning: Class 'HeightMap' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] crimson-0.5.2.orig/src/comet/mapgen.cpp:159:3: warning: Class 'HeightMap' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] crimson-0.5.2.orig/src/comet/eventwindow.cpp:170:59: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:36:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:170:59: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:339:61: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:175:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:339:61: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:469:62: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:68:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:469:62: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:583:63: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:92:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:583:63: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:696:62: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:116:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:696:62: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:765:59: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:137:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:765:59: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:838:58: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:151:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:838:58: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:942:60: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:198:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:942:60: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1032:57: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:221:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1032:57: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1133:58: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:245:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1133:58: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1248:60: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:265:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1248:60: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1352:63: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:286:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1352:63: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1445:59: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:310:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1445:59: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1526:59: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:331:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1526:59: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1584:56: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:352:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1584:56: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1653:64: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:362:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1653:64: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1789:63: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:385:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1789:63: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1893:59: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/eventwindow.h:409:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:1893:59: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/eventwindow.cpp:114:12: style: Variable 'e' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/eventwindow.cpp:127:12: style: Variable 'e' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/eventwindow.cpp:536:9: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/eventwindow.cpp:658:10: style: Variable 'e' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/eventwindow.cpp:800:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/eventwindow.cpp:913:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1212:10: style: Variable 'e' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1258:14: style: Variable 'e' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1412:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1492:9: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1621:11: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1693:13: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1750:11: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/eventwindow.cpp:1825:13: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/unit.cpp:44:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_TWO [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/unit.cpp:122:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GROUP_SIZE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/unit.cpp:40:3: performance: Variable 'u_pos' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1047:18: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1058:18: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1221:34: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1231:17: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1500:25: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/comet/extwindow2.cpp:947:51: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/extwindow2.h:191:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/extwindow2.cpp:947:51: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/extwindow2.cpp:1154:48: style:inconclusive: Function 'BuildTLWList' argument 1 names different: declaration 'list' definition 'events'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/extwindow2.h:237:31: note: Function 'BuildTLWList' argument 1 names different: declaration 'list' definition 'events'. crimson-0.5.2.orig/src/comet/extwindow2.cpp:1154:48: note: Function 'BuildTLWList' argument 1 names different: declaration 'list' definition 'events'. crimson-0.5.2.orig/src/comet/extwindow2.cpp:1479:50: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/comet/extwindow2.h:302:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/extwindow2.cpp:1479:50: note: Function 'WidgetActivated' argument 1 names different: declaration 'button' definition 'widget'. crimson-0.5.2.orig/src/comet/extwindow2.cpp:1564:22: style: Local variable 'n' shadows outer variable [shadowVariable] crimson-0.5.2.orig/src/comet/extwindow2.cpp:1480:12: note: Shadowed declaration crimson-0.5.2.orig/src/comet/extwindow2.cpp:1564:22: note: Shadow variable crimson-0.5.2.orig/src/comet/extwindow2.cpp:1463:7: style: Variable 'btn' is assigned a value that is never used. [unreadVariable] crimson-0.5.2.orig/src/common/view.h:55:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FULLSCREEN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/button.cpp:123:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/button.cpp:140:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/button.cpp:157:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_RETURN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/button.cpp:171:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_RETURN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/button.cpp:254:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/button.cpp:276:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_RETURN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/button.cpp:416:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/button.cpp:437:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/button.cpp:457:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_RETURN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.cpp:54:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_SKIRMISH [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.cpp:94:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FID_MISSION [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.cpp:231:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.cpp:366:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_AI [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.cpp:426:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHELTERED [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.cpp:655:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_AI [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.cpp:977:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETRIGGER_TIMER [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.cpp:1035:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPUTER [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.cpp:1125:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.cpp:1355:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GROUP_SIZE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/fileio.cpp:359:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/fileio.cpp:79:26: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] crimson-0.5.2.orig/src/common/fileio.cpp:179:26: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] crimson-0.5.2.orig/src/common/fileio.cpp:77:3: warning: Class 'Directory' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] crimson-0.5.2.orig/src/common/fileio.cpp:77:3: warning: Class 'Directory' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] crimson-0.5.2.orig/src/common/fileio.h:56:3: style: Class 'Directory' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/common/fileio.h:109:3: style: Class 'File' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/common/fileio.h:110:4: style: The destructor '~File' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/fileio.h:91:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/fileio.h:110:4: note: Destructor in derived class crimson-0.5.2.orig/src/common/fileio.h:112:7: style: The function 'Read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/fileio.h:93:15: note: Virtual function in base class crimson-0.5.2.orig/src/common/fileio.h:112:7: note: Function in derived class crimson-0.5.2.orig/src/common/fileio.h:114:17: style: The function 'Read8' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/fileio.h:94:25: note: Virtual function in base class crimson-0.5.2.orig/src/common/fileio.h:114:17: note: Function in derived class crimson-0.5.2.orig/src/common/fileio.h:115:18: style: The function 'Read16' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/fileio.h:95:26: note: Virtual function in base class crimson-0.5.2.orig/src/common/fileio.h:115:18: note: Function in derived class crimson-0.5.2.orig/src/common/fileio.h:116:17: style: The function 'Read32' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/fileio.h:96:25: note: Virtual function in base class crimson-0.5.2.orig/src/common/fileio.h:116:17: note: Function in derived class crimson-0.5.2.orig/src/common/fileio.h:118:7: style: The function 'Write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/fileio.h:99:15: note: Virtual function in base class crimson-0.5.2.orig/src/common/fileio.h:118:7: note: Function in derived class crimson-0.5.2.orig/src/common/fileio.h:120:7: style: The function 'Write8' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/fileio.h:100:15: note: Virtual function in base class crimson-0.5.2.orig/src/common/fileio.h:120:7: note: Function in derived class crimson-0.5.2.orig/src/common/fileio.h:122:7: style: The function 'Write16' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/fileio.h:101:15: note: Virtual function in base class crimson-0.5.2.orig/src/common/fileio.h:122:7: note: Function in derived class crimson-0.5.2.orig/src/common/fileio.h:124:7: style: The function 'Write32' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/fileio.h:102:15: note: Virtual function in base class crimson-0.5.2.orig/src/common/fileio.h:124:7: note: Function in derived class crimson-0.5.2.orig/src/common/fileio.cpp:315:31: performance: Function parameter 'value' should be passed by const reference. [passedByValue] crimson-0.5.2.orig/src/common/rect.h:28:3: warning:inconclusive: Member variable 'Rect::x' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/rect.h:28:3: warning:inconclusive: Member variable 'Rect::y' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/rect.h:28:3: warning:inconclusive: Member variable 'Rect::w' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/rect.h:28:3: warning:inconclusive: Member variable 'Rect::h' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/color.h:28:3: warning:inconclusive: Member variable 'Color::r' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/color.h:28:3: warning:inconclusive: Member variable 'Color::g' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/color.h:28:3: warning:inconclusive: Member variable 'Color::b' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/surface.h:116:3: warning:inconclusive: Member variable 'Image::surface' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/font.h:31:3: warning: Member variable 'Font::width' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/font.h:31:3: warning: Member variable 'Font::height' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/list.h:32:3: warning: Member variable 'Node::ln_Next' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/list.h:32:3: warning: Member variable 'Node::ln_Prev' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/button.cpp:353:14: warning: Member variable 'CycleWidget::up' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/misc.h:41:3: warning:inconclusive: Member variable 'Point::x' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/misc.h:41:3: warning:inconclusive: Member variable 'Point::y' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/button.cpp:370:3: warning: Class 'CycleWidget' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] crimson-0.5.2.orig/src/common/button.cpp:370:3: warning: Class 'CycleWidget' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] crimson-0.5.2.orig/src/common/color.h:31:3: style: Class 'Color' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/common/surface.h:102:3: style: Class 'SurfaceLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/common/sound.h:42:3: style: Class 'SoundEffect' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/common/widget.h:153:4: style: The destructor '~CompositeWidget' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:75:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/widget.h:153:4: note: Destructor in derived class crimson-0.5.2.orig/src/common/widget.h:155:16: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:87:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/widget.h:155:16: note: Function in derived class crimson-0.5.2.orig/src/common/widget.h:157:22: style: The function 'MouseDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:105:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/widget.h:157:22: note: Function in derived class crimson-0.5.2.orig/src/common/widget.h:158:22: style: The function 'MouseUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:106:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/widget.h:158:22: note: Function in derived class crimson-0.5.2.orig/src/common/widget.h:159:22: style: The function 'KeyDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:107:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/widget.h:159:22: note: Function in derived class crimson-0.5.2.orig/src/common/widget.h:160:22: style: The function 'KeyUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:108:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/widget.h:160:22: note: Function in derived class crimson-0.5.2.orig/src/common/widget.h:161:22: style: The function 'MouseMove' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:109:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/widget.h:161:22: note: Function in derived class crimson-0.5.2.orig/src/common/window.h:54:12: style: The destructor '~Window' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/list.h:33:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/window.h:54:12: note: Destructor in derived class crimson-0.5.2.orig/src/common/button.h:37:16: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:87:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:37:16: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:41:22: style: The function 'MouseDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:105:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:41:22: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:42:22: style: The function 'MouseUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:106:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:42:22: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:43:22: style: The function 'KeyDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:107:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:43:22: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:44:22: style: The function 'KeyUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:108:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:44:22: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:46:16: style: The function 'Push' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:91:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:46:16: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:62:14: style: The function 'MouseDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/button.h:41:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:62:14: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:63:14: style: The function 'MouseUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/button.h:42:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:63:14: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:64:14: style: The function 'KeyDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/button.h:43:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:64:14: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:65:14: style: The function 'KeyUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/button.h:44:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:65:14: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:75:22: style: The function 'MouseMove' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:109:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:75:22: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:91:4: style: The destructor '~CycleWidget' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:75:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/button.h:91:4: note: Destructor in derived class crimson-0.5.2.orig/src/common/button.h:97:14: style: The function 'MouseDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/button.h:41:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:97:14: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:98:14: style: The function 'MouseUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/button.h:42:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:98:14: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:99:14: style: The function 'KeyUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/button.h:44:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:99:14: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:100:8: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/button.h:37:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:100:8: note: Function in derived class crimson-0.5.2.orig/src/common/button.h:118:8: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/button.h:37:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/button.h:118:8: note: Function in derived class crimson-0.5.2.orig/src/common/textbox.h:108:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spacing [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/extwindow.cpp:193:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_B_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/extwindow.cpp:262:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_B_OK [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/extwindow.cpp:345:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_B_SKIP [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/extwindow.cpp:594:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/button.cpp:316:69: style:inconclusive: Function 'MouseMove' argument 1 names different: declaration 'move' definition 'motion'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/common/button.h:75:61: note: Function 'MouseMove' argument 1 names different: declaration 'move' definition 'motion'. crimson-0.5.2.orig/src/common/button.cpp:316:69: note: Function 'MouseMove' argument 1 names different: declaration 'move' definition 'motion'. crimson-0.5.2.orig/src/common/button.cpp:73:12: style: Variable 'img' can be declared as reference to const [constVariableReference] crimson-0.5.2.orig/src/common/filewindow.cpp:50:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_B_SAVE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/filewindow.cpp:107:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_SAVE_GAME [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/font.cpp:53:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TTF_STYLE_BOLD [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/font.cpp:103:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/filewindow.cpp:71:3: warning: Class 'FileWindow' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] crimson-0.5.2.orig/src/common/filewindow.cpp:71:3: warning: Class 'FileWindow' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] crimson-0.5.2.orig/src/common/textbox.h:73:3: style: Class 'TLWNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/src/common/slider.h:46:16: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:87:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/slider.h:46:16: note: Function in derived class crimson-0.5.2.orig/src/common/slider.h:49:22: style: The function 'MouseMove' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:109:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/slider.h:49:22: note: Function in derived class crimson-0.5.2.orig/src/common/slider.h:50:22: style: The function 'MouseDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:105:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/slider.h:50:22: note: Function in derived class crimson-0.5.2.orig/src/common/slider.h:51:22: style: The function 'MouseUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:106:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/slider.h:51:22: note: Function in derived class crimson-0.5.2.orig/src/common/slider.h:52:22: style: The function 'KeyDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:107:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/slider.h:52:22: note: Function in derived class crimson-0.5.2.orig/src/common/slider.h:53:22: style: The function 'KeyUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:108:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/slider.h:53:22: note: Function in derived class crimson-0.5.2.orig/src/common/slider.h:82:8: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:87:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/slider.h:82:8: note: Function in derived class crimson-0.5.2.orig/src/common/listselect.h:35:16: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:155:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/listselect.h:35:16: note: Function in derived class crimson-0.5.2.orig/src/common/listselect.h:42:22: style: The function 'MouseDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:157:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/listselect.h:42:22: note: Function in derived class crimson-0.5.2.orig/src/common/listselect.h:43:22: style: The function 'KeyDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:159:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/listselect.h:43:22: note: Function in derived class crimson-0.5.2.orig/src/common/listselect.h:50:22: style: The function 'WidgetActivated' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:138:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/listselect.h:50:22: note: Function in derived class crimson-0.5.2.orig/src/common/textbox.h:38:4: style: The destructor '~TextWidget' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:75:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/textbox.h:38:4: note: Destructor in derived class crimson-0.5.2.orig/src/common/textbox.h:45:8: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:87:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/textbox.h:45:8: note: Function in derived class crimson-0.5.2.orig/src/common/textbox.h:65:14: style: The function 'WidgetActivated' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:138:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/textbox.h:65:14: note: Function in derived class crimson-0.5.2.orig/src/common/textbox.h:66:14: style: The function 'MouseDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:157:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/textbox.h:66:14: note: Function in derived class crimson-0.5.2.orig/src/common/textbox.h:110:16: style: The function 'DrawNodes' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/listselect.h:36:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/textbox.h:110:16: note: Function in derived class crimson-0.5.2.orig/src/common/textbox.h:113:26: style: The function 'ItemHeight' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/listselect.h:46:26: note: Virtual function in base class crimson-0.5.2.orig/src/common/textbox.h:113:26: note: Function in derived class crimson-0.5.2.orig/src/common/textbox.h:132:16: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:87:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/textbox.h:132:16: note: Function in derived class crimson-0.5.2.orig/src/common/textbox.h:139:14: style: The function 'MouseDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:105:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/textbox.h:139:14: note: Function in derived class crimson-0.5.2.orig/src/common/textbox.h:140:14: style: The function 'KeyDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:107:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/textbox.h:140:14: note: Function in derived class crimson-0.5.2.orig/src/common/textbox.h:163:8: style: The function 'ValidateKey' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/textbox.h:123:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/textbox.h:163:8: note: Function in derived class crimson-0.5.2.orig/src/common/textbox.h:169:8: style: The function 'Release' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:92:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/textbox.h:169:8: note: Function in derived class crimson-0.5.2.orig/src/common/filewindow.h:36:4: style: The destructor '~FileWindow' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/window.h:54:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/filewindow.h:36:4: note: Destructor in derived class crimson-0.5.2.orig/src/common/filewindow.h:40:8: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/window.h:56:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/filewindow.h:40:8: note: Function in derived class crimson-0.5.2.orig/src/common/filewindow.h:42:14: style: The function 'WidgetActivated' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:138:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/filewindow.h:42:14: note: Function in derived class crimson-0.5.2.orig/src/common/font.cpp:322:17: error: Using pointer to local variable 'text' that is out of scope. [invalidLifetime] crimson-0.5.2.orig/src/common/font.cpp:320:21: note: Pointer to container is created here. crimson-0.5.2.orig/src/common/font.cpp:312:12: note: Variable created here. crimson-0.5.2.orig/src/common/font.cpp:322:17: note: Using pointer to local variable 'text' that is out of scope. crimson-0.5.2.orig/src/common/filewindow.cpp:201:12: style: The scope of the variable 'node' can be reduced. [variableScope] crimson-0.5.2.orig/src/common/filewindow.cpp:202:11: style: The scope of the variable 'full' can be reduced. [variableScope] crimson-0.5.2.orig/src/common/filewindow.cpp:199:48: style:inconclusive: Function 'CreateFilesList' argument 1 names different: declaration 'dir' definition 'dirname'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/common/filewindow.h:44:45: note: Function 'CreateFilesList' argument 1 names different: declaration 'dir' definition 'dirname'. crimson-0.5.2.orig/src/common/filewindow.cpp:199:48: note: Function 'CreateFilesList' argument 1 names different: declaration 'dir' definition 'dirname'. crimson-0.5.2.orig/src/common/font.h:47:7: performance:inconclusive: Technically the member function 'Font::Write' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/common/font.cpp:266:11: note: Technically the member function 'Font::Write' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/common/font.h:47:7: note: Technically the member function 'Font::Write' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/common/font.cpp:75:8: style: Variable 'str' can be declared as const array [constVariable] crimson-0.5.2.orig/src/common/extwindow.cpp:100:3: warning: Class 'DialogWindow' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] crimson-0.5.2.orig/src/common/extwindow.cpp:100:3: warning: Class 'DialogWindow' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] crimson-0.5.2.orig/src/common/extwindow.cpp:192:3: warning: Class 'MessageWindow' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] crimson-0.5.2.orig/src/common/extwindow.cpp:192:3: warning: Class 'MessageWindow' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] crimson-0.5.2.orig/src/common/extwindow.cpp:251:3: warning: Class 'PasswordWindow' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] crimson-0.5.2.orig/src/common/extwindow.cpp:251:3: warning: Class 'PasswordWindow' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] crimson-0.5.2.orig/src/common/extwindow.cpp:352:3: warning: Class 'ProgressWindow' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] crimson-0.5.2.orig/src/common/extwindow.cpp:352:3: warning: Class 'ProgressWindow' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] crimson-0.5.2.orig/src/common/extwindow.h:70:16: style: Virtual function 'Draw' is called from constructor 'MessageWindow(const char*title,const char*msg,View*view)' at line 199. Dynamic binding is not used. [virtualCallInConstructor] crimson-0.5.2.orig/src/common/extwindow.cpp:199:3: note: Calling Draw crimson-0.5.2.orig/src/common/extwindow.h:70:16: note: Draw is a virtual function crimson-0.5.2.orig/src/common/extwindow.h:40:4: style: The destructor '~DialogWindow' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/window.h:54:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/extwindow.h:40:4: note: Destructor in derived class crimson-0.5.2.orig/src/common/extwindow.h:42:8: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/window.h:56:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/extwindow.h:42:8: note: Function in derived class crimson-0.5.2.orig/src/common/extwindow.h:70:16: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/window.h:56:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/extwindow.h:70:16: note: Function in derived class crimson-0.5.2.orig/src/common/extwindow.h:86:4: style: The destructor '~PasswordWindow' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/window.h:54:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/extwindow.h:86:4: note: Destructor in derived class crimson-0.5.2.orig/src/common/extwindow.h:87:8: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/window.h:56:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/extwindow.h:87:8: note: Function in derived class crimson-0.5.2.orig/src/common/extwindow.h:107:16: style: The function 'Cancelled' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:144:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/extwindow.h:107:16: note: Function in derived class crimson-0.5.2.orig/src/common/extwindow.h:136:8: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/window.h:56:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/extwindow.h:136:8: note: Function in derived class crimson-0.5.2.orig/src/common/extwindow.h:141:14: style: The function 'HandleEvent' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/window.h:71:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/extwindow.h:141:14: note: Function in derived class crimson-0.5.2.orig/src/common/extwindow.h:144:14: style: The function 'WidgetActivated' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:138:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/extwindow.h:144:14: note: Function in derived class crimson-0.5.2.orig/src/common/extwindow.cpp:651:49: style:inconclusive: Function 'WidgetActivated' argument 1 names different: declaration 'widget' definition 'button'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/common/extwindow.h:144:39: note: Function 'WidgetActivated' argument 1 names different: declaration 'widget' definition 'button'. crimson-0.5.2.orig/src/common/extwindow.cpp:651:49: note: Function 'WidgetActivated' argument 1 names different: declaration 'widget' definition 'button'. crimson-0.5.2.orig/src/common/extwindow.cpp:51:9: style: Variable 'tfont' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/common/extwindow.cpp:61:9: style: Variable 'start' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/common/extwindow.cpp:260:11: style: Variable 'wd' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/common/extwindow.cpp:770:49: style: Parameter 'current' can be declared as pointer to const [constParameterPointer] crimson-0.5.2.orig/src/common/gamewindow.cpp:42:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICON_HEIGHT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/gamewindow.cpp:105:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/gamewindow.cpp:140:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICON_HEIGHT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/lang.cpp:185:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/listselect.cpp:222:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/gamewindow.h:36:8: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/window.h:56:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/gamewindow.h:36:8: note: Function in derived class crimson-0.5.2.orig/src/common/gamewindow.h:37:14: style: The function 'HandleEvent' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/window.h:71:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/gamewindow.h:37:14: note: Function in derived class crimson-0.5.2.orig/src/common/gamewindow.cpp:132:9: style: Variable 'view' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/common/lang.cpp:157:9: style: Local variable 'id' shadows outer variable [shadowVariable] crimson-0.5.2.orig/src/common/lang.h:59:10: note: Shadowed declaration crimson-0.5.2.orig/src/common/lang.cpp:157:9: note: Shadow variable crimson-0.5.2.orig/src/common/lang.cpp:174:14: style: Local variable 'lang' shadows outer variable [shadowVariable] crimson-0.5.2.orig/src/common/lang.h:82:19: note: Shadowed declaration crimson-0.5.2.orig/src/common/lang.cpp:174:14: note: Shadow variable crimson-0.5.2.orig/src/common/lang.cpp:274:37: style: Parameter 'lang' can be declared as reference to const [constParameterReference] crimson-0.5.2.orig/src/common/lang.cpp:287:40: style: Parameter 'lang' can be declared as reference to const [constParameterReference] crimson-0.5.2.orig/src/common/lang.cpp:74:5: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] crimson-0.5.2.orig/src/common/lang.cpp:124:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] crimson-0.5.2.orig/src/common/lang.cpp:203:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] crimson-0.5.2.orig/src/common/listselect.cpp:42:13: warning: Member variable 'ListWidget::nodes' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/listselect.cpp:42:13: warning: Member variable 'ListWidget::rows' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/listselect.cpp:42:13: warning: Member variable 'ListWidget::visrows' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/listselect.cpp:213:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/common/mapview.cpp:325:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GROUP_SIZE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/lset.cpp:303:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SWSURFACE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.h:174:8: performance:inconclusive: Technically the member function 'Mission::DeleteEvent' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/comet/mission.cpp:603:15: note: Technically the member function 'Mission::DeleteEvent' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/comet/mission.h:174:8: note: Technically the member function 'Mission::DeleteEvent' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/comet/mission.h:198:18: performance:inconclusive: Technically the member function 'Mission::ValidateShop' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/comet/mission.cpp:1003:25: note: Technically the member function 'Mission::ValidateShop' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/comet/mission.h:198:18: note: Technically the member function 'Mission::ValidateShop' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/src/comet/mission.cpp:1137:47: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] crimson-0.5.2.orig/src/comet/mission.cpp:156:13: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] crimson-0.5.2.orig/src/comet/mission.cpp:107:7: note: i is assigned crimson-0.5.2.orig/src/comet/mission.cpp:156:13: note: i is overwritten crimson-0.5.2.orig/src/comet/mission.cpp:180:9: style: Variable 'len' is reassigned a value before the old one has been used. [redundantAssignment] crimson-0.5.2.orig/src/comet/mission.cpp:176:9: note: len is assigned crimson-0.5.2.orig/src/comet/mission.cpp:180:9: note: len is overwritten crimson-0.5.2.orig/src/common/mapwidget.cpp:196:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/comet/mission.cpp:670:35: style: Parameter 'u' can be declared as reference to const [constParameterReference] crimson-0.5.2.orig/src/comet/mission.cpp:1003:49: style: Parameter 'b' can be declared as reference to const [constParameterReference] crimson-0.5.2.orig/src/comet/mission.cpp:790:17: style: Variable 'b' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/mission.cpp:802:13: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/mission.cpp:882:13: style: Variable 'u' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/comet/mission.cpp:976:14: style: Variable 'tev' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_terrain' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_image' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_flags' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_moves' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_weight' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_defence' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_pow_ground' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_pow_ship' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_pow_air' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_min_range_ground' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_max_range_ground' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_min_range_ship' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_max_range_ship' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_min_range_air' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_max_range_air' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_build' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_trans_slots' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_trans_min_weight' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_trans_max_weight' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_typeid' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_portrait' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_snd_move' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_snd_fire' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:56:3: warning: Member variable 'UnitType::ut_name' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:165:3: warning: Member variable 'TerrainSet::classid' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/lset.h:119:18: performance:inconclusive: Technically the member function 'TileSet::TileWidth' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/common/lset.h:120:18: performance:inconclusive: Technically the member function 'TileSet::TileHeight' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/common/lset.h:121:18: performance:inconclusive: Technically the member function 'TileSet::TileShiftX' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/common/lset.h:122:18: performance:inconclusive: Technically the member function 'TileSet::TileShiftY' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/src/common/mapwidget.h:35:8: style: The function 'Draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:87:16: note: Virtual function in base class crimson-0.5.2.orig/src/common/mapwidget.h:35:8: note: Function in derived class crimson-0.5.2.orig/src/common/mapwidget.h:43:14: style: The function 'MouseDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:105:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/mapwidget.h:43:14: note: Function in derived class crimson-0.5.2.orig/src/common/mapwidget.h:44:14: style: The function 'KeyDown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:107:22: note: Virtual function in base class crimson-0.5.2.orig/src/common/mapwidget.h:44:14: note: Function in derived class crimson-0.5.2.orig/src/common/lset.h:138:4: style: The destructor '~UnitSet' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/lset.h:115:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/lset.h:138:4: note: Destructor in derived class crimson-0.5.2.orig/src/common/lset.h:140:7: style: The function 'Load' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/lset.h:117:15: note: Virtual function in base class crimson-0.5.2.orig/src/common/lset.h:140:7: note: Function in derived class crimson-0.5.2.orig/src/common/lset.h:166:4: style: The destructor '~TerrainSet' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/lset.h:115:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/lset.h:166:4: note: Destructor in derived class crimson-0.5.2.orig/src/common/lset.h:168:7: style: The function 'Load' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/lset.h:117:15: note: Virtual function in base class crimson-0.5.2.orig/src/common/lset.h:168:7: note: Function in derived class crimson-0.5.2.orig/src/common/lset.cpp:190:20: style: Condition 'ut[i].Load(file,this)' is always false [knownConditionTrueFalse] crimson-0.5.2.orig/src/common/lset.cpp:190:20: note: Calling function 'Load' returns 0 crimson-0.5.2.orig/src/common/lset.cpp:190:20: note: Condition 'ut[i].Load(file,this)' is always false crimson-0.5.2.orig/src/common/lset.cpp:340:20: style: Condition 'tt[i].Load(file)' is always false [knownConditionTrueFalse] crimson-0.5.2.orig/src/common/lset.cpp:340:20: note: Calling function 'Load' returns 0 crimson-0.5.2.orig/src/common/lset.cpp:340:20: note: Condition 'tt[i].Load(file)' is always false crimson-0.5.2.orig/src/common/misc.cpp:50:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/lset.cpp:220:35: style: The scope of the variable 'sfxname' can be reduced. [variableScope] crimson-0.5.2.orig/src/common/lset.cpp:221:19: style: The scope of the variable 'len' can be reduced. [variableScope] crimson-0.5.2.orig/src/common/misc.cpp:70:8: style: The scope of the variable 'c' can be reduced. [variableScope] crimson-0.5.2.orig/src/common/mapview.cpp:35:10: warning: Member variable 'MapView::cursor_image' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/mapview.cpp:35:10: warning: Member variable 'MapView::curx' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/mapview.cpp:35:10: warning: Member variable 'MapView::cury' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/mapview.cpp:35:10: warning: Member variable 'MapView::maxx' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/mapview.cpp:35:10: warning: Member variable 'MapView::maxy' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/mapview.cpp:35:10: warning: Member variable 'MapView::flags' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/src/common/sound.cpp:63:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/sound.cpp:224:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_FADING_OUT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/sound.cpp:308:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/mapview.cpp:159:7: style: The scope of the variable 'sx' can be reduced. [variableScope] crimson-0.5.2.orig/src/common/sound.cpp:328:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/mapview.cpp:317:62: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] crimson-0.5.2.orig/src/common/strutil.cpp:58:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/strutil.cpp:77:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/strutil.cpp:98:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/slider.cpp:148:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/slider.cpp:181:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/slider.cpp:198:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KMOD_LSHIFT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/strutil.cpp:136:22: style: The scope of the variable 'cir1' can be reduced. [variableScope] crimson-0.5.2.orig/src/common/strutil.cpp:139:22: style: The scope of the variable 'cir2' can be reduced. [variableScope] crimson-0.5.2.orig/src/common/surface.cpp:105:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/surface.cpp:130:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/surface.cpp:286:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/surface.cpp:461:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/surface.h:62:8: style:inconclusive: Technically the member function 'Surface::DrawBox' can be const. [functionConst] crimson-0.5.2.orig/src/common/surface.cpp:357:15: note: Technically the member function 'Surface::DrawBox' can be const. crimson-0.5.2.orig/src/common/surface.h:62:8: note: Technically the member function 'Surface::DrawBox' can be const. crimson-0.5.2.orig/src/common/view.cpp:287:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_MOUSEMOTION [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/view.cpp:371:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/surface.cpp:95:21: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/common/surface.cpp:102:15: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/common/surface.cpp:111:15: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/common/surface.cpp:274:13: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/common/surface.cpp:283:21: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/common/surface.cpp:292:21: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/common/surface.cpp:417:11: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/common/surface.cpp:421:9: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/common/surface.cpp:424:9: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/common/surface.cpp:437:9: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/common/surface.cpp:501:21: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/src/common/surface.cpp:333:9: style: The scope of the variable 'cx' can be reduced. [variableScope] crimson-0.5.2.orig/src/common/surface.cpp:450:59: style:inconclusive: Function 'LoadPalette' argument 2 names different: declaration 'cols' definition 'num'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/common/surface.h:87:52: note: Function 'LoadPalette' argument 2 names different: declaration 'cols' definition 'num'. crimson-0.5.2.orig/src/common/surface.cpp:450:59: note: Function 'LoadPalette' argument 2 names different: declaration 'cols' definition 'num'. crimson-0.5.2.orig/src/common/surface.cpp:265:20: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/common/textbox.cpp:101:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/textbox.cpp:432:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/textbox.cpp:494:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_MOUSEBUTTONDOWN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/view.cpp:135:11: style: Variable 'win' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/common/view.cpp:158:11: style: Variable 'window' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/common/window.cpp:244:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/window.cpp:205:39: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] crimson-0.5.2.orig/tools/bi2cf.c:592:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/textbox.h:147:18: style: Unused private function: 'StringWidget::DispWidth' [unusedPrivateFunction] crimson-0.5.2.orig/src/common/textbox.h:40:16: style: Virtual function 'SetText' is called from constructor 'TextWidget(short id,short x,short y,short w,short h,const char*str,short flags,const char*title,Window*window)' at line 51. Dynamic binding is not used. [virtualCallInConstructor] crimson-0.5.2.orig/src/common/textbox.cpp:51:3: note: Calling SetText crimson-0.5.2.orig/src/common/textbox.h:40:16: note: SetText is a virtual function crimson-0.5.2.orig/tools/cf2bmp.cpp:47:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/src/common/textbox.cpp:254:5: error: Dereferencing 's' after it is deallocated / released [deallocuse] crimson-0.5.2.orig/src/common/textbox.cpp:255:5: error: Dereferencing 's' after it is deallocated / released [deallocuse] crimson-0.5.2.orig/src/common/textbox.cpp:208:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/common/textbox.cpp:271:12: style: Variable 'n' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/src/common/widget.cpp:205:36: style:inconclusive: Function 'SetTitle' argument 1 names different: declaration 'title' definition 'str'. [funcArgNamesDifferent] crimson-0.5.2.orig/src/common/widget.h:84:30: note: Function 'SetTitle' argument 1 names different: declaration 'title' definition 'str'. crimson-0.5.2.orig/src/common/widget.cpp:205:36: note: Function 'SetTitle' argument 1 names different: declaration 'title' definition 'str'. crimson-0.5.2.orig/src/common/widget.cpp:376:45: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] crimson-0.5.2.orig/src/common/widget.cpp:364:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] crimson-0.5.2.orig/src/common/widget.cpp:379:22: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] crimson-0.5.2.orig/tools/mkdatafile.cpp:43:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mksurface.cpp:41:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BitsPerPixel [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mksurface.cpp:91:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixels [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mklocale.cpp:83:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mklocale.cpp:163:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mklocale.cpp:192:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mklocale.cpp:221:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mklocale.cpp:280:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mksurface.cpp:67:22: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/tools/mksurface.cpp:91:12: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/tools/mksurface.cpp:37:62: style:inconclusive: Function 'SaveImageData' argument 2 names different: declaration 'to' definition 'out'. [funcArgNamesDifferent] crimson-0.5.2.orig/tools/mksurface.h:26:53: note: Function 'SaveImageData' argument 2 names different: declaration 'to' definition 'out'. crimson-0.5.2.orig/tools/mksurface.cpp:37:62: note: Function 'SaveImageData' argument 2 names different: declaration 'to' definition 'out'. crimson-0.5.2.orig/tools/mklocale.cpp:36:7: performance:inconclusive: Technically the member function 'LanguageTemplate::Write' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/tools/mklocale.cpp:186:23: note: Technically the member function 'LanguageTemplate::Write' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/mklocale.cpp:36:7: note: Technically the member function 'LanguageTemplate::Write' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/mklocale.cpp:40:8: performance:inconclusive: Technically the member function 'LanguageTemplate::RemWS' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/tools/mklocale.cpp:170:24: note: Technically the member function 'LanguageTemplate::RemWS' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/mklocale.cpp:40:8: note: Technically the member function 'LanguageTemplate::RemWS' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/mklocale.cpp:181:12: style: Unsigned expression 'i' can't be negative so it is unnecessary to test it. [unsignedPositive] crimson-0.5.2.orig/tools/mktileset.cpp:87:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mktileset.cpp:198:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mktileset.cpp:230:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TT_ROAD [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:48:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_terrain [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:49:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_terrain [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:50:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_image [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:51:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_flags [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:52:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_flags [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:53:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_moves [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:54:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_weight [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:55:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_defence [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:56:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_pow_ground [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:57:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_pow_ship [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:58:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_pow_air [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:59:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_min_range_ground [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:60:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_max_range_ground [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:61:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_min_range_ship [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:62:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_max_range_ship [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:63:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_min_range_air [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:64:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_max_range_air [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:65:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_build [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:66:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_trans_slots [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:67:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_trans_min_weight [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:68:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_trans_max_weight [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:69:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_portrait [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:113:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:258:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:273:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TT_ENTRANCE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:441:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/mkunitset.cpp:459:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/bi2cf.c:156:12: style: Condition '!quiet' is always true [knownConditionTrueFalse] crimson-0.5.2.orig/tools/bi2cf.c:198:12: style: Condition '!quiet' is always true [knownConditionTrueFalse] crimson-0.5.2.orig/tools/bi2cf.c:511:9: style: Local variable 'quiet' shadows outer variable [shadowVariable] crimson-0.5.2.orig/tools/bi2cf.c:77:12: note: Shadowed declaration crimson-0.5.2.orig/tools/bi2cf.c:511:9: note: Shadow variable crimson-0.5.2.orig/tools/bi2cf.c:438:37: style: Parameter 'hqid' can be declared as const array [constParameter] crimson-0.5.2.orig/tools/bi2cf.c:503:26: style: Parameter 'argv' can be declared as const array [constParameter] crimson-0.5.2.orig/tools/cfed.cpp:138:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:174:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:213:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:227:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:307:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_NONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:363:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_NONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:431:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_NONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:716:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:832:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:873:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:964:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:1060:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:1112:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:1171:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:1207:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:1294:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:1386:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:1809:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/cfed.cpp:1833:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/parser.cpp:124:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/parser.cpp:141:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/parser.cpp:204:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/parser.cpp:246:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] crimson-0.5.2.orig/tools/parser.h:52:8: performance:inconclusive: Technically the member function 'SectionHandler::RemWhitespace' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/tools/parser.cpp:43:22: note: Technically the member function 'SectionHandler::RemWhitespace' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/parser.h:52:8: note: Technically the member function 'SectionHandler::RemWhitespace' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/parser.h:53:7: performance:inconclusive: Technically the member function 'SectionHandler::StrToNum' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/tools/parser.cpp:31:21: note: Technically the member function 'SectionHandler::StrToNum' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/parser.h:53:7: note: Technically the member function 'SectionHandler::StrToNum' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/parser.h:73:30: performance:inconclusive: Technically the member function 'CFParser::ParseSectionHeader' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/tools/parser.cpp:198:38: note: Technically the member function 'CFParser::ParseSectionHeader' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/parser.h:73:30: note: Technically the member function 'CFParser::ParseSectionHeader' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/parser.h:83:12: style: The destructor '~KeyValueSectionHandler' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:44:12: note: Virtual destructor in base class crimson-0.5.2.orig/tools/parser.h:83:12: note: Destructor in derived class crimson-0.5.2.orig/tools/parser.h:85:15: style: The function 'ParseSection' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:46:15: note: Virtual function in base class crimson-0.5.2.orig/tools/parser.h:85:15: note: Function in derived class crimson-0.5.2.orig/tools/parser.cpp:147:10: style: C-style pointer casting [cstyleCast] crimson-0.5.2.orig/tools/parser.cpp:199:10: style: The scope of the variable 'pos' can be reduced. [variableScope] crimson-0.5.2.orig/tools/mktileset.cpp:57:3: style: Class 'TilesetHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/tools/mktileset.cpp:67:3: style: Class 'TileHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/tools/mktileset.cpp:59:7: style: The function 'ParseSection' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:85:15: note: Virtual function in base class crimson-0.5.2.orig/tools/mktileset.cpp:59:7: note: Function in derived class crimson-0.5.2.orig/tools/mktileset.cpp:69:7: style: The function 'ParseSection' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:85:15: note: Virtual function in base class crimson-0.5.2.orig/tools/mktileset.cpp:69:7: note: Function in derived class crimson-0.5.2.orig/tools/mktileset.cpp:79:8: style: The function 'SectionParsed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:34:16: note: Virtual function in base class crimson-0.5.2.orig/tools/mktileset.cpp:79:8: note: Function in derived class crimson-0.5.2.orig/tools/mkunitset.cpp:94:10: performance:inconclusive: Technically the member function 'UnitHandler::ParseOpt' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/tools/mkunitset.cpp:435:21: note: Technically the member function 'UnitHandler::ParseOpt' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/mkunitset.cpp:94:10: note: Technically the member function 'UnitHandler::ParseOpt' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/mkunitset.cpp:77:3: style: Class 'UnitsetHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/tools/mkunitset.cpp:79:7: style: The function 'ParseSection' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:85:15: note: Virtual function in base class crimson-0.5.2.orig/tools/mkunitset.cpp:79:7: note: Function in derived class crimson-0.5.2.orig/tools/mkunitset.cpp:90:7: style: The function 'ParseSection' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:85:15: note: Virtual function in base class crimson-0.5.2.orig/tools/mkunitset.cpp:90:7: note: Function in derived class crimson-0.5.2.orig/tools/mkunitset.cpp:103:8: style: The function 'SectionParsed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:34:16: note: Virtual function in base class crimson-0.5.2.orig/tools/mkunitset.cpp:103:8: note: Function in derived class crimson-0.5.2.orig/tools/mkunitset.cpp:160:23: style: Condition 'units.size()==0' is always true [knownConditionTrueFalse] crimson-0.5.2.orig/tools/mkunitset.cpp:110:18: style: The scope of the variable 'i' can be reduced. [variableScope] crimson-0.5.2.orig/tools/mkunitset.cpp:342:34: style: Local variable 'it' shadows outer variable [shadowVariable] crimson-0.5.2.orig/tools/mkunitset.cpp:294:51: note: Shadowed declaration crimson-0.5.2.orig/tools/mkunitset.cpp:342:34: note: Shadow variable crimson-0.5.2.orig/tools/mkunitset.cpp:365:44: style: Local variable 'it' shadows outer variable [shadowVariable] crimson-0.5.2.orig/tools/mkunitset.cpp:294:51: note: Shadowed declaration crimson-0.5.2.orig/tools/mkunitset.cpp:365:44: note: Shadow variable crimson-0.5.2.orig/tools/mkunitset.cpp:72:23: style: class member 'EdUnitType::names' is never used. [unusedStructMember] crimson-0.5.2.orig/tools/cfed.cpp:1847:16: warning: Member variable 'MissionParser::parsed_sections' is not initialized in the constructor. [uninitMemberVar] crimson-0.5.2.orig/tools/cfed.cpp:44:9: performance:inconclusive: Technically the member function 'CfedParserUtils::ParseCoords' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/tools/cfed.cpp:133:24: note: Technically the member function 'CfedParserUtils::ParseCoords' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/cfed.cpp:44:9: note: Technically the member function 'CfedParserUtils::ParseCoords' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/cfed.cpp:46:7: performance:inconclusive: Technically the member function 'CfedParserUtils::ParsePlayerId' can be static (but you may consider moving to unnamed namespace). [functionStatic] crimson-0.5.2.orig/tools/cfed.cpp:169:22: note: Technically the member function 'CfedParserUtils::ParsePlayerId' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/cfed.cpp:46:7: note: Technically the member function 'CfedParserUtils::ParsePlayerId' can be static (but you may consider moving to unnamed namespace). crimson-0.5.2.orig/tools/cfed.cpp:42:3: style: Class 'CfedParserUtils' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/tools/cfed.cpp:66:3: style: Class 'PlayerHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/tools/cfed.cpp:79:3: style: Class 'UnitHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/tools/cfed.cpp:86:3: style: Class 'ShopHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/tools/cfed.cpp:93:3: style: Class 'EventHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/tools/cfed.cpp:100:3: style: Class 'MessagesHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] crimson-0.5.2.orig/tools/cfed.cpp:55:7: style: The function 'ParseSection' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:85:15: note: Virtual function in base class crimson-0.5.2.orig/tools/cfed.cpp:55:7: note: Function in derived class crimson-0.5.2.orig/tools/cfed.cpp:68:7: style: The function 'ParseSection' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:85:15: note: Virtual function in base class crimson-0.5.2.orig/tools/cfed.cpp:68:7: note: Function in derived class crimson-0.5.2.orig/tools/cfed.cpp:81:7: style: The function 'ParseSection' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:85:15: note: Virtual function in base class crimson-0.5.2.orig/tools/cfed.cpp:81:7: note: Function in derived class crimson-0.5.2.orig/tools/cfed.cpp:88:7: style: The function 'ParseSection' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:85:15: note: Virtual function in base class crimson-0.5.2.orig/tools/cfed.cpp:88:7: note: Function in derived class crimson-0.5.2.orig/tools/cfed.cpp:95:7: style: The function 'ParseSection' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:85:15: note: Virtual function in base class crimson-0.5.2.orig/tools/cfed.cpp:95:7: note: Function in derived class crimson-0.5.2.orig/tools/cfed.cpp:102:7: style: The function 'ParseSection' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:46:15: note: Virtual function in base class crimson-0.5.2.orig/tools/cfed.cpp:102:7: note: Function in derived class crimson-0.5.2.orig/tools/cfed.cpp:112:7: style: The function 'ParseSection' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:46:15: note: Virtual function in base class crimson-0.5.2.orig/tools/cfed.cpp:112:7: note: Function in derived class crimson-0.5.2.orig/tools/cfed.cpp:123:7: style: The function 'ParseSection' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:46:15: note: Virtual function in base class crimson-0.5.2.orig/tools/cfed.cpp:123:7: note: Function in derived class crimson-0.5.2.orig/tools/cfed.cpp:933:8: style: The function 'SectionParsed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:34:16: note: Virtual function in base class crimson-0.5.2.orig/tools/cfed.cpp:933:8: note: Function in derived class crimson-0.5.2.orig/tools/cfed.cpp:463:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] crimson-0.5.2.orig/tools/cfed.cpp:827:10: style: The scope of the variable 'pos' can be reduced. [variableScope] crimson-0.5.2.orig/tools/cfed.cpp:959:11: style: The scope of the variable 'i' can be reduced. [variableScope] crimson-0.5.2.orig/tools/cfed.cpp:1382:9: style: The scope of the variable 'msg' can be reduced. [variableScope] crimson-0.5.2.orig/tools/cfed.cpp:960:9: style: Variable 'uset' can be declared as pointer to const [constVariablePointer] crimson-0.5.2.orig/tools/cfed.cpp:960:23: style: Variable 'tset' can be declared as pointer to const [constVariablePointer] diff: head crimson-0.5.2.orig/src/cf/ai.cpp:1142:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_BUSY [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/ai.cpp:1168:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_BUSY [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/ai.cpp:117:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_CONQUER [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/ai.cpp:1186:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_BUSY [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/ai.cpp:173:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_TRANSPORT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/ai.cpp:293:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_AIR [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/ai.cpp:433:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GROUP_SIZE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/ai.cpp:471:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_GROUND [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/ai.cpp:527:45: style: Parameter 'obj' can be declared as reference to const [constParameterReference] head crimson-0.5.2.orig/src/cf/ai.cpp:641:40: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] head crimson-0.5.2.orig/src/cf/ai.cpp:643:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_GROUND [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/ai.cpp:918:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORTH [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/ai.cpp:986:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unit [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/building.cpp:151:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/building.cpp:64:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_NONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/building.h:38:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLD_WORKSHOP [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/building.h:39:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLD_FACTORY [valueFlowBailoutIncompleteVar] 2.13.0 crimson-0.5.2.orig/src/cf/combat.cpp:155:18: style: The scope of the variable 'numatts' can be reduced. [variableScope] 2.13.0 crimson-0.5.2.orig/src/cf/combat.cpp:155:48: style: The scope of the variable 'numdefs' can be reduced. [variableScope] 2.13.0 crimson-0.5.2.orig/src/cf/combat.cpp:163:34: style: The comparison 'c_att->GroupSize() < numatts' is always false because 'c_att->GroupSize()' and 'numatts' represent the same value. [knownConditionTrueFalse] crimson-0.5.2.orig/src/cf/combat.cpp:155:44: note: 'numatts' is assigned value 'c_att->GroupSize()' here. crimson-0.5.2.orig/src/cf/combat.cpp:163:34: note: The comparison 'c_att->GroupSize() < numatts' is always false because 'c_att->GroupSize()' and 'numatts' represent the same value. 2.13.0 crimson-0.5.2.orig/src/cf/combat.cpp:167:34: style: The comparison 'c_def->GroupSize() < numdefs' is always false because 'c_def->GroupSize()' and 'numdefs' represent the same value. [knownConditionTrueFalse] crimson-0.5.2.orig/src/cf/combat.cpp:155:74: note: 'numdefs' is assigned value 'c_def->GroupSize()' here. crimson-0.5.2.orig/src/cf/combat.cpp:167:34: note: The comparison 'c_def->GroupSize() < numdefs' is always false because 'c_def->GroupSize()' and 'numdefs' represent the same value. head crimson-0.5.2.orig/src/cf/combat.cpp:79:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dpos [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/container.cpp:236:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GROUP_SIZE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/container.cpp:51:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHELTERED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/container.cpp:82:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHELTERED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/event.cpp:295:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/event.cpp:526:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFLAG_DISCARDED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/event.h:38:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFLAG_DISCARDED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/event.h:52:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFLAG_DISABLED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1069:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MOVED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:106:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1144:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORTH [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1187:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_GAM_SELECT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1212:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_CURSOR_IDLE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1275:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_CURSOR_SPECIAL [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1304:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1329:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1358:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1497:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUTHWEST [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1637:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_CLOSE_ESC [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:163:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1653:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_CLOSE_ESC [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1669:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_CLOSE_ESC [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1686:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_CLOSE_ESC [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1701:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1854:11: error: Uninitialized variable: u2 [legacyUninitvar] 2.13.0 crimson-0.5.2.orig/src/cf/game.cpp:1854:11: error: Uninitialized variable: u2 [uninitvar] head crimson-0.5.2.orig/src/cf/game.cpp:1854:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MOVED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1907:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_PBEM [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1939:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_DISABLED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:195:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_GUI_ASK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1964:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_FONT_BIG [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1982:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_MUSIC_FADE_TIME [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:1996:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:245:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_FILE_SAVE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:314:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_SAVEFILE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:346:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:368:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_SAVEFILE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:420:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:451:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:600:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_RESTART [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:640:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_RESTART [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:682:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:696:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TURN_START [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:722:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:743:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:917:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMG_CURSOR_SELECT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/game.cpp:977:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_CLOSE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/history.cpp:146:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DUMMY [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/history.cpp:195:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_PROG_DEFAULT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/history.cpp:338:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/history.cpp:451:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_BUSY [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/history.cpp:525:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/history.cpp:566:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1022:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:102:11: style: C-style pointer casting [cstyleCast] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1049:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_HSCROLLKEY [valueFlowBailoutIncompleteVar] 2.13.0 crimson-0.5.2.orig/src/cf/initwindow.cpp:1066:12: style: C-style pointer casting [cstyleCast] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1088:21: style: C-style pointer casting [cstyleCast] head crimson-0.5.2.orig/src/cf/initwindow.cpp:109:11: style: C-style pointer casting [cstyleCast] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1105:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1132:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:116:11: style: C-style pointer casting [cstyleCast] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1183:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_HSCROLLKEY [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1203:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1246:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1269:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_UNKNOWN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1311:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_F1 [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1337:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1360:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_CBW_SIZE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1450:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1516:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1575:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_CLOSE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1607:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1633:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:1665:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_NONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:172:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:241:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:247:23: style: C-style pointer casting [cstyleCast] head crimson-0.5.2.orig/src/cf/initwindow.cpp:283:22: style: C-style pointer casting [cstyleCast] head crimson-0.5.2.orig/src/cf/initwindow.cpp:394:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:533:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:559:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:561:24: style: C-style pointer casting [cstyleCast] head crimson-0.5.2.orig/src/cf/initwindow.cpp:719:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:742:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_Rect [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:81:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_MUSIC_THEME [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:822:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_XRES [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:867:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HWSURFACE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:904:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_DEFAULT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:919:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOX_RECESSED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/initwindow.cpp:937:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_CBW_SIZE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/main.cpp:169:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FULLSCREEN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/main.cpp:194:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/main.cpp:223:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/main.cpp:321:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/main.cpp:360:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIMSONRC [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/main.cpp:432:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRIMSONRC [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/main.cpp:477:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISPLAY_BPP [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/main.cpp:497:59: style: Parameter 'window' can be declared as pointer to const. However it seems that 'event_filter' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crimson-0.5.2.orig/src/cf/main.cpp:287:27: note: You might need to cast the function pointer here crimson-0.5.2.orig/src/cf/main.cpp:497:59: note: Parameter 'window' can be declared as pointer to const head crimson-0.5.2.orig/src/cf/main.cpp:498:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/main.cpp:539:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_IMAGES [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/main.cpp:81:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/map.cpp:112:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORTH [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/map.cpp:212:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHELTERED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/map.cpp:264:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_color [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/map.cpp:306:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MCOST_MIN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/map.h:59:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_att_mod [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/map.h:60:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_def_mod [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/map.h:63:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_image [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/map.h:64:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_move [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/map.h:66:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_type [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/map.h:68:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TT_WATER [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/map.h:69:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TT_ENTRANCE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISPLAY_BPP [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:176:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_COLOR_WHITE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:227:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISPLAY_BPP [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:284:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:314:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MV_DIRTY [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:355:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:398:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XP_ICON_WIDTH [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:431:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:44:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MV_DISABLE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:497:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:544:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_CLOSE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:580:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:595:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:671:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XP_ICON_WIDTH [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:728:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOX_RECESSED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:764:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORTH [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mapwindow.cpp:81:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_COLOR_SHADOW [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mission.cpp:168:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_NONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mission.cpp:191:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FID_MISSION [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mission.cpp:225:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FID_MISSION [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mission.cpp:312:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_TRANSPORT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mission.cpp:52:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FID_MISSION [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mission.h:71:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/mission.h:73:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/network.cpp:306:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/network.cpp:344:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/network.cpp:402:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/network.cpp:429:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/path.cpp:137:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORTH [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/path.cpp:234:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Direction [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/path.cpp:423:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORTH [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/path.cpp:509:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MCOST_MIN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/platform.cpp:217:33: style: Parameter 'opts' can be declared as reference to const [constParameterReference] head crimson-0.5.2.orig/src/cf/platform.cpp:218:28: style: Parameter 'view' can be declared as pointer to const [constParameterPointer] head crimson-0.5.2.orig/src/cf/unit.cpp:113:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XP_MAX_LEVEL [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.cpp:158:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_ATTACKED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.cpp:184:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHIP [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.cpp:202:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DESTROYED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.cpp:242:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.cpp:262:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_AIR [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.cpp:279:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GROUP_SIZE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.cpp:297:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_AIR [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.cpp:313:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_ATTACKED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.cpp:39:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORTH [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.cpp:84:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_NONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:100:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DUMMY [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:101:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_FLOATING [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:103:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_GROUND [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:71:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_ATTACKED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:76:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XP_PER_LEVEL [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:86:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_GROUND [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:87:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHIP [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:88:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_AIR [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:89:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MINE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:90:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_TRANSPORT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:91:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MEDIC [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:92:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MINESWEEPER [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:94:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SLOW [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:95:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_CONQUER [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:96:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHELTERED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:97:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DESTROYED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:98:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DESTROYED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unit.h:99:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_BUSY [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unitwindow.cpp:113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spacing [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unitwindow.cpp:126:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unitwindow.cpp:209:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XP_ICON_WIDTH [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unitwindow.cpp:304:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unitwindow.cpp:349:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unitwindow.cpp:366:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unitwindow.cpp:449:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unitwindow.cpp:491:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unitwindow.cpp:578:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XP_ICON_WIDTH [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unitwindow.cpp:662:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/cf/unitwindow.cpp:685:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/building.cpp:114:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLD_WORKSHOP [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/building.cpp:39:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLD_WORKSHOP [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/building.h:38:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLD_WORKSHOP [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/building.h:39:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLD_FACTORY [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/edwindow.cpp:118:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/edwindow.cpp:140:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/edwindow.cpp:227:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUTHWEST [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/edwindow.cpp:282:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_type [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/edwindow.cpp:314:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_FILE_LOAD [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/edwindow.cpp:343:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/edwindow.cpp:367:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/edwindow.cpp:399:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/edwindow.cpp:455:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/edwindow.cpp:52:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_TILE_HEIGHT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/edwindow.cpp:592:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/edwindow.cpp:617:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_DISABLED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/edwindow.cpp:694:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/edwindow.cpp:94:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOX_RAISED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1058:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1078:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1163:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1215:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1259:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETRIGGER_TIMER [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1306:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1386:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1414:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1466:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1496:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1547:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1565:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1586:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1610:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1709:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1734:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1841:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1854:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_CBW_SIZE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:1896:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:231:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:307:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:345:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_STR_CONST [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:420:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:507:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:545:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:58:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_STR_CONST [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:627:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:661:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:712:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFLAG_DISABLED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:740:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_ALIGN_LEFT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:769:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_CLOSE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:802:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:861:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:905:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:973:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/eventwindow.cpp:992:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:1006:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:1048:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:1095:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:1135:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:1180:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:1221:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:1347:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:1376:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:1422:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:149:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:1510:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_LANG_DEFAULT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:1599:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:198:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:227:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:262:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIDGET_ALIGN_LEFT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:345:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:447:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:490:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:615:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:707:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:792:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLD_WORKSHOP [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:85:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:879:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/extwindow2.cpp:948:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/gfxwidget.cpp:163:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hook [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/gfxwidget.cpp:182:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/gfxwidget.cpp:195:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_WHEELUP [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/gfxwidget.cpp:233:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/gfxwidget.cpp:76:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/gfxwidget.cpp:94:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/gfxwidget.h:98:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable surface [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/map.cpp:230:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_FLOATING [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/map.cpp:261:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_color [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/map.h:59:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_image [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/map.h:60:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tt_type [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/map.h:62:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TT_WATER [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/map.h:64:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TT_ENTRANCE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.cpp:1035:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPUTER [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.cpp:1125:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.cpp:1355:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GROUP_SIZE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.cpp:231:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.cpp:366:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_AI [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.cpp:426:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHELTERED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.cpp:54:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_SKIRMISH [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.cpp:655:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_AI [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.cpp:94:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FID_MISSION [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.cpp:977:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETRIGGER_TIMER [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.h:154:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_AI [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.h:158:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.h:185:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_CAMPAIGN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.h:187:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_CAMPAIGN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.h:188:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_SKIRMISH [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/mission.h:190:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_SKIRMISH [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/unit.cpp:122:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GROUP_SIZE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/unit.cpp:44:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_TWO [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/unit.h:100:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SLOW [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/unit.h:101:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHELTERED [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/unit.h:102:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_FLOATING [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/unit.h:103:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_DONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/unit.h:92:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_GROUND [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/unit.h:93:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_SHIP [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/unit.h:94:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_AIR [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/unit.h:95:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MINE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/unit.h:96:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_TRANSPORT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/unit.h:97:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MEDIC [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/comet/unit.h:98:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_MINESWEEPER [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/button.cpp:123:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/button.cpp:140:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/button.cpp:157:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_RETURN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/button.cpp:171:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_RETURN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/button.cpp:254:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/button.cpp:276:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_RETURN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/button.cpp:416:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/button.cpp:437:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/button.cpp:457:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_RETURN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/button.h:91:4: style: The destructor '~CycleWidget' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:75:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/button.h:91:4: note: Destructor in derived class head crimson-0.5.2.orig/src/common/extwindow.cpp:193:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_B_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/extwindow.cpp:262:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_B_OK [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/extwindow.cpp:345:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_B_SKIP [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/extwindow.cpp:594:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/extwindow.h:40:4: style: The destructor '~DialogWindow' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/window.h:54:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/extwindow.h:40:4: note: Destructor in derived class head crimson-0.5.2.orig/src/common/extwindow.h:86:4: style: The destructor '~PasswordWindow' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/window.h:54:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/extwindow.h:86:4: note: Destructor in derived class head crimson-0.5.2.orig/src/common/fileio.h:110:4: style: The destructor '~File' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/fileio.h:91:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/fileio.h:110:4: note: Destructor in derived class head crimson-0.5.2.orig/src/common/filewindow.cpp:107:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_SAVE_GAME [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/filewindow.cpp:50:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_B_SAVE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/filewindow.h:36:4: style: The destructor '~FileWindow' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/window.h:54:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/filewindow.h:36:4: note: Destructor in derived class head crimson-0.5.2.orig/src/common/font.cpp:103:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/gamewindow.cpp:105:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/gamewindow.cpp:140:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICON_HEIGHT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/gamewindow.cpp:42:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICON_HEIGHT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/lang.cpp:185:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/listselect.cpp:222:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/lset.cpp:303:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SWSURFACE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/lset.h:138:4: style: The destructor '~UnitSet' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/lset.h:115:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/lset.h:138:4: note: Destructor in derived class head crimson-0.5.2.orig/src/common/lset.h:166:4: style: The destructor '~TerrainSet' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/lset.h:115:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/lset.h:166:4: note: Destructor in derived class head crimson-0.5.2.orig/src/common/mapwidget.cpp:196:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/slider.cpp:148:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/slider.cpp:181:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/slider.cpp:198:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KMOD_LSHIFT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/sound.cpp:224:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_FADING_OUT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/sound.cpp:308:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/sound.cpp:328:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/strutil.cpp:139:22: style: The scope of the variable 'cir2' can be reduced. [variableScope] head crimson-0.5.2.orig/src/common/strutil.cpp:77:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/strutil.cpp:98:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/surface.cpp:130:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/surface.cpp:286:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/surface.cpp:461:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/textbox.cpp:101:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/textbox.cpp:254:5: error: Dereferencing 's' after it is deallocated / released [deallocuse] head crimson-0.5.2.orig/src/common/textbox.cpp:255:5: error: Dereferencing 's' after it is deallocated / released [deallocuse] head crimson-0.5.2.orig/src/common/textbox.cpp:432:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/textbox.cpp:494:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_MOUSEBUTTONDOWN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/textbox.h:108:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spacing [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/textbox.h:38:4: style: The destructor '~TextWidget' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:75:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/textbox.h:38:4: note: Destructor in derived class head crimson-0.5.2.orig/src/common/view.cpp:287:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_MOUSEMOTION [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/view.cpp:371:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/widget.h:153:4: style: The destructor '~CompositeWidget' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/widget.h:75:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/widget.h:153:4: note: Destructor in derived class head crimson-0.5.2.orig/src/common/window.cpp:244:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/src/common/window.h:54:12: style: The destructor '~Window' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/src/common/list.h:33:12: note: Virtual destructor in base class crimson-0.5.2.orig/src/common/window.h:54:12: note: Destructor in derived class head crimson-0.5.2.orig/tools/cfed.cpp:1060:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:1112:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:1171:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:1207:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:1294:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:1386:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:174:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_ONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:1809:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:1833:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:213:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:227:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:307:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_NONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:363:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_NONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:431:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAYER_NONE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:716:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:832:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:873:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/cfed.cpp:964:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mklocale.cpp:163:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mklocale.cpp:192:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mklocale.cpp:221:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mklocale.cpp:280:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mksurface.cpp:91:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixels [valueFlowBailoutIncompleteVar] 2.13.0 crimson-0.5.2.orig/tools/mktileset.cpp:140:23: style: Condition 'tiles.size()==0' is always true [knownConditionTrueFalse] head crimson-0.5.2.orig/tools/mktileset.cpp:198:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mktileset.cpp:230:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TT_ROAD [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:113:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:258:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:273:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TT_ENTRANCE [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:441:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:459:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:49:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_terrain [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:50:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_image [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:51:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_flags [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:52:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_flags [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:53:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_moves [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:54:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_weight [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:55:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_defence [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:56:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_pow_ground [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:57:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_pow_ship [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:58:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_pow_air [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:59:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_min_range_ground [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:60:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_max_range_ground [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:61:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_min_range_ship [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:62:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_max_range_ship [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:63:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_min_range_air [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:64:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_max_range_air [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:65:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_build [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:66:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_trans_slots [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:67:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_trans_min_weight [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:68:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_trans_max_weight [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/mkunitset.cpp:69:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_portrait [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/parser.cpp:141:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/parser.cpp:204:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/parser.cpp:246:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head crimson-0.5.2.orig/tools/parser.h:83:12: style: The destructor '~KeyValueSectionHandler' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] crimson-0.5.2.orig/tools/parser.h:44:12: note: Virtual destructor in base class crimson-0.5.2.orig/tools/parser.h:83:12: note: Destructor in derived class DONE