diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2014-08-27 21:28:54 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2014-08-27 21:28:54 -0400 |
commit | 3756d7a8103057b66d4ac2826535562494640a57 (patch) | |
tree | cb730426befccdfabd5732538412c243441f5306 /gpsctl.c | |
parent | 44c7e898076f407abed9342acf8005a318af2101 (diff) | |
download | gpsd-3756d7a8103057b66d4ac2826535562494640a57.tar.gz |
splint/cppcheck cleanuo after the gpsd_report change.
All regression tests pass.
Diffstat (limited to 'gpsctl.c')
-rw-r--r-- | gpsctl.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -304,8 +304,6 @@ int main(int argc, char **argv) } } - context.errout.label = "gpsctl"; - if (optind < argc) device = argv[optind]; @@ -568,7 +566,7 @@ int main(int argc, char **argv) } /*@ -mustfreeonly -immediatetrans @*/ - gps_context_init(&context); + gps_context_init(&context, "gpsctl"); context.errout.debug = debuglevel; session.context = &context; gpsd_tty_init(&session); @@ -604,7 +602,7 @@ int main(int argc, char **argv) */ /*@ -mustfreeonly -immediatetrans @*/ - gps_context_init(&context); + gps_context_init(&context, "gpsctl"); context.errout.debug = debuglevel; session.context = &context; /* in case gps_init isn't called */ |