summaryrefslogtreecommitdiff
path: root/driver_tsip.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_tsip.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_tsip.c')
-rw-r--r--driver_tsip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_tsip.c b/driver_tsip.c
index 648b5f0f..fd1ef316 100644
--- a/driver_tsip.c
+++ b/driver_tsip.c
@@ -1145,7 +1145,7 @@ static void tsip_mode(struct gps_device_t *session, int mode)
#endif /* ALLOW_RECONFIGURE */
#ifdef NTPSHM_ENABLE
-static double tsip_ntp_offset(struct gps_device_t *session)
+static double tsip_ntp_offset(struct gps_device_t *session UNUSED)
{
/* FIX-ME: is a constant offset right here? */
return 0.075;