diff options
-rw-r--r-- | libgps_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libgps_core.c b/libgps_core.c index d0a65f56..dbff7325 100644 --- a/libgps_core.c +++ b/libgps_core.c @@ -533,7 +533,6 @@ int gps_read(/*@out@*/struct gps_data_t *gpsdata) /* wait for and read data being streamed from the daemon */ { char *eol; - double received = 0; ssize_t response_length; int status = -1; @@ -594,7 +593,7 @@ int gps_read(/*@out@*/struct gps_data_t *gpsdata) assert(eol != NULL); *eol = '\0'; response_length = eol - PRIVATE(gpsdata)->buffer + 1; - received = gpsdata->online = timestamp(); + gpsdata->online = timestamp(); status = gps_unpack(PRIVATE(gpsdata)->buffer, gpsdata); /*@+matchanyintegral@*/ memmove(PRIVATE(gpsdata)->buffer, |