summaryrefslogtreecommitdiff
path: root/gpspipe.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-05-12 17:44:33 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-05-12 17:44:33 -0400
commitda97acfbb719261db3cf711799663d540d5a03cd (patch)
tree9c816119af1e7f943a85126a93b0fb017715d79f /gpspipe.c
parent887bdaa6586e933024d5f38881fae5003ad04dd3 (diff)
downloadgpsd-da97acfbb719261db3cf711799663d540d5a03cd.tar.gz
splint cleanup.
Diffstat (limited to 'gpspipe.c')
-rw-r--r--gpspipe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpspipe.c b/gpspipe.c
index 7a1dd2ba..1e0a5c54 100644
--- a/gpspipe.c
+++ b/gpspipe.c
@@ -177,6 +177,7 @@ int main(int argc, char **argv)
char *serialport = NULL;
char *outfile = NULL;
+ /*@-branchstate@*/
flags = WATCH_ENABLE;
while ((option = getopt(argc, argv, "?dD:lhrRwtT:vVn:s:o:")) != -1) {
switch (option) {
@@ -238,6 +239,7 @@ int main(int argc, char **argv)
exit(1);
}
}
+ /*@+branchstate@*/
/* Grok the server, port, and device. */
if (optind < argc) {