summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-25 07:45:01 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-25 07:45:01 -0400
commit6f310500d6d026945b3072744c6bd0a7546ccb86 (patch)
tree28a280cfe2a61e0e35db148d4ceef3f24a86f2b7 /gpsmon.c
parentffb6b67608c216db349af87b855495244301319a (diff)
downloadgpsd-6f310500d6d026945b3072744c6bd0a7546ccb86.tar.gz
splint cleanup. All regression tests pass.
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpsmon.c b/gpsmon.c
index fb95dc9a..37d6b1aa 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -894,8 +894,10 @@ static bool do_command(const char *line)
* gpsmon resyncs. So stash the current type to
* be restored if we do 'n' from NMEA mode.
*/
+ /*@-onlytrans@*/
if (v == 0)
fallback = switcher;
+ /*@+onlytrans@*/
} else
complain
("Device type %s has no mode switcher",