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; const unsigned int MASK_2D = 0xF0000000;
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

@ -39,7 +39,8 @@ osgWidget::Label* createLabel(const std::string& l, unsigned int size=13) {
return label; return label;
} }
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(