summaryrefslogtreecommitdiff
path: root/libgps_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-09-21 02:25:10 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-09-21 02:25:10 -0400
commit9f50e48880b4f4ff974c88b851796e2afb23400e (patch)
treeb2d77a5cb3de4e990dcd0f985dbbeda250086bdd /libgps_core.c
parent5a7ae949353f394ff16762460b951953d0eee4d5 (diff)
downloadgpsd-9f50e48880b4f4ff974c88b851796e2afb23400e.tar.gz
Restore some accidentally omitted code.
Diffstat (limited to 'libgps_core.c')
-rw-r--r--libgps_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgps_core.c b/libgps_core.c
index 1c8aea9a..b318790a 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -336,7 +336,7 @@ void libgps_dump_state(struct gps_data_t *collect)
for (i = 0; i < collect->satellites_visible; i++) {
bool used_in_solution = false;
int j;
- for (j = 0; j < ; j++)
+ for (j = 0; j < MAXCHANNELS; j++)
if (collect->used == i)
used_in_solution = true;
(void)fprintf(debugfp, " %2.2d: %2.2d %3.3d %3.0f %c\n",