Fixed unused parameter warning.
This commit is contained in:
parent
ec0e30017c
commit
69a0a7331c
@ -49,7 +49,7 @@ struct ColorWidget: public osgWidget::Widget {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool keyUp(int key, int keyMask, osgWidget::WindowManager*) {
|
bool keyUp(int /*key*/, int /*keyMask*/, osgWidget::WindowManager*) {
|
||||||
// osgWidget::warn() << "..." << key << " - " << keyMask << std::endl;
|
// osgWidget::warn() << "..." << key << " - " << keyMask << std::endl;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@ -78,7 +78,8 @@ osgWidget::Box* createBox(const std::string& name, osgWidget::Box::BoxType bt) {
|
|||||||
return box;
|
return box;
|
||||||
}
|
}
|
||||||
|
|
||||||
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(
|
||||||
|
@ -300,9 +300,8 @@ const char* LABEL1 =
|
|||||||
"nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in..."
|
"nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in..."
|
||||||
;
|
;
|
||||||
|
|
||||||
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(
|
||||||
|
Loading…
Reference in New Issue
Block a user