Skip to content

refactor!: give items identity #6305

refactor!: give items identity

refactor!: give items identity #6305

Triggered via pull request September 11, 2023 17:38
Status Success
Total duration 1h 51m 2s
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/player_activity.cpp#L508
the value returned by this function should be used [bugprone-unused-return-value]
build: src/map.cpp#L118
Variable 'itype_nail' declared but not used. [cata-unused-statics]
build: src/map.cpp#L3150
'it' used after it was moved [bugprone-use-after-move]
build: src/map.cpp#L4381
'obj' used after it was moved [bugprone-use-after-move]
build: src/map.cpp#L4903
'it' used after it was moved [bugprone-use-after-move]
build: src/map.cpp#L4966
'it' used after it was moved [bugprone-use-after-move]
build: src/map.h#L111
function 'map_stack::erase' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
build: src/grab.cpp#L58
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#L58
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/iuse.cpp#L2643
result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division]