Fix "use of uninitialized data" reported by valgrind.
(also pushed to JSBSIM cvs)
This commit is contained in:
parent
c14343d02b
commit
cabb17818f
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue