diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-05-26 18:15:13 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-05-26 18:15:13 +0000 |
commit | 75cd79019c3f262746f8d7ca102e33495e0a6af5 (patch) | |
tree | 1cfdb9550d605839f09c9d5f5a27cdbfa2f6b180 /serial.c | |
parent | 5e380a5c01662426e45034848dc1443571783585 (diff) | |
download | gpsd-75cd79019c3f262746f8d7ca102e33495e0a6af5.tar.gz |
Make a start at cleaning up splint warnings.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -178,6 +178,6 @@ void gpsd_close(struct gps_device_t *session) /* this is the clean way to do it */ session->ttyset_old.c_cflag |= HUPCL; tcsetattr(session->gpsdata.gps_fd,TCSANOW,&session->ttyset_old); - close(session->gpsdata.gps_fd); + (void)close(session->gpsdata.gps_fd); } } |