Fixed a compiler warning.

This commit is contained in:
Lukáš Hejl 2022-06-21 14:23:05 +02:00
parent c1af26e3fd
commit 9aca685dd4

View File

@ -215,7 +215,7 @@ bool PressureEqualizer::process_line(const char *line, const char *line_end, GCo
int gcode = -1;
try {
gcode = parse_int(line);
} catch (Slic3r::InvalidArgument &ex) {
} catch (Slic3r::InvalidArgument &) {
// Ignore invalid GCodes.
eatws(line);
break;