Prevent auto-eating items with use actions (#3184) #6396
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
clang-tidy.yml
on: push
skip-duplicates
6s
build
1h 54m
Annotations
10 warnings
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/iuse.cpp#L2637
result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division]
|
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:
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/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]
|
build:
src/map.cpp#L121
Variable 'itype_nail' declared but not used. [cata-unused-statics]
|