1
0
Fork 0

Fix "use of uninitialized data" reported by valgrind.

(also pushed to JSBSIM cvs)
This commit is contained in:
ThorstenB 2012-03-26 21:03:05 +02:00
parent c14343d02b
commit cabb17818f

View file

@ -85,6 +85,7 @@ FGLocation::FGLocation(void)
FGLocation::FGLocation(double lon, double lat, double radius)
{
mCacheValid = false;
a = b = a2 = b2 = 0.0;
e = e2 = f = 1.0;