summaryrefslogtreecommitdiff
path: root/gpxlogger.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-05 18:56:24 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-05 18:56:24 -0500
commit209144664fa758bc27f334a32b76fab9813c6f97 (patch)
tree2a6b405315d4ac7498a8a698ad4330cb06cf90cc /gpxlogger.c
parent326523756d2e93cec14d536d3860b4fa48fa10f7 (diff)
downloadgpsd-209144664fa758bc27f334a32b76fab9813c6f97.tar.gz
Partial splint cleanup. All regression tests pass. PPS is live.
Diffstat (limited to 'gpxlogger.c')
-rw-r--r--gpxlogger.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpxlogger.c b/gpxlogger.c
index b4875d5a..b8829644 100644
--- a/gpxlogger.c
+++ b/gpxlogger.c
@@ -298,9 +298,11 @@ int main(int argc, char **argv)
source.port = NULL;
source.device = NULL;
} else {
+ /*@-statictrans -observertrans@*/
source.server = (char *)"localhost";
source.port = (char *)DEFAULT_GPSD_PORT;
source.device = NULL;
+ /*@+statictrans +observertrans@*/
}
if (optind < argc) {