summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-09 18:13:24 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-09 18:13:24 -0500
commit2c9e5b2eb52fb2d6eee3f8fc50ee916e68ee017a (patch)
tree319097a2c8197088687bd9a8000863c20b011239 /serial.c
parent5242310d708875cba0d3042917a0c68ee6d267e7 (diff)
downloadgpsd-2c9e5b2eb52fb2d6eee3f8fc50ee916e68ee017a.tar.gz
splint cleanup. All regressiion tests pass.
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 df8ab303..83cea6df 100644
--- a/serial.c
+++ b/serial.c
@@ -578,7 +578,7 @@ int gpsd_serial_open(struct gps_device_t *session)
{
int oldfl = fcntl(session->gpsdata.gps_fd, F_GETFL);
if (oldfl != -1)
- fcntl(session->gpsdata.gps_fd, F_SETFL, oldfl & ~O_NONBLOCK);
+ (void)fcntl(session->gpsdata.gps_fd, F_SETFL, oldfl & ~O_NONBLOCK);
}