Fixed -Wextra warnings
This commit is contained in:
@@ -229,7 +229,7 @@ class DXFWriterNodeVisitor: public osg::NodeVisitor {
|
||||
}
|
||||
}
|
||||
|
||||
int getNodeAcadColor(osg::Geometry *geo,int index=0) { return 0;}
|
||||
int getNodeAcadColor(osg::Geometry* /*geo*/,int /*index*/=0) { return 0;}
|
||||
|
||||
protected:
|
||||
struct CompareStateSet
|
||||
|
||||
@@ -77,7 +77,7 @@ public:
|
||||
return WriteResult(WriteResult::FILE_SAVED);
|
||||
}
|
||||
|
||||
virtual WriteResult writeNode(const osg::Node& node,const std::string& fileName,const Options* options =NULL) const
|
||||
virtual WriteResult writeNode(const osg::Node& node,const std::string& fileName,const Options* /*options*/ =NULL) const
|
||||
{
|
||||
if (!acceptsExtension(osgDB::getFileExtension(fileName)))
|
||||
return WriteResult(WriteResult::FILE_NOT_HANDLED);
|
||||
|
||||
@@ -186,10 +186,10 @@ public:
|
||||
virtual void assign(dxfFile* dxf, codeValue& cv);
|
||||
void getVertex(double &x, double &y, double &z) { x=_vertex.x();y=_vertex.y();z=_vertex.z(); }
|
||||
const osg::Vec3d& getVertex() const { return _vertex; }
|
||||
const unsigned int getIndice1() const { return _indice1; }
|
||||
const unsigned int getIndice2() const { return _indice2; }
|
||||
const unsigned int getIndice3() const { return _indice3; }
|
||||
const unsigned int getIndice4() const { return _indice4; }
|
||||
unsigned int getIndice1() const { return _indice1; }
|
||||
unsigned int getIndice2() const { return _indice2; }
|
||||
unsigned int getIndice3() const { return _indice3; }
|
||||
unsigned int getIndice4() const { return _indice4; }
|
||||
|
||||
protected:
|
||||
osg::Vec3d _vertex;
|
||||
|
||||
Reference in New Issue
Block a user