diff --git a/examples/osgtessellationshaders/osgtessellationshaders.cpp b/examples/osgtessellationshaders/osgtessellationshaders.cpp index 8e54f22a7..766e7fd7e 100644 --- a/examples/osgtessellationshaders/osgtessellationshaders.cpp +++ b/examples/osgtessellationshaders/osgtessellationshaders.cpp @@ -120,7 +120,7 @@ static const char* fragSource = { "}\n" }; -osg::ref_ptr CreateIcosahedron(osg::Program *program) +osg::ref_ptr CreateIcosahedron(osg::Program* /*program*/) { osg::Geode *geode=new osg::Geode(); osg::Geometry *geometry = new osg::Geometry(); @@ -264,7 +264,7 @@ private: } }; -int main(int argc, char* argv[]) +int main(int, char* []) { osgViewer::Viewer viewer; viewer.setUpViewInWindow(100,100,800,600);