Fixed unused parameter warning.

This commit is contained in:
Robert Osfield
2016-06-08 13:32:14 +01:00
parent d2129d4b9a
commit ec0e30017c
2 changed files with 9 additions and 7 deletions

View File

@@ -11,7 +11,8 @@
const unsigned int MASK_2D = 0xF0000000;
int main(int argc, char** argv) {
int main(int, char**)
{
osgViewer::Viewer viewer;
osgWidget::WindowManager* wm = new osgWidget::WindowManager(
@@ -21,7 +22,7 @@ int main(int argc, char** argv) {
MASK_2D,
osgWidget::WindowManager::WM_PICK_DEBUG
);
osgWidget::Box* box = new osgWidget::Box("vbox", osgWidget::Box::VERTICAL);
osgWidget::Input* input = new osgWidget::Input("input", "", 50);