Skip to content

fix: allow elevator misalignment #6392

fix: allow elevator misalignment

fix: allow elevator misalignment #6392

Triggered via pull request September 19, 2023 16:21
Status Success
Total duration 2h 17m 36s
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/point_rotate.cpp#L12
Construction of 'point' can be simplified using overloaded arithmetic operators. [cata-use-point-arithmetic]
build: src/grab.cpp#L59
Address of stack memory associated with local variable 'veh' is still referred to by the static variable 'get_wheel_pos' upon returning to the caller. This will be a dangling reference [clang-analyzer-core.StackAddressEscape]
build: src/grab.cpp#L59
Address of stack memory associated with temporary object of type 'tripoint' is still referred to by the static variable 'get_wheel_pos' upon returning to the caller. This will be a dangling reference [clang-analyzer-core.StackAddressEscape]
build: src/ranged.cpp#L130
Variable 'skill_dodge' declared but not used. [cata-unused-statics]
build: src/ranged.cpp#L874
'ammo' used after it was moved [bugprone-use-after-move]
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/options.cpp#L1877
insufficient spaces at this location. 2 required, but only 1 found. [cata-text-style]
build: src/item.cpp#L139
Variable 'itype_hand_crossbow' declared but not used. [cata-unused-statics]
build: src/item.cpp#L184
Variable 'flag_CROSSBOW' declared but not used. [cata-unused-statics]
build: src/bionics.cpp#L500
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]