Fixed warnings in libslic3r

This commit is contained in:
Lukas Matena committed 2019-06-25 16:04:29 +02:00
1 parent 471331e8c1
commit cb916c4dda
30 files changed
+129 -147

No files matched your search

+4
View File
@@ -404,6 +404,8 @@ std::string GCodePreviewData::get_legend_title() const
return L("Tool");
case Extrusion::ColorPrint:
return L("Color Print");
case Extrusion::Num_View_Types:
break; // just to supress warning about non-handled value
}
return "";
@@ -505,6 +507,8 @@ GCodePreviewData::LegendItemsList GCodePreviewData::get_legend_items(const std::
}
break;
}
case Extrusion::Num_View_Types:
break; // just to supress warning about non-handled value
}
return items;