From 952e2e6631f08799347abec3112c9f5222f42c14 Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 17 Oct 2013 20:05:16 +0100 Subject: [PATCH] Fix unused-var warnings from Clang. --- simgear/environment/precipitation.hxx | 1 - simgear/scene/sky/sky.hxx | 1 - simgear/timing/sg_time.cxx | 1 - 3 files changed, 3 deletions(-) diff --git a/simgear/environment/precipitation.hxx b/simgear/environment/precipitation.hxx index 8552647e..363137e9 100644 --- a/simgear/environment/precipitation.hxx +++ b/simgear/environment/precipitation.hxx @@ -42,7 +42,6 @@ private: float _rain_intensity; float _clip_distance; - int _wind_dir; osg::Vec3 _wind_vec; osg::ref_ptr _precipitationEffect; diff --git a/simgear/scene/sky/sky.hxx b/simgear/scene/sky/sky.hxx index cc9c191e..df325884 100644 --- a/simgear/scene/sky/sky.hxx +++ b/simgear/scene/sky/sky.hxx @@ -237,7 +237,6 @@ private: float minimum_sky_visibility; int in_cloud; - int cur_layer_pos; // near cloud visibility state variables bool in_puff; diff --git a/simgear/timing/sg_time.cxx b/simgear/timing/sg_time.cxx index bd50f95e..105e7c5b 100644 --- a/simgear/timing/sg_time.cxx +++ b/simgear/timing/sg_time.cxx @@ -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); -- 2.39.5