]> git.mxchange.org Git - flightgear.git/blobdiff - src/Time/sunsolver.cxx
Logging: less verbose panel loading.
[flightgear.git] / src / Time / sunsolver.cxx
index 2de1905a17abcbea21f637bba39aa658705210a1..504de90817387a90011ab97e38eb8fe1085790e9 100644 (file)
 #      include <config.h>
 #endif
 
-#ifdef SG_HAVE_STD_INCLUDES
-#  include <cmath>
-#  include <ctime>
-#else
-#  include <math.h>
-#  include <time.h>
-#endif
+#include <cmath>
+#include <ctime>
 
 #include <simgear/math/SGMath.hxx>
 #include <simgear/ephemeris/ephemeris.hxx>
@@ -62,7 +57,7 @@ void fgSunPositionGST(double gst, double *lon, double *lat) {
     double tmp;
 
     double beta = globals->get_ephem()->get_sun()->getLat();
-    double r = globals->get_ephem()->get_sun()->getDistance();
+    // double r = globals->get_ephem()->get_sun()->getDistance();
     double xs = globals->get_ephem()->get_sun()->getxs();
     double ys = globals->get_ephem()->get_sun()->getys();
     double ye = globals->get_ephem()->get_sun()->getye();