summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-06-17 04:38:12 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-06-17 04:38:12 -0400
commit607cdcca3ec69f74245b06cbb147e2435360d190 (patch)
tree766be1d9c7d14055ec58a45e79de9bc49bd04915 /gpsd.c
parentfd954cbf588c9a99ad21be16ca80739f58ba465b (diff)
downloadgpsd-607cdcca3ec69f74245b06cbb147e2435360d190.tar.gz
Elimination of gpsd_hexdump_level.
The few gpsd_hexdump() calls left have explicit guards.
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gpsd.c b/gpsd.c
index f25eecec..730008a9 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -1761,13 +1761,11 @@ int main(int argc, char *argv[])
(void)setlocale(LC_NUMERIC, "C");
context.debug = 0;
- gpsd_hexdump_level = 0;
gps_context_init(&context);
while ((option = getopt(argc, argv, "F:D:S:bGhlNnP:V")) != -1) {
switch (option) {
case 'D':
context.debug = (int)strtol(optarg, 0, 0);
- gpsd_hexdump_level = context.debug;
#ifdef CLIENTDEBUG_ENABLE
gps_enable_debug(context.debug, stderr);
#endif /* CLIENTDEBUG_ENABLE */