fix -Wextra in Import

This commit is contained in:
wmayer
2016-09-22 16:40:20 +02:00
parent 47c91f01b8
commit b062b41db6
4 changed files with 7 additions and 6 deletions

View File

@@ -97,7 +97,8 @@ void ImportOCAF::loadShapes()
loadShapes(pDoc->Main(), TopLoc_Location(), default_name, "", false);
}
void ImportOCAF::loadShapes(const TDF_Label& label, const TopLoc_Location& loc, const std::string& defaultname, const std::string& assembly, bool isRef)
void ImportOCAF::loadShapes(const TDF_Label& label, const TopLoc_Location& loc,
const std::string& defaultname, const std::string& /*assembly*/, bool isRef)
{
int hash = 0;
TopoDS_Shape aShape;

View File

@@ -40,7 +40,7 @@
using namespace Import;
StepShape::StepShape(const char* fileName)
StepShape::StepShape()
{
}

View File

@@ -37,7 +37,7 @@ namespace Import
class ImportExport StepShape
{
public:
StepShape(const char* fileName="");
StepShape();
~StepShape();
int read(const char* fileName);