diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-09-29 14:33:11 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-09-29 14:33:11 -0400 |
commit | 3c77874367f3b44fb4030df62c7bb5e128a19dcf (patch) | |
tree | 834ed58ceb9fc7beace857f122464d9c963a7741 /ntpshm.c | |
parent | 9cfee07284fa5fafe6d19b87d9d053f9d2cac2ac (diff) | |
download | gpsd-3c77874367f3b44fb4030df62c7bb5e128a19dcf.tar.gz |
splint and cppcheck cleanup. All regression tests pass.
Diffstat (limited to 'ntpshm.c')
-rw-r--r-- | ntpshm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -588,10 +588,12 @@ static /*@null@*/ void *gpsd_ppsmonitor(void *arg) "PPS Create Thread gpsd_ppsmonitor\n"); /* wait for the device to go active - makes this safe to call early */ + /*@-infloops@*/ while (BAD_SOCKET(session->gpsdata.gps_fd)) { /* gpsd_report(session->context->debug, LOG_PROG, "PPS thread awaiting device activation\n"); */ (void)sleep(1); } + /*@+infloops@*/ /* Activates PPS support for RS-232 or USB devices only. */ if (!(session->sourcetype == source_rs232 || session->sourcetype == source_usb)) { |