Merge pull request #74 from sa0mad/fix-uninitiated-warnings

Fixed uninitiated warnings
This commit is contained in:
OSQZSS 2017-06-10 11:51:34 +09:00 committed by GitHub
commit b253971a3e

View File

@ -1943,6 +1943,14 @@ int main(int argc, char *argv[])
} }
} }
gmax.sec = 0;
gmax.week = 0;
tmax.sec = 0;
tmax.mm = 0;
tmax.hh = 0;
tmax.d = 0;
tmax.m = 0;
tmax.y = 0;
for (sv=0; sv<MAX_SAT; sv++) for (sv=0; sv<MAX_SAT; sv++)
{ {
if (eph[neph-1][sv].vflg == 1) if (eph[neph-1][sv].vflg == 1)