mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-09-10 14:56:03 +00:00
Fix more warnings in gcc
This commit is contained in:
@@ -115,7 +115,7 @@ void updatesvr(rtksvr_t *svr, int ret, obs_t *obs, nav_t *nav, int sat,
|
|||||||
{
|
{
|
||||||
eph_t *eph1, *eph2, *eph3;
|
eph_t *eph1, *eph2, *eph3;
|
||||||
geph_t *geph1, *geph2, *geph3;
|
geph_t *geph1, *geph2, *geph3;
|
||||||
gtime_t tof;
|
// gtime_t tof;
|
||||||
double pos[3], del[3] = {0}, dr[3];
|
double pos[3], del[3] = {0}, dr[3];
|
||||||
int i, n = 0, prn, sbssat = svr->rtk.opt.sbassatsel, sys, iode;
|
int i, n = 0, prn, sbssat = svr->rtk.opt.sbassatsel, sys, iode;
|
||||||
|
|
||||||
@@ -548,11 +548,11 @@ void *rtksvrthread(void *arg)
|
|||||||
*-----------------------------------------------------------------------------*/
|
*-----------------------------------------------------------------------------*/
|
||||||
int rtksvrinit(rtksvr_t *svr)
|
int rtksvrinit(rtksvr_t *svr)
|
||||||
{
|
{
|
||||||
gtime_t time0 = {0};
|
gtime_t time0 = {0, 0.0};
|
||||||
sol_t sol0 = {{0}};
|
sol_t sol0 = {{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, 0 };
|
||||||
eph_t eph0 = {0, -1, -1};
|
eph_t eph0 = {0, -1, -1, 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.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, 0.0, 0.0, {0.0}, 0.0, 0.0};
|
||||||
geph_t geph0 = {0, -1};
|
geph_t geph0 = {0, -1, 0, 0, 0, 0, {0,0.0}, {0,0.0}, {0.0}, {0.0}, {0.0}, 0.0, 0.0, 0.0};
|
||||||
seph_t seph0 = {0};
|
seph_t seph0 = {0, {0,0.0}, {0,0.0}, 0, 0, {0.0}, {0.0}, {0.0}, 0.0, 0.0};
|
||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
tracet(3, "rtksvrinit:\n");
|
tracet(3, "rtksvrinit:\n");
|
||||||
@@ -689,7 +689,7 @@ int rtksvrstart(rtksvr_t *svr, int cycle, int buffsize, int *strs,
|
|||||||
const double *nmeapos, prcopt_t *prcopt,
|
const double *nmeapos, prcopt_t *prcopt,
|
||||||
solopt_t *solopt, stream_t *moni)
|
solopt_t *solopt, stream_t *moni)
|
||||||
{
|
{
|
||||||
gtime_t time, time0 = {0};
|
gtime_t time, time0 = {0, 0.0};
|
||||||
int i, j, rw;
|
int i, j, rw;
|
||||||
|
|
||||||
tracet(3, "rtksvrstart: cycle=%d buffsize=%d navsel=%d nmeacycle=%d nmeareq=%d\n",
|
tracet(3, "rtksvrstart: cycle=%d buffsize=%d navsel=%d nmeacycle=%d nmeareq=%d\n",
|
||||||
|
Reference in New Issue
Block a user