refactor: extract to vehicle_part.h
#6361
Triggered via pull request
September 16, 2023 23:42
Status
Success
Total duration
2h 29m 33s
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
skip-duplicates
4s
build
1h 48m
Annotations
10 warnings
build:
src/bionics.cpp#L500
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/npc.h#L1425
function 'npc_overmap::spawn_chance_in_hour' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
|
build:
src/map.cpp#L121
Variable 'itype_nail' declared but not used. [cata-unused-statics]
|
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/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/iuse.cpp#L2637
result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division]
|