diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-09-09 07:58:01 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-09-09 07:58:01 +0000 |
commit | 09f1d5cf1046962c85eeddf97f21ca03eadd95a0 (patch) | |
tree | 38b7d3c780d84c958894ef0dc70603b464f077b5 /gpsd.c | |
parent | 949464a1664edee7aebf31818a017abc216a8d9c (diff) | |
download | gpsd-09f1d5cf1046962c85eeddf97f21ca03eadd95a0.tar.gz |
The big dead-storage elimination: we get rid of the newdata member.
All regression tests pass.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1565,7 +1565,7 @@ int main(int argc, char *argv[]) gps_clear_fix(&sub->fixbuffer); gps_merge_fix(&sub->fixbuffer, changed, - &sub->device->gpsdata.newdata); + &sub->device->gpsdata.fix); gpsd_error_model(sub->device, &sub->fixbuffer, &sub->oldfix); } |