From: James Turner Date: Thu, 17 Oct 2013 19:05:16 +0000 (+0100) Subject: Fix unused-var warnings from Clang. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=952e2e6631f08799347abec3112c9f5222f42c14;p=simgear.git Fix unused-var warnings from Clang. --- 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);