Suppress Uninitialized Warning
This commit is contained in:
parent
eb8b177f56
commit
d61b472387
1
gpssim.c
1
gpssim.c
@ -498,6 +498,7 @@ void satpos(ephem_t eph, gpstime_t g, double *pos, double *vel, double *clk)
|
|||||||
ek = mk;
|
ek = mk;
|
||||||
ekold = ek + 1.0;
|
ekold = ek + 1.0;
|
||||||
|
|
||||||
|
OneMinusecosE = 0; // Suppress the uninitialized warning.
|
||||||
while(fabs(ek-ekold)>1.0E-14)
|
while(fabs(ek-ekold)>1.0E-14)
|
||||||
{
|
{
|
||||||
ekold = ek;
|
ekold = ek;
|
||||||
|
Loading…
Reference in New Issue
Block a user