From 4e042652126f18484484bcdd518396b0b2d6e179 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 8 Jun 2016 13:35:46 +0100 Subject: [PATCH] Fixed unused parameter warning. --- examples/osgwidgetnotebook/osgwidgetnotebook.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/osgwidgetnotebook/osgwidgetnotebook.cpp b/examples/osgwidgetnotebook/osgwidgetnotebook.cpp index 362438fe1..cd8ee0e1d 100644 --- a/examples/osgwidgetnotebook/osgwidgetnotebook.cpp +++ b/examples/osgwidgetnotebook/osgwidgetnotebook.cpp @@ -104,7 +104,7 @@ public: label->addSize(20.0f, 20.0f); label->setShadow(0.08f); label->setCanFill(true); - + addWidget(label); addWidget(_tabs->embed()); addWidget(_windows->embed()); @@ -117,7 +117,8 @@ void bound(osg::Node* node) { osgWidget::warn() << "center: " << bs.center() << " radius: " << bs.radius() << std::endl; } -int main(int argc, char** argv) { +int main(int, char**) +{ osgViewer::Viewer viewer; osgWidget::WindowManager* wm = new osgWidget::WindowManager(