mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 11:38:19 +00:00
39749a3ff8
According to cppcheck's `knownConditionTrueFalse` error: ``` src\tools\map_create_pixelart.cpp:58:24: style: Condition 'argc>=10' is always true [knownConditionTrueFalse] aArtOptions[0] = argc >= 10 ? str_toint(argv[10]) : true; //optimize ^ src\tools\map_create_pixelart.cpp:34:10: note: Assuming that condition 'argc<11' is not redundant if(argc < 11 || argc > 12) ^ src\tools\map_create_pixelart.cpp:58:24: note: Condition 'argc>=10' is always true aArtOptions[0] = argc >= 10 ? str_toint(argv[10]) : true; //optimize ^ src\tools\map_create_pixelart.cpp:59:24: style: Condition 'argc>=11' is always true [knownConditionTrueFalse] aArtOptions[1] = argc >= 11 ? str_toint(argv[11]) : false; //centralize ^ src\tools\map_create_pixelart.cpp:34:10: note: Assuming condition 'argc<11' is false if(argc < 11 || argc > 12) ^ src\tools\map_create_pixelart.cpp:59:24: note: Condition 'argc>=11' is always true aArtOptions[1] = argc >= 11 ? str_toint(argv[11]) : false; //centralize ^ ``` |
||
---|---|---|
.. | ||
config_common.h | ||
config_retrieve.cpp | ||
config_store.cpp | ||
crapnet.cpp | ||
dilate.cpp | ||
dummy_map.cpp | ||
map_convert_07.cpp | ||
map_create_pixelart.cpp | ||
map_diff.cpp | ||
map_extract.cpp | ||
map_find_env.cpp | ||
map_optimize.cpp | ||
map_replace_area.cpp | ||
map_replace_image.cpp | ||
map_resave.cpp | ||
packetgen.cpp | ||
stun.cpp | ||
twping.cpp | ||
unicode_confusables.cpp | ||
uuid.cpp |