summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-06 08:06:51 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-06 08:07:42 -0500
commitd93ba6e008cb6a7f75adf3d4c08876cf96fe95b0 (patch)
treedad294889820f98f7d7a9e50e0f9baac12796977 /libgpsd_core.c
parentf597416e78989e83b67608a4fb0542e2b33554d5 (diff)
downloadgpsd-d93ba6e008cb6a7f75adf3d4c08876cf96fe95b0.tar.gz
More cppcheck cleanup. All regression tests pass. PPS is live.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index 69d16199..25672125 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -711,21 +711,6 @@ static gps_mask_t fill_dop(const struct gps_data_t * gpsdata, struct dop_t * dop
memset(satpos, 0, sizeof(satpos));
-#ifdef __UNUSED__
- gpsd_report(session->context->debug, LOG_INF, "Satellite picture:\n");
- for (k = 0; k < MAXCHANNELS; k++) {
- bool used_in_solution = false;
- for (j = 0; j < ; j++)
- if (collect->used == i)
- used_in_solution = true;
- if (gpsdata->used[k])
- gpsd_report(session->context->debug, LOG_INF,
- "az: %d el: %d SV: %d\n",
- gpsdata->azimuth[k], gpsdata->elevation[k],
- used_in_solution);
- }
-#endif /* __UNUSED__ */
-
for (n = k = 0; k < gpsdata->satellites_used; k++) {
if (gpsdata->used[k] == 0)
continue;