From 5d9055b96090305a877e892cafb56f497374d519 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 16 Sep 2010 04:10:59 -0400 Subject: 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. --- driver_zodiac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'driver_zodiac.c') 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 -- cgit v1.2.1