Skip to content

Prevent auto-eating items with use actions #6395

Prevent auto-eating items with use actions

Prevent auto-eating items with use actions #6395

Triggered via pull request September 19, 2023 20:36
Status Success
Total duration 1h 42m 54s
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/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/map.cpp#L121
Variable 'itype_nail' declared but not used. [cata-unused-statics]
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/point_rotate.cpp#L12
Construction of 'point' can be simplified using overloaded arithmetic operators. [cata-use-point-arithmetic]
build: src/map_extras.cpp#L68
Variable 'flag_LIQUID' declared but not used. [cata-unused-statics]
build: src/options.cpp#L1877
insufficient spaces at this location. 2 required, but only 1 found. [cata-text-style]
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]