feat(content, port): Port vitamin-based allergies and cannibalism from DDA #8930
Annotations
11 warnings
run clang-tidy:
tests/char_edible_rating_test.cpp#L21
Variable 'vitamin_milk_allergen' declared but not used. [cata-unused-statics]
|
run clang-tidy:
tests/char_edible_rating_test.cpp#L138
unused local variable 'expect_reason' of type 'std::string' (aka 'basic_string<char>') [bugprone-unused-local-non-trivial-variable]
|
run clang-tidy:
tests/reloading_test.cpp#L111
use 'contains' to check for membership [readability-container-contains]
|
run clang-tidy:
tests/reloading_test.cpp#L116
use 'contains' to check for membership [readability-container-contains]
|
run clang-tidy:
tests/reloading_test.cpp#L228
use 'contains' to check for membership [readability-container-contains]
|
run clang-tidy:
tests/reloading_test.cpp#L265
use 'contains' to check for membership [readability-container-contains]
|
run clang-tidy:
src/explosion.cpp#L709
unused local variable 'hit_part_name' of type 'const std::string' (aka 'const basic_string<char>') [bugprone-unused-local-non-trivial-variable]
|
run clang-tidy:
src/explosion.cpp#L1161
performing an implicit widening conversion to type 'size_type' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result]
|
run clang-tidy:
src/item.cpp#L6208
Division by zero [clang-analyzer-core.DivideZero]
|
run clang-tidy:
src/activity_item_handling.cpp#L443
return statement within a void function should not have a specified return value [readability-avoid-return-with-void-value]
|
Post checkout repository
The process '/usr/bin/git' failed with exit code 128
|
Loading