Fixed unused parameter warning.

This commit is contained in:
Robert Osfield 2016-06-08 13:35:46 +01:00
parent dbb88b5456
commit 4e04265212

View File

@ -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(