Skip to content

fix: turrets aiming moving vehicle it cannot see (#3180) #6394

fix: turrets aiming moving vehicle it cannot see (#3180)

fix: turrets aiming moving vehicle it cannot see (#3180) #6394

Triggered via push September 19, 2023 19:00
Status Success
Total duration 2h 12m 32s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

clang-tidy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: tests/find_auto_consume_test.cpp#L98
Prefer constructing 'tripoint' from named constant 'tripoint_east' rather than explicit integer arguments. [cata-use-named-point-constants]
build: tests/find_auto_consume_test.cpp#L141
Prefer constructing 'tripoint' from named constant 'tripoint_east' rather than explicit integer arguments. [cata-use-named-point-constants]
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/npc.h#L1425
function 'npc_overmap::spawn_chance_in_hour' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
build: src/iuse.cpp#L2637
result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division]
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/mapgen.cpp#L87
Variable 'GROUP_NETHER' declared but not used. [cata-unused-statics]
build: src/mapgen.cpp#L89
Variable 'GROUP_ROBOT_SECUBOT' declared but not used. [cata-unused-statics]