summaryrefslogtreecommitdiff
path: root/garmin.c
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2006-10-30 06:14:32 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2006-10-30 06:14:32 +0000
commit19cc0fdd0d87236ac6afa0a22cb13ceb203da325 (patch)
tree3b1ab8fce85dced6b20734edda6ab03608dbb30d /garmin.c
parent3fc121eaec120037eff9c156bb82fe37b5307732 (diff)
downloadgpsd-19cc0fdd0d87236ac6afa0a22cb13ceb203da325.tar.gz
unused variable compiler warning
Diffstat (limited to 'garmin.c')
-rw-r--r--garmin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/garmin.c b/garmin.c
index dc5548df..315bd402 100644
--- a/garmin.c
+++ b/garmin.c
@@ -633,7 +633,7 @@ static void Build_Send_USB_Packet( struct gps_device_t *session,
/* build and send a packet in serial protocol */
/* layer_id unused */
static void Build_Send_SER_Packet( struct gps_device_t *session,
- uint32_t layer_id, uint32_t pkt_id, uint32_t length, uint32_t data )
+ uint32_t layer_id UNUSED, uint32_t pkt_id, uint32_t length, uint32_t data )
{
uint8_t *buffer = (uint8_t *)session->driver.garmin.Buffer;
Packet_t *thePacket = (Packet_t*)buffer;