summaryrefslogtreecommitdiff
path: root/driver_ubx.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-27 07:15:54 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-27 07:15:54 -0500
commitec7e5895f9f8d49984ff31dcc248088bdcfd0696 (patch)
treee4b20b46916ca8801c2c471dfefabd8f2c9f8ea2 /driver_ubx.c
parent6b5e9b689223bc197386fcf97c55df417e8d25cc (diff)
downloadgpsd-ec7e5895f9f8d49984ff31dcc248088bdcfd0696.tar.gz
Silence compiler warning.
Diffstat (limited to 'driver_ubx.c')
-rw-r--r--driver_ubx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_ubx.c b/driver_ubx.c
index 7b4ee1ea..d75bbf83 100644
--- a/driver_ubx.c
+++ b/driver_ubx.c
@@ -166,7 +166,7 @@ ubx_msg_nav_sol(struct gps_device_t *session, unsigned char *buf,
*/
static gps_mask_t
ubx_msg_nav_posllh(struct gps_device_t *session, unsigned char *buf,
- size_t data_len)
+ size_t data_len UNUSED)
{
session->driver.ubx.last_herr = (double)(getleu32(buf, 20) / 1000.0);
session->driver.ubx.last_verr = (double)(getleu32(buf, 24) / 1000.0);