diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-05-09 20:39:08 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-05-09 20:39:08 -0400 |
commit | dbf6d322945e68fce36afd6dba75ab56d60b0c86 (patch) | |
tree | 265e06731212d3070128ffb214baf1a54bf48203 /driver_geostar.c | |
parent | 398094402837f5deb31bd8e479fc04c5f27c1edf (diff) | |
download | gpsd-dbf6d322945e68fce36afd6dba75ab56d60b0c86.tar.gz |
More coverity-inspired fixes.
All regression tests pass ans soint runs clean.
Diffstat (limited to 'driver_geostar.c')
-rw-r--r-- | driver_geostar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_geostar.c b/driver_geostar.c index a0bfeb83..d0ac4b57 100644 --- a/driver_geostar.c +++ b/driver_geostar.c @@ -466,7 +466,7 @@ static void geostar_event_hook(struct gps_device_t *session, event_t event) return; /*@-shiftimplementation +ignoresigns@*/ - if (event == event_identified && event == event_reactivate) { + if (event == event_identified || event == event_reactivate) { /* Select binary packets */ putbe32(buf, 0, 0xffff0000); putbe32(buf, 4, 0); |