mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-13 19:50:34 +00:00
Fix some warnings, make code more readable
This commit is contained in:
parent
a5bfa2a938
commit
319eff0e52
@ -355,7 +355,8 @@ void readsp3(const char *file, nav_t *nav, int opt)
|
||||
*-----------------------------------------------------------------------------*/
|
||||
int readsap(const char *file, gtime_t time, nav_t *nav)
|
||||
{
|
||||
pcvs_t pcvs = {0, 0};
|
||||
pcv_t aux = { 0, {}, {}, {0,0}, {0,0}, {{},{}}, {{},{}} };
|
||||
pcvs_t pcvs = {0, 0, &aux };
|
||||
pcv_t pcv0 = { 0, {}, {}, {0,0}, {0,0}, {{},{}}, {{},{}} }, *pcv;
|
||||
int i;
|
||||
|
||||
|
@ -882,7 +882,7 @@ void udbias(rtk_t *rtk, double tt, const obsd_t *obs, const int *sat,
|
||||
void udstate(rtk_t *rtk, const obsd_t *obs, const int *sat,
|
||||
const int *iu, const int *ir, int ns, const nav_t *nav)
|
||||
{
|
||||
double tt=fabs(rtk->tt),bl,dr[3];
|
||||
double tt = fabs(rtk->tt), bl = 0.0, dr[3];
|
||||
|
||||
trace(3, "udstate : ns=%d\n", ns);
|
||||
|
||||
@ -1933,7 +1933,7 @@ int ddmat(rtk_t *rtk, double *D)
|
||||
{
|
||||
sol_t sol0 = { {0, 0}, {}, {}, {}, '0', '0', '0', 0.0, 0.0, 0.0};
|
||||
ambc_t ambc0 = {{ {0, 0}, {0, 0}, {0, 0}, {0, 0} }, {}, {}, {} , 0, {}};
|
||||
ssat_t ssat0={0, 0, 0, 0.0};
|
||||
ssat_t ssat0 = {0, 0, {0.0}, {0.0}, {0.0}, {'0'}, {'0'}, {'0'}, {'0'}, {'0'}, {}, {}, {}, {}, 0.0, 0.0, 0.0, 0.0, {{0,0},{0,0}}, {{},{}}};
|
||||
int i;
|
||||
|
||||
trace(3, "rtkinit :\n");
|
||||
|
Loading…
Reference in New Issue
Block a user