Fixed unused parameter warning.

This commit is contained in:
Robert Osfield 2016-06-08 13:37:17 +01:00
parent d55b64061b
commit 018022fd9b
2 changed files with 8 additions and 6 deletions

View File

@ -77,7 +77,8 @@ bool changeTheme(osgWidget::Event& ev) {
return true; return true;
} }
int main(int argc, char** argv) { int main(int, char**)
{
osgViewer::Viewer viewer; osgViewer::Viewer viewer;
osgWidget::WindowManager* wm = new osgWidget::WindowManager( osgWidget::WindowManager* wm = new osgWidget::WindowManager(

View File

@ -12,7 +12,8 @@ const unsigned int MASK_2D = 0xF0000000;
// dynamically added to. Secondly, a table is matrix Layout, with both vertical and // dynamically added to. Secondly, a table is matrix Layout, with both vertical and
// horizontal placement cells. A Box, on the other hand, can only be vertical or horizontal. // horizontal placement cells. A Box, on the other hand, can only be vertical or horizontal.
int main(int argc, char** argv) { int main(int, char**)
{
osgViewer::Viewer viewer; osgViewer::Viewer viewer;
osgWidget::WindowManager* wm = new osgWidget::WindowManager( osgWidget::WindowManager* wm = new osgWidget::WindowManager(