diff options
author | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-02-18 09:07:46 -0500 |
---|---|---|
committer | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-02-23 07:30:39 -0500 |
commit | 95579bce63e48f7011c89b6228b411bb10b63ca1 (patch) | |
tree | 6cf9e2bdfbb8436fcbba4c31481ce8288638d686 /driver_nmea2000.c | |
parent | 8b3caf26855ef67864161b02dc7d9864aef63038 (diff) | |
download | gpsd-95579bce63e48f7011c89b6228b411bb10b63ca1.tar.gz |
warning hunting of unused parameters in driver_nmea2000.c
add dummy usage of parameters if function is conditionally compiled out
Diffstat (limited to 'driver_nmea2000.c')
-rw-r--r-- | driver_nmea2000.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/driver_nmea2000.c b/driver_nmea2000.c index 1a4e0741..0f8e6c2e 100644 --- a/driver_nmea2000.c +++ b/driver_nmea2000.c @@ -97,6 +97,11 @@ static void print_data(struct gps_context_t *context, gpsd_report(&context->errout, LOG_IO,"%s\n", bu); } /*@+bufferoverflowhigh@*/ +#else + (void)context; + (void)buffer; + (void)len; + (void)pgn; #endif } |