Skip to content

Fixed segfault caused by attitude check when monster shooting vehicle #6327

Fixed segfault caused by attitude check when monster shooting vehicle

Fixed segfault caused by attitude check when monster shooting vehicle #6327

Triggered via pull request September 13, 2023 13:08
Status Success
Total duration 1h 43m 18s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

clang-tidy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/monmove.cpp#L122
Construction of 'tripoint' can be simplified. [cata-simplify-point-constructors]
build: src/monmove.cpp#L122
Construction of 'tripoint' can be simplified using overloaded arithmetic operators. [cata-use-point-arithmetic]
build: src/monmove.cpp#L1585
Construction of 'tripoint' can be simplified. [cata-simplify-point-constructors]
build: src/monmove.cpp#L1585
Construction of 'tripoint' can be simplified using overloaded arithmetic operators. [cata-use-point-arithmetic]
build: src/npc.h#L1425
function 'npc_overmap::spawn_chance_in_hour' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
build: src/mapgen.cpp#L86
Variable 'GROUP_NETHER' declared but not used. [cata-unused-statics]
build: src/mapgen.cpp#L88
Variable 'GROUP_ROBOT_SECUBOT' declared but not used. [cata-unused-statics]
build: src/bionics.cpp#L499
return type 'const std::map<item, bionic_id>' (aka 'const map<item, string_id<bionic_data>>') is 'const'-qualified at the top level, which may reduce code readability without improving const correctness [readability-const-return-type]
build: src/item.cpp#L138
Variable 'itype_hand_crossbow' declared but not used. [cata-unused-statics]
build: src/item.cpp#L183
Variable 'flag_CROSSBOW' declared but not used. [cata-unused-statics]