summaryrefslogtreecommitdiff
path: root/driver_sirf.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-09-16 04:10:59 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-09-16 04:10:59 -0400
commit5d9055b96090305a877e892cafb56f497374d519 (patch)
tree0e012ec033c59520f853f58da9bf1563b7d956aa /driver_sirf.c
parent736c962e780113fffca025079482f711fb445aad (diff)
downloadgpsd-5d9055b96090305a877e892cafb56f497374d519.tar.gz
Enable much stricter compilation warnings
We now compile with -Wextra on and only the warning on missing fields in initializers turned off (because of the way some of thee JSON code is generated). Cleanups necessary to eliminate all warnings have been done. All regression tests pass.
Diffstat (limited to 'driver_sirf.c')
-rw-r--r--driver_sirf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/driver_sirf.c b/driver_sirf.c
index 9582e7dc..d6f61eef 100644
--- a/driver_sirf.c
+++ b/driver_sirf.c
@@ -372,8 +372,8 @@ static gps_mask_t sirf_msg_errors(unsigned char *buf, size_t len UNUSED)
}
/* Navigation Library Measurement Data MID 28 */
-static gps_mask_t sirf_msg_nlmd(struct gps_device_t *session,
- unsigned char *buf, size_t len)
+static gps_mask_t sirf_msg_nlmd(struct gps_device_t *session UNUSED,
+ unsigned char *buf UNUSED, size_t len)
{
double gps_tow = 0.0;
@@ -383,7 +383,7 @@ static gps_mask_t sirf_msg_nlmd(struct gps_device_t *session,
/* oh barf, SiRF claims to be IEEE754 but supports two
* different double orders, neither IEEE754 */
- /* Todo - decode the time, since this is the first MID with a
+ /* FIXME - decode the time, since this is the first MID with a
* good time stamp this will be good for ntpshm time */
gpsd_report(LOG_PROG, "SiRF: MID 0x1c, NLMD, gps_tow: %f, %s\n",
(double)gps_tow, gpsd_hexdump_wrapper(&gps_tow, 8, LOG_PROG));