mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 04:35:54 +08:00
Silence the warning about the unused total_extrusion_length in Arachne tests.
This commit is contained in:
parent
a27aea4598
commit
da88c2affc
@ -478,7 +478,7 @@ TEST_CASE("Arachne - #8849 - Missing part of model", "[ArachneMissingPart8849]")
|
|||||||
export_perimeters_to_svg(debug_out_path("arachne-missing-part-8849.svg"), polygons, perimeters, union_ex(wall_tool_paths.getInnerContour()));
|
export_perimeters_to_svg(debug_out_path("arachne-missing-part-8849.svg"), polygons, perimeters, union_ex(wall_tool_paths.getInnerContour()));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int64_t total_extrusion_length = 0;
|
[[maybe_unused]] int64_t total_extrusion_length = 0;
|
||||||
for (Arachne::VariableWidthLines &perimeter : perimeters)
|
for (Arachne::VariableWidthLines &perimeter : perimeters)
|
||||||
for (Arachne::ExtrusionLine &extrusion_line : perimeter)
|
for (Arachne::ExtrusionLine &extrusion_line : perimeter)
|
||||||
total_extrusion_length += extrusion_line.getLength();
|
total_extrusion_length += extrusion_line.getLength();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user