diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-06-17 04:38:12 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-06-17 04:38:12 -0400 |
commit | 607cdcca3ec69f74245b06cbb147e2435360d190 (patch) | |
tree | 766be1d9c7d14055ec58a45e79de9bc49bd04915 /gpsd.c | |
parent | fd954cbf588c9a99ad21be16ca80739f58ba465b (diff) | |
download | gpsd-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 */ |