]> git.mxchange.org Git - simgear.git/commitdiff
warning fix: unused variable
authortorsten <torsten>
Thu, 20 Aug 2009 11:02:42 +0000 (11:02 +0000)
committerTim Moore <timoore@redhat.com>
Sun, 23 Aug 2009 19:37:02 +0000 (21:37 +0200)
simgear/scene/sky/cloud.cxx

index 3420b80b1137e6db34d2a38787653c5322ef8d42..503763149450c72f355ad525f4036e514055eed9 100644 (file)
@@ -722,7 +722,7 @@ bool SGCloudLayer::reposition( const SGVec3f& p, const SGVec3f& up, double lon,
         double xoff = (ax + bx) / (2 * scale);
         double yoff = (ay + by) / (2 * scale);
 
-        const float layer_scale = layer_span / scale;
+//        const float layer_scale = layer_span / scale;
 
         // cout << "xoff = " << xoff << ", yoff = " << yoff << endl;
         base[0] += xoff;