1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-29 02:14:51 +00:00

Remove more warnings

This commit is contained in:
Carles Fernandez 2017-04-23 01:04:48 +02:00
parent 7a1097a12d
commit c28a9c5711
6 changed files with 7 additions and 7 deletions

View File

@ -105,9 +105,9 @@ const unsigned int TIMES_GPST = 0; //!< time system: gps time
const unsigned int TIMES_UTC = 1; //!< time system: utc
const unsigned int TIMES_JST = 2; //!< time system: jst
const unsigned int MAXFREQ = 7; //!< max NFREQ
const int MAXFREQ = 7; //!< max NFREQ
const unsigned int MAXLEAPS = 64; //!< max number of leap seconds table
const int MAXLEAPS = 64; //!< max number of leap seconds table
const double DTTOL = 0.005; //!< tolerance of time difference (s)
const int NFREQ = 3;

View File

@ -80,7 +80,7 @@ const double MAXAGESSR = 90.0; /* max age of ssr orbit and clock (s)
const double MAXAGESSR_HRCLK = 10.0; /* max age of ssr high-rate clock (s) */
const double STD_BRDCCLK = 30.0; /* error of broadcast clock (m) */
const unsigned int MAX_ITER_KEPLER = 30; /* max number of iteration of Kelpler */
const int MAX_ITER_KEPLER = 30; /* max number of iteration of Kelpler */
/* variance by ura ephemeris (ref [1] 20.3.3.3.1.1) --------------------------*/

View File

@ -614,7 +614,7 @@ int resdop(const obsd_t *obs, int n, const double *rs, const double *dts,
/* estimate receiver velocity ------------------------------------------------*/
void estvel(const obsd_t *obs, int n, const double *rs, const double *dts,
const nav_t *nav, const prcopt_t *opt, sol_t *sol,
const nav_t *nav, const prcopt_t *opt __attribute__((unused)), sol_t *sol,
const double *azel, const int *vsat)
{
double x[4] = {0}, dx[4], Q[16], *v, *H;

View File

@ -144,7 +144,7 @@ int addpeph(nav_t *nav, peph_t *peph)
/* read sp3 body -------------------------------------------------------------*/
void readsp3b(FILE *fp, char type, int *sats, int ns, double *bfact,
void readsp3b(FILE *fp, char type, int *sats __attribute__((unused)), int ns, double *bfact,
char *tsys, int index, int opt, nav_t *nav)
{
peph_t peph;

View File

@ -3550,7 +3550,7 @@ double ionppp(const double *pos, const double *azel, double re,
* double humi I relative humidity
* return : tropospheric delay (m)
*-----------------------------------------------------------------------------*/
double tropmodel(gtime_t time, const double *pos, const double *azel,
double tropmodel(gtime_t time __attribute__((unused)), const double *pos, const double *azel,
double humi)
{
const double temp0 = 15.0; /* temparature at sea level */

View File

@ -647,7 +647,7 @@ void sbsoutmsg(FILE *fp, sbsmsg_t *sbsmsg)
/* search igps ---------------------------------------------------------------*/
void searchigp(gtime_t time, const double *pos, const sbsion_t *ion,
void searchigp(gtime_t time __attribute__((unused)), const double *pos, const sbsion_t *ion,
const sbsigp_t **igp, double *x, double *y)
{
int i,latp[2],lonp[4];