1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-16 12:12:57 +00:00

Fix warnings with gcc

This commit is contained in:
Carles Fernandez 2017-04-25 19:04:03 +02:00
parent 883b4072c7
commit 0496e55073

View File

@ -1931,9 +1931,9 @@ int ddmat(rtk_t *rtk, double *D)
*-----------------------------------------------------------------------------*/ *-----------------------------------------------------------------------------*/
void rtkinit(rtk_t *rtk, const prcopt_t *opt) void rtkinit(rtk_t *rtk, const prcopt_t *opt)
{ {
sol_t sol0={{0}}; sol_t sol0={ {0, 0}, {}, {}, {}, '0', '0', '0', 0.0, 0.0, 0.0};
ambc_t ambc0={{{0}}}; ambc_t ambc0={{ {0,0}, {0, 0}, {0, 0}, {0, 0} }, {}, {}, {} , 0, {}};
ssat_t ssat0={0}; ssat_t ssat0={0, 0, 0, {}};
int i; int i;
trace(3,"rtkinit :\n"); trace(3,"rtkinit :\n");
@ -2036,7 +2036,7 @@ int ddmat(rtk_t *rtk, double *D)
int rtkpos(rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav) int rtkpos(rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav)
{ {
prcopt_t *opt=&rtk->opt; prcopt_t *opt=&rtk->opt;
sol_t solb={{0}}; sol_t solb={ {0, 0}, {}, {}, {}, '0', '0', '0', 0.0, 0.0, 0.0};
gtime_t time; gtime_t time;
int i,nu,nr; int i,nu,nr;
char msg[128]=""; char msg[128]="";