Skip to content

Allow filling containers directly from blood draw kit #6465

Allow filling containers directly from blood draw kit

Allow filling containers directly from blood draw kit #6465

Triggered via pull request September 25, 2023 22:09
Status Success
Total duration 1h 51m 10s
Artifacts

clang-tidy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/monmove.cpp#L123
Construction of 'tripoint' can be simplified. [cata-simplify-point-constructors]
build: src/monmove.cpp#L123
Construction of 'tripoint' can be simplified using overloaded arithmetic operators. [cata-use-point-arithmetic]
build: src/monmove.cpp#L1586
Construction of 'tripoint' can be simplified. [cata-simplify-point-constructors]
build: src/monmove.cpp#L1586
Construction of 'tripoint' 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/bionics.cpp#L203
Variable 'flag_SPLINT' declared but not used. [cata-unused-statics]
build: src/bionics.cpp#L498
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]
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]