diff --git a/gpssim.c b/gpssim.c index 4473be2..be7132e 100644 --- a/gpssim.c +++ b/gpssim.c @@ -1558,7 +1558,6 @@ int main(int argc, char *argv[]) double llh[3]; int i; - int nsat; channel_t chan[MAX_CHAN]; double elvmask = 0.0; // in degree @@ -1903,7 +1902,7 @@ int main(int argc, char *argv[]) grx = g0; // Allocate visible satellites - nsat = allocateChannel(chan, eph[ieph], grx, xyz[0], elvmask); + allocateChannel(chan, eph[ieph], grx, xyz[0], elvmask); for(i=0; i