diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-09 18:13:24 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-09 18:13:24 -0500 |
commit | 2c9e5b2eb52fb2d6eee3f8fc50ee916e68ee017a (patch) | |
tree | 319097a2c8197088687bd9a8000863c20b011239 /serial.c | |
parent | 5242310d708875cba0d3042917a0c68ee6d267e7 (diff) | |
download | gpsd-2c9e5b2eb52fb2d6eee3f8fc50ee916e68ee017a.tar.gz |
splint cleanup. All regressiion tests pass.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |