diff options
author | Jon Schlueter <jon.schlueter@gmail.com> | 2011-03-22 06:49:24 -0400 |
---|---|---|
committer | Jon Schlueter <jon.schlueter@gmail.com> | 2011-03-22 06:51:29 -0400 |
commit | d15f8580b956fb2f2dc05603a04e6e513eaf7751 (patch) | |
tree | e256a55d0385e5a5783db0ddf0ec2c750d34ef46 /libgps_core.c | |
parent | 32db0956b592a20d377055a8aa1aea09767d9815 (diff) | |
download | gpsd-d15f8580b956fb2f2dc05603a04e6e513eaf7751.tar.gz |
remove unused variable (received) in gps_read
Diffstat (limited to 'libgps_core.c')
-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, |