diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-02-16 08:31:20 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-02-16 08:31:20 -0500 |
commit | a425161cab6a09d9850305f6fecd520f0d260b2b (patch) | |
tree | b9a4d048fdd24b65167889c7b5297355e14bf683 /cgps.c | |
parent | a4a18f041b753a41409cfd37967e484747e8e324 (diff) | |
download | gpsd-a425161cab6a09d9850305f6fecd520f0d260b2b.tar.gz |
Splint cleanup. All regression tests pass.
Diffstat (limited to 'cgps.c')
-rw-r--r-- | cgps.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -736,6 +736,7 @@ int main(int argc, char *argv[]) struct timeval timeout; fd_set rfds; int data; + unsigned int flags = WATCH_ENABLE; /*@ -observertrans @*/ switch (gpsd_units()) { @@ -854,7 +855,6 @@ int main(int argc, char *argv[]) status_timer = time(NULL); - unsigned int flags = WATCH_ENABLE; if (source.device != NULL) flags |= WATCH_DEVICE; (void)gps_stream(&gpsdata, flags, source.device); |