Suppress Uninitialized Warning

This commit is contained in:
Shigeru KANEMOTO 2015-08-21 21:07:07 +09:00
parent eb8b177f56
commit d61b472387

View File

@ -498,6 +498,7 @@ void satpos(ephem_t eph, gpstime_t g, double *pos, double *vel, double *clk)
ek = mk;
ekold = ek + 1.0;
OneMinusecosE = 0; // Suppress the uninitialized warning.
while(fabs(ek-ekold)>1.0E-14)
{
ekold = ek;