fix: allow speedloader capacity to be smaller than gun's #6290
Triggered via pull request
September 10, 2023 13:46
Status
Success
Total duration
1h 48m 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
skip-duplicates
4s
build
1h 47m
Annotations
10 warnings
build:
src/options.cpp#L1877
insufficient spaces at this location. 2 required, but only 1 found. [cata-text-style]
|
build:
src/map.cpp#L120
Variable 'itype_nail' declared but not used. [cata-unused-statics]
|
build:
src/bionics.cpp#L499
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/monmove.cpp#L122
Construction of 'tripoint' can be simplified. [cata-simplify-point-constructors]
|
build:
src/monmove.cpp#L122
Construction of 'tripoint' can be simplified using overloaded arithmetic operators. [cata-use-point-arithmetic]
|
build:
src/monmove.cpp#L1585
Construction of 'tripoint' can be simplified. [cata-simplify-point-constructors]
|
build:
src/monmove.cpp#L1585
Construction of 'tripoint' can be simplified using overloaded arithmetic operators. [cata-use-point-arithmetic]
|
build:
tests/find_auto_consume_test.cpp#L97
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#L140
Prefer constructing 'tripoint' from named constant 'tripoint_east' rather than explicit integer arguments. [cata-use-named-point-constants]
|
build:
src/explosion.cpp#L552
Variable 'delay_ms' declared as 'const long'. Prefer int or int64_t to long. [cata-no-long]
|