Skip to content

Fix Repair Nanobots #6520

Fix Repair Nanobots

Fix Repair Nanobots #6520

Triggered via pull request September 29, 2023 11:39
Status Success
Total duration 2h 8m 21s
Artifacts

clang-tidy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/iuse.cpp#L2640
result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division]
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_extras.cpp#L68
Variable 'flag_LIQUID' declared but not used. [cata-unused-statics]
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/explosion.cpp#L553
Variable 'delay_ms' declared as 'const long'. Prefer int or int64_t to long. [cata-no-long]
build: src/explosion.cpp#L553
Static cast to 'long'. Prefer int or int64_t to long. [cata-no-long]
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]