summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-09-09 07:26:54 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-09-09 07:26:54 +0000
commitdefcb7181e09e4d8d3838af83413ca4f5cc9d6b6 (patch)
tree53e3222801de860e0c792318da9c429f40c92c96 /libgpsd_core.c
parentee7fd7f2436d4418aec6740f18927b231d8176a8 (diff)
downloadgpsd-defcb7181e09e4d8d3838af83413ca4f5cc9d6b6.tar.gz
Eliminate another sneak path that was carrying stale data between cycles.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index d71488bf..add81bd3 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -586,9 +586,6 @@ gps_mask_t gpsd_poll(struct gps_device_t *session)
else
received = 0; /* it was all done in the packet getter */
- /* Clear fix data at start of cycle */
- if ((received & CYCLE_START_SET)!=0)
- gpsd_clear_data(session);
/*
* Compute fix-quality data from the satellite positions.
* This may be overridden by DOPs reported from the packet we just got.