summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-05-26 18:15:13 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-05-26 18:15:13 +0000
commit75cd79019c3f262746f8d7ca102e33495e0a6af5 (patch)
tree1cfdb9550d605839f09c9d5f5a27cdbfa2f6b180 /serial.c
parent5e380a5c01662426e45034848dc1443571783585 (diff)
downloadgpsd-75cd79019c3f262746f8d7ca102e33495e0a6af5.tar.gz
Make a start at cleaning up splint warnings.
Diffstat (limited to 'serial.c')
-rw-r--r--serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial.c b/serial.c
index 2493a547..d3066bf1 100644
--- a/serial.c
+++ b/serial.c
@@ -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);
}
}