]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/sky/cloud.cxx
warning fix: initializing members in the order they are declared keeps gcc happy
[simgear.git] / 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;