Index: OpenSceneGraph/trunk/examples/osgwidgetcanvas/osgwidgetcanvas.cpp
===================================================================
--- OpenSceneGraph/trunk/examples/osgwidgetcanvas/osgwidgetcanvas.cpp (revision 12292)
+++ OpenSceneGraph/trunk/examples/osgwidgetcanvas/osgwidgetcanvas.cpp (revision 12597)
@@ -24,7 +24,6 @@
 }
 
-bool windowMouseOver(osgWidget::Event& event) {
-    osgWidget::XYCoord xy = event.getWindow()->localXY(event.x, event.y);
-
+bool windowMouseOver(osgWidget::Event& /*event*/) {
+    //osgWidget::XYCoord xy = event.getWindow()->localXY(event.x, event.y);
     // osgWidget::warn() << "WINDOW " << xy.x() << " - " << xy.y() << std::endl;
 
@@ -32,7 +31,6 @@
 }
 
-bool widgetMouseOver(osgWidget::Event& event) {
-    osgWidget::XYCoord xy = event.getWidget()->localXY(event.x, event.y);
-
+bool widgetMouseOver(osgWidget::Event& /*event*/) {
+    // osgWidget::XYCoord xy = event.getWidget()->localXY(event.x, event.y);
     // osgWidget::warn() << "WIDGET mouseOver " << xy.x() << " - " << xy.y() << std::endl;
 
