From 9cb15b302ce3287c21424f7114e5c41fd9583f60 Mon Sep 17 00:00:00 2001 From: torsten Date: Thu, 20 Aug 2009 11:02:42 +0000 Subject: [PATCH] warning fix: unused variable --- simgear/scene/sky/cloud.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/scene/sky/cloud.cxx b/simgear/scene/sky/cloud.cxx index 3420b80b..50376314 100644 --- a/simgear/scene/sky/cloud.cxx +++ b/simgear/scene/sky/cloud.cxx @@ -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; -- 2.39.5