]> git.mxchange.org Git - simgear.git/commitdiff
Fix unused-var warnings from Clang.
authorJames Turner <zakalawe@mac.com>
Thu, 17 Oct 2013 19:05:16 +0000 (20:05 +0100)
committerJames Turner <zakalawe@mac.com>
Thu, 17 Oct 2013 19:13:49 +0000 (20:13 +0100)
simgear/environment/precipitation.hxx
simgear/scene/sky/sky.hxx
simgear/timing/sg_time.cxx

index 8552647e15bf63cedad10e7d490bc571016645d3..363137e9cf062359595e219fdd3d922e0516935d 100644 (file)
@@ -42,7 +42,6 @@ private:
     float _rain_intensity;
     float _clip_distance;
        
-    int _wind_dir;
     osg::Vec3 _wind_vec;
        
     osg::ref_ptr<osgParticle::PrecipitationEffect> _precipitationEffect;
index cc9c191e70769f33ef671e0acf5b98e3a92ecd64..df325884f7dd003cfbebfd6bdb7f682ce4658ec9 100644 (file)
@@ -237,7 +237,6 @@ private:
     float minimum_sky_visibility;
 
     int in_cloud;
-    int cur_layer_pos;
 
     // near cloud visibility state variables
     bool in_puff;
index bd50f95eadec605ba6e773b3634655ccdf9b0c52..105e7c5b479286f7917465404aed271c6c6b1a9a 100644 (file)
@@ -151,7 +151,6 @@ static double sidereal_course( time_t cur_time, const struct tm *gmt, double lng
 {
     time_t start_gmt, now;
     double diff, part, days, hours, lstTmp;
-    char tbuf[64];
   
     now = cur_time;
     start_gmt = sgTimeGetGMT(gmt->tm_year, 2, 21, 12, 0, 0);