Index: OpenSceneGraph/trunk/examples/osgdistortion/osgdistortion.cpp
===================================================================
--- OpenSceneGraph/trunk/examples/osgdistortion/osgdistortion.cpp (revision 12529)
+++ OpenSceneGraph/trunk/examples/osgdistortion/osgdistortion.cpp (revision 12597)
@@ -123,6 +123,4 @@
         osg::Vec2 dy_texcoord(0.0f,1.0f/(float)(noSteps-1));
 
-        osg::Vec3 cursor = bottom;
-        osg::Vec2 texcoord = bottom_texcoord;
         int i,j;
         for(i=0;i<noSteps;++i)
@@ -356,8 +354,5 @@
     float screenRadius = heightVector.length() * 0.5f;
 
-    osg::Vec3 cursor = bottom;
     int i,j;
-    
-    
     if (centerProjection)
     {
