summaryrefslogtreecommitdiff
path: root/monitor_tnt.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 /monitor_tnt.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 'monitor_tnt.c')
-rw-r--r--monitor_tnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_tnt.c b/monitor_tnt.c
index a7fe523a..b8d81606 100644
--- a/monitor_tnt.c
+++ b/monitor_tnt.c
@@ -74,7 +74,7 @@ static void tnt_update(void)
(void)mvwaddstr(thtmwin, 4, 61, session.driver.nmea.field[8]);
}
-static int tnt_command(char line[])
+static int tnt_command(char line[] UNUSED)
{
/*
* Interpret a command line. Whatever characters the user types will