summaryrefslogtreecommitdiff
path: root/driver_zodiac.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_zodiac.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_zodiac.c')
-rw-r--r--driver_zodiac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_zodiac.c b/driver_zodiac.c
index fb40381d..96900a34 100644
--- a/driver_zodiac.c
+++ b/driver_zodiac.c
@@ -466,7 +466,7 @@ static bool zodiac_speed_switch(struct gps_device_t *session,
#endif /* ALLOW_RECONFIGURE */
#ifdef NTPSHM_ENABLE
-static double zodiac_ntp_offset(struct gps_device_t *session)
+static double zodiac_ntp_offset(struct gps_device_t *session UNUSED)
{
/* Removing/changing the magic number below is likely to disturb
* the handling of the 1pps signal from the gps device. The regression